Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release #95

Merged
merged 2 commits into from
Nov 4, 2024
Merged

chore: release #95

merged 2 commits into from
Nov 4, 2024

Conversation

fasterthanlime
Copy link
Contributor

@fasterthanlime fasterthanlime commented Oct 11, 2024

🤖 New release

  • merde: 6.2.1 -> 6.2.2 (✓ API compatible changes)
  • merde_core: 7.0.0 -> 8.0.0 (⚠️ API breaking changes)
  • merde_json: 6.2.1 -> 7.0.0 (⚠️ API breaking changes)
  • merde_msgpack: 7.1.1 -> 7.1.2 (✓ API compatible changes)
  • merde_time: 4.0.17 -> 4.0.18 (✓ API compatible changes)
  • merde_yaml: 7.1.1 -> 7.1.2 (✓ API compatible changes)

⚠️ merde_core breaking changes

--- failure enum_unit_variant_changed_kind: An enum unit variant changed kind ---

Description:
A public enum's exhaustive unit variant has changed to a different kind of enum variant, breaking possible instantiations and patterns.
        ref: https://doc.rust-lang.org/reference/items/enumerations.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/enum_unit_variant_changed_kind.ron

Failed in:
  variant Event::MapStart in /tmp/.tmppvN4I8/merde/merde_core/src/event.rs:14

--- failure enum_variant_added: enum variant added on exhaustive enum ---

Description:
A publicly-visible enum without #[non_exhaustive] has a new variant.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#enum-variant-new
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/enum_variant_added.ron

Failed in:
  variant Event:F64 in /tmp/.tmppvN4I8/merde/merde_core/src/event.rs:9

--- failure enum_variant_missing: pub enum variant removed or renamed ---

Description:
A publicly-visible enum has at least one variant that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/enum_variant_missing.ron

Failed in:
  variant Event::Float, previously in file /tmp/.tmp9iI9hl/merde_core/src/deserialize.rs:16

⚠️ merde_json breaking changes

--- failure enum_variant_added: enum variant added on exhaustive enum ---

Description:
A publicly-visible enum without #[non_exhaustive] has a new variant.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#enum-variant-new
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/enum_variant_added.ron

Failed in:
  variant MerdeJsonError:Io in /tmp/.tmppvN4I8/merde/merde_json/src/lib.rs:260
  variant MerdeJsonError:JsonDoesNotSupportBytes in /tmp/.tmppvN4I8/merde/merde_json/src/lib.rs:263

--- failure inherent_method_missing: pub method removed or renamed ---

Description:
A publicly-visible method or associated fn is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/inherent_method_missing.ron

Failed in:
  JsonSerializer::from_vec, previously in file /tmp/.tmp9iI9hl/merde_json/src/lib.rs:30
  JsonSerializer::write_null, previously in file /tmp/.tmp9iI9hl/merde_json/src/lib.rs:40
  JsonSerializer::write_bool, previously in file /tmp/.tmp9iI9hl/merde_json/src/lib.rs:45
  JsonSerializer::write_i64, previously in file /tmp/.tmp9iI9hl/merde_json/src/lib.rs:52
  JsonSerializer::write_f64, previously in file /tmp/.tmp9iI9hl/merde_json/src/lib.rs:57
  JsonSerializer::write_str, previously in file /tmp/.tmp9iI9hl/merde_json/src/lib.rs:62
  JsonSerializer::write_obj, previously in file /tmp/.tmp9iI9hl/merde_json/src/lib.rs:83
  JsonSerializer::write_arr, previously in file /tmp/.tmp9iI9hl/merde_json/src/lib.rs:94
  JsonSerializer::into_inner, previously in file /tmp/.tmp9iI9hl/merde_json/src/lib.rs:103
  JsonSerializer::as_mut_vec, previously in file /tmp/.tmp9iI9hl/merde_json/src/lib.rs:110

--- failure method_parameter_count_changed: pub method parameter count changed ---

Description:
A publicly-visible method now takes a different number of parameters.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#fn-change-arity
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/method_parameter_count_changed.ron

Failed in:
  merde_json::JsonSerializer::new now takes 1 parameters instead of 0, in /tmp/.tmppvN4I8/merde/merde_json/src/lib.rs:193

--- failure struct_missing: pub struct removed or renamed ---

Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/struct_missing.ron

Failed in:
  struct merde_json::ObjectGuard, previously in file /tmp/.tmp9iI9hl/merde_json/src/lib.rs:116
  struct merde_json::ArrayGuard, previously in file /tmp/.tmp9iI9hl/merde_json/src/lib.rs:144

--- failure trait_added_supertrait: non-sealed trait added new supertraits ---

Description:
A non-sealed trait added one or more supertraits, which breaks downstream implementations of the trait
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#generic-bounds-tighten
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/trait_added_supertrait.ron

Failed in:
  trait merde_json::JsonSerialize gained Serialize in file /tmp/.tmppvN4I8/merde/merde_json/src/lib.rs:221
  trait merde_json::JsonSerialize gained Sized in file /tmp/.tmppvN4I8/merde/merde_json/src/lib.rs:221

--- failure trait_method_missing: pub trait method removed or renamed ---

Description:
A trait method is no longer callable, and may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#major-any-change-to-trait-item-signatures
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/trait_method_missing.ron

Failed in:
  method json_serialize of trait JsonSerialize, previously in file /tmp/.tmp9iI9hl/merde_json/src/lib.rs:186

--- failure trait_no_longer_object_safe: trait no longer object safe ---

Description:
Trait is no longer object safe, which breaks `dyn Trait` usage.
        ref: https://doc.rust-lang.org/stable/reference/items/traits.html#object-safety
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/trait_no_longer_object_safe.ron

Failed in:
  trait JsonSerialize in file /tmp/.tmppvN4I8/merde/merde_json/src/lib.rs:221
Changelog

merde

6.2.2 - 2024-11-04

Other

  • Make compact_str / compact_bytes non-optional
  • Introduce Serialize trait
  • Don't allow trivial UB via FieldSlot in safe code
  • I made miri sad
  • Add deserializer opinions, cf. #89
  • woops wrong examples
  • Actually query the stack size, don't hardcode anything
  • The trick actually works
  • Add surprise example

merde_core

8.0.0 - 2024-11-04

Added

  • Impl WithLifetime for Value (woops)

Other

  • Make compact_str / compact_bytes non-optional
  • Introduce Serialize trait
  • As pointed out, FieldSlot must be invariant
  • We did ask miri
  • More tests around FieldSlot (#101)
  • Don't allow trivial UB via FieldSlot in safe code
  • I made miri unsad
  • I made miri sad
  • Add deserializer opinions, cf. #89
  • Introduce deserialization opinions
  • macOS fixes
  • Fix infinite stack linux support
  • Oh yeah our MSRV is 1.75 because AFIT
  • fine let's not make msrv rust 1.82
  • Actually query the stack size, don't hardcode anything
  • Comments--
  • The trick actually works
  • Committing before something bad happens
  • Start the trick
  • Deserialize borrowed variants of cowstr

merde_json

7.0.0 - 2024-11-04

Other

  • Introduce Serialize trait

merde_msgpack

7.1.2 - 2024-11-04

Other

  • Introduce Serialize trait

merde_time

4.0.18 - 2024-11-04

Other

  • Introduce Serialize trait
  • Also run tests on macOS (#99)

merde_yaml

7.1.2 - 2024-11-04

Other

  • Introduce Serialize trait


This PR was generated with release-plz.

@fasterthanlime fasterthanlime force-pushed the release-plz-2024-10-11T12-22-31Z branch 9 times, most recently from 1d56240 to f386b3e Compare October 20, 2024 21:32
@fasterthanlime fasterthanlime force-pushed the release-plz-2024-10-11T12-22-31Z branch from f386b3e to 1db55e2 Compare November 4, 2024 13:54
@fasterthanlime fasterthanlime force-pushed the release-plz-2024-10-11T12-22-31Z branch from 1db55e2 to c554211 Compare November 4, 2024 14:13
@fasterthanlime fasterthanlime merged commit 7db3a0d into main Nov 4, 2024
0 of 2 checks passed
@fasterthanlime fasterthanlime deleted the release-plz-2024-10-11T12-22-31Z branch November 4, 2024 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant