1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2026-06-03 18:35:08 +02:00
Files
opentelemetry-go/schema
renovate[bot] 536750c0cb fix(deps): update module github.com/masterminds/semver/v3 to v3.5.0 (#8283)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[github.com/Masterminds/semver/v3](https://redirect.github.com/Masterminds/semver)
| `v3.4.0` → `v3.5.0` |
![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fMasterminds%2fsemver%2fv3/v3.5.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fMasterminds%2fsemver%2fv3/v3.4.0/v3.5.0?slim=true)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Release Notes

<details>
<summary>Masterminds/semver (github.com/Masterminds/semver/v3)</summary>

###
[`v3.5.0`](https://redirect.github.com/Masterminds/semver/releases/tag/v3.5.0)

[Compare
Source](https://redirect.github.com/Masterminds/semver/compare/v3.4.0...v3.5.0)

##### What's Changed

- Adding more prerelease tests by
[@&#8203;mattfarina](https://redirect.github.com/mattfarina) in
[#&#8203;273](https://redirect.github.com/Masterminds/semver/pull/273)
- Update constraint error messages by
[@&#8203;mattfarina](https://redirect.github.com/mattfarina) in
[#&#8203;278](https://redirect.github.com/Masterminds/semver/pull/278)
- Fix edge cases by
[@&#8203;mattfarina](https://redirect.github.com/mattfarina) in
[#&#8203;279](https://redirect.github.com/Masterminds/semver/pull/279)
- Adding some checks in by
[@&#8203;mattfarina](https://redirect.github.com/mattfarina) in
[#&#8203;280](https://redirect.github.com/Masterminds/semver/pull/280)
- Updating deps by
[@&#8203;mattfarina](https://redirect.github.com/mattfarina) in
[#&#8203;281](https://redirect.github.com/Masterminds/semver/pull/281)
- Bump github/codeql-action from 4.35.1 to 4.35.2 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;282](https://redirect.github.com/Masterminds/semver/pull/282)
- Bump actions/cache from 4.2.3 to 5.0.5 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;283](https://redirect.github.com/Masterminds/semver/pull/283)
- Bump golangci/golangci-lint-action from 7.0.1 to 9.2.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;284](https://redirect.github.com/Masterminds/semver/pull/284)
- Updating gitignore for devcontainers by
[@&#8203;mattfarina](https://redirect.github.com/mattfarina) in
[#&#8203;286](https://redirect.github.com/Masterminds/semver/pull/286)
- Fixing some quality issues by
[@&#8203;mattfarina](https://redirect.github.com/mattfarina) in
[#&#8203;287](https://redirect.github.com/Masterminds/semver/pull/287)

##### New Contributors

- [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot]
made their first contribution in
[#&#8203;282](https://redirect.github.com/Masterminds/semver/pull/282)

**Full Changelog**:
<https://github.com/Masterminds/semver/compare/v3.4.0...v3.5.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNTkuMiIsInVwZGF0ZWRJblZlciI6IjQzLjE1OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-30 16:36:23 -07:00
..
2025-07-29 10:19:11 +02:00

Telemetry Schema Files

The schema module contains packages that help to parse and validate schema files.

Each major.minor schema file format version is implemented as a separate package, with the name of the package in the vmajor.minor form.

To parse a schema file, first decide what file format version you want to parse, then import the corresponding package and use the Parse or ParseFile functions like this:

import schema "go.opentelemetry.io/otel/schema/v1.1"

// Load the schema from a file in v1.1.x file format.
func loadSchemaFromFile() error {
	telSchema, err := schema.ParseFile("schema-file.yaml")
	if err != nil {
		return err
	}
	// Use telSchema struct here.
}

// Alternatively use schema.Parse to read the schema file from io.Reader.
func loadSchemaFromReader(r io.Reader) error {
	telSchema, err := schema.Parse(r)
	if err != nil {
		return err
	}
	// Use telSchema struct here.
}