1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-26 21:05:00 +02:00
opentelemetry-go/schema
renovate[bot] 122e92658b
fix(deps): update module github.com/masterminds/semver/v3 to v3.3.0 (#5750)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/Masterminds/semver/v3](https://togithub.com/Masterminds/semver)
| `v3.2.1` -> `v3.3.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fMasterminds%2fsemver%2fv3/v3.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fMasterminds%2fsemver%2fv3/v3.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fMasterminds%2fsemver%2fv3/v3.2.1/v3.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fMasterminds%2fsemver%2fv3/v3.2.1/v3.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v3.3.0`](https://togithub.com/Masterminds/semver/releases/tag/v3.3.0)

[Compare
Source](https://togithub.com/Masterminds/semver/compare/v3.2.1...v3.3.0)

#### What's Changed

- Fix: bad package in README by
[@&#8203;sdelicata](https://togithub.com/sdelicata) in
[https://github.com/Masterminds/semver/pull/226](https://togithub.com/Masterminds/semver/pull/226)
- Updating the GitHub Actions and versions of Go used by
[@&#8203;mattfarina](https://togithub.com/mattfarina) in
[https://github.com/Masterminds/semver/pull/229](https://togithub.com/Masterminds/semver/pull/229)
- Fix spelling in README by
[@&#8203;robinschneider](https://togithub.com/robinschneider) in
[https://github.com/Masterminds/semver/pull/222](https://togithub.com/Masterminds/semver/pull/222)
- Adding go build cache to fuzz output by
[@&#8203;mattfarina](https://togithub.com/mattfarina) in
[https://github.com/Masterminds/semver/pull/232](https://togithub.com/Masterminds/semver/pull/232)
- Add caching to fuzz testing by
[@&#8203;mattfarina](https://togithub.com/mattfarina) in
[https://github.com/Masterminds/semver/pull/234](https://togithub.com/Masterminds/semver/pull/234)
- updating github actions by
[@&#8203;mattfarina](https://togithub.com/mattfarina) in
[https://github.com/Masterminds/semver/pull/235](https://togithub.com/Masterminds/semver/pull/235)
- feat: nil version equality by
[@&#8203;KnutZuidema](https://togithub.com/KnutZuidema) in
[https://github.com/Masterminds/semver/pull/213](https://togithub.com/Masterminds/semver/pull/213)
- add >= and <= by [@&#8203;grosser](https://togithub.com/grosser) in
[https://github.com/Masterminds/semver/pull/238](https://togithub.com/Masterminds/semver/pull/238)
- doc: hyphen range constraint without whitespace by
[@&#8203;johnnychen94](https://togithub.com/johnnychen94) in
[https://github.com/Masterminds/semver/pull/216](https://togithub.com/Masterminds/semver/pull/216)
- Removing reference to vert by
[@&#8203;mattfarina](https://togithub.com/mattfarina) in
[https://github.com/Masterminds/semver/pull/245](https://togithub.com/Masterminds/semver/pull/245)
- simplify StrictNewVersion by
[@&#8203;grosser](https://togithub.com/grosser) in
[https://github.com/Masterminds/semver/pull/241](https://togithub.com/Masterminds/semver/pull/241)
- Updating the testing version of Go used by
[@&#8203;mattfarina](https://togithub.com/mattfarina) in
[https://github.com/Masterminds/semver/pull/246](https://togithub.com/Masterminds/semver/pull/246)
- bumping min version in go.mod based on what's tested by
[@&#8203;mattfarina](https://togithub.com/mattfarina) in
[https://github.com/Masterminds/semver/pull/248](https://togithub.com/Masterminds/semver/pull/248)
- Updating changelog for 3.3.0 by
[@&#8203;mattfarina](https://togithub.com/mattfarina) in
[https://github.com/Masterminds/semver/pull/249](https://togithub.com/Masterminds/semver/pull/249)

#### New Contributors

- [@&#8203;sdelicata](https://togithub.com/sdelicata) made their first
contribution in
[https://github.com/Masterminds/semver/pull/226](https://togithub.com/Masterminds/semver/pull/226)
- [@&#8203;robinschneider](https://togithub.com/robinschneider) made
their first contribution in
[https://github.com/Masterminds/semver/pull/222](https://togithub.com/Masterminds/semver/pull/222)
- [@&#8203;KnutZuidema](https://togithub.com/KnutZuidema) made their
first contribution in
[https://github.com/Masterminds/semver/pull/213](https://togithub.com/Masterminds/semver/pull/213)
- [@&#8203;grosser](https://togithub.com/grosser) made their first
contribution in
[https://github.com/Masterminds/semver/pull/238](https://togithub.com/Masterminds/semver/pull/238)
- [@&#8203;johnnychen94](https://togithub.com/johnnychen94) made their
first contribution in
[https://github.com/Masterminds/semver/pull/216](https://togithub.com/Masterminds/semver/pull/216)

**Full Changelog**:
https://github.com/Masterminds/semver/compare/v3.2.1...v3.3.0

</details>

---

### Configuration

📅 **Schedule**: 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 this update
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:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguNTYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 16:46:51 -07:00
..
internal [chore] Simplify the license header (#4987) 2024-02-29 07:05:28 +01:00
v1.0 Add READMEs to every package (#5103) 2024-03-26 20:13:54 +01:00
v1.1 Add READMEs to every package (#5103) 2024-03-26 20:13:54 +01:00
go.mod fix(deps): update module github.com/masterminds/semver/v3 to v3.3.0 (#5750) 2024-08-28 16:46:51 -07:00
go.sum fix(deps): update module github.com/masterminds/semver/v3 to v3.3.0 (#5750) 2024-08-28 16:46:51 -07:00
README.md Introduce "split" metric schema transformation (#2999) 2022-07-25 08:30:23 -07: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.
}