From 8702797e934feef4956d59d6f54083f6c28b1a30 Mon Sep 17 00:00:00 2001 From: "Adam H. Leventhal" Date: Sat, 7 Nov 2026 10:43:18 -0800 Subject: [PATCH 1/2] release v1.0.0 --- CHANGELOG.md | 9 +++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 021a62e..b048042 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Next +## [1.0.0] - 2026-11-07 + +* Initial stable release + ## [0.0.1-alpha.3] - 2026-09-17 * Added the type `Never` to represent a value that can never be constructed. @@ -13,3 +17,8 @@ ## [0.0.1-alpha.1] - 2026-08-18 * Initial release + +[1.0.0]: https://github.com/oxidecomputer/json-serde/releases/v1.0.0 +[0.0.1-alpha.3]: https://github.com/oxidecomputer/json-serde/releases/v0.0.1-alpha.3 +[0.0.1-alpha.2]: https://github.com/oxidecomputer/json-serde/releases/v0.0.1-alpha.2 +[0.0.1-alpha.1]: https://github.com/oxidecomputer/json-serde/releases/v0.0.1-alpha.1 diff --git a/Cargo.lock b/Cargo.lock index 28b41aa..5c138e1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -16,7 +16,7 @@ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" [[package]] name = "json-serde" -version = "0.0.1-alpha.3" +version = "1.0.0" dependencies = [ "schemars 0.8.22", "schemars 1.2.2", diff --git a/Cargo.toml b/Cargo.toml index 6fdf4de..ffb4e67 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "json-serde" -version = "0.0.1-alpha.3" +version = "1.0.0" edition = "2024" rust-version = "1.97" license = "Apache-2.0" From 114b86cdf6ce73096a33e23cac32d8fcdd3255c7 Mon Sep 17 00:00:00 2001 From: "Adam H. Leventhal" Date: Sat, 7 Nov 2026 10:46:36 -0800 Subject: [PATCH 2/2] clean up CI --- .github/workflows/rust.yml | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 31add03..dd6ac0d 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -50,18 +50,39 @@ jobs: RUSTDOCFLAGS: -D warnings build-and-test: + # Name the leg for its role, not its version: a required status + # check is matched by job name, so a leg called "1.97" has to be + # reconfigured in branch protection every time the MSRV moves. + name: build-and-test (${{ matrix.os }}, ${{ matrix.rust-version }}) runs-on: ${{ matrix.os }} + env: + # rust-toolchain.toml would otherwise override whatever + # dtolnay/rust-toolchain selects; this variable overrides + # rust-toolchain.toml, so the matrix legs really do use different + # compilers. Without it both legs silently build with the pinned + # toolchain and the MSRV leg proves nothing. + RUSTUP_TOOLCHAIN: ${{ matrix.toolchain }} strategy: matrix: os: [ ubuntu-latest, windows-latest, macos-latest ] - # 1.97 is the MSRV - rust-version: [ stable, "1.97" ] + rust-version: [ stable, msrv ] + include: + - rust-version: stable + toolchain: stable + - rust-version: msrv + # Keep in sync with rust-version in Cargo.toml. + toolchain: "1.97" steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4 - uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c # stable with: - toolchain: ${{ matrix.rust-version }} + toolchain: ${{ matrix.toolchain }} - uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3 + with: + # Matrix dimensions other than the OS need naming explicitly. + key: ${{ matrix.rust-version }} + - name: Report cargo version + run: cargo --version - name: Report rustc version run: rustc --version - name: Build