{"ecosystem":"cargo","package":"async-nats","from_version":null,"to_version":null,"changes":[{"from_version":"async-nats/v0.37.0","to_version":"async-nats/v0.38.0","change_type":"breaking","description":"Change Auth struct signature field to `Vec<u8>` by @mnordstr in https://github.com/nats-io/nats.rs/pull/1337","migration_hint":null},{"from_version":"async-nats/v0.35.1","to_version":"async-nats/v0.36.0","change_type":"breaking","description":"Rework get_raw_message to return `StreamMessage` by @Jarema in https://github.com/nats-io/nats.rs/pull/1292","migration_hint":null},{"from_version":"nats/v0.24.1","to_version":"async-nats/v0.34.0","change_type":"breaking","description":"Don't expose BoxFuture in public API by @oscarwcl in https://github.com/nats-io/nats.rs/pull/1167 This change simplifies lifetimes of Boxed Futures, by making them static. It should not affect most users, and if it does, removal of the lifetime should be a quick fix.","migration_hint":null},{"from_version":"nats/v0.24.1","to_version":"async-nats/v0.34.0","change_type":"breaking","description":"Add check for max payload size when publishing messages by @Jarema in https://github.com/nats-io/nats.rs/pull/1211 The client was not checking if the message payload size was not exceeding the limits of the server it is connected to. While doing the fix, the error returned was changed into one consistent with others: a struct with enum of possible error variants under `kind()` method, of which one is `MaxPayloadExceeded`. This should not break users, as before there was no enum in the first plac","migration_hint":null},{"from_version":"nats/v0.24.1","to_version":"async-nats/v0.34.0","change_type":"breaking","description":"Add stream name check to all stream management methods by @Jarema in https://github.com/nats-io/nats.rs/pull/1214 It added new enum variant to Consumer and Stream error kinds. Breaking for those who match those errors in exhaustive manner.","migration_hint":null},{"from_version":"nats/v0.24.1","to_version":"async-nats/v0.34.0","change_type":"breaking","description":"Remove clone in message split method by @AbstractiveNord in https://github.com/nats-io/nats.rs/pull/1172 This changes to be a `mut self` from `self` while removing unnecessary clone.","migration_hint":null},{"from_version":"async-nats/v0.29.0","to_version":"async-nats/v0.30.0","change_type":"breaking","description":"Update Service for parity with ADR by @Jarema in https://github.com/nats-io/nats.rs/pull/965","migration_hint":null},{"from_version":"async-nats/v0.29.0","to_version":"async-nats/v0.30.0","change_type":"breaking","description":"Remove schema and api_url from Service API by @Jarema in https://github.com/nats-io/nats.rs/pull/972","migration_hint":null},{"from_version":"async-nats/v0.29.0","to_version":"async-nats/v0.30.0","change_type":"breaking","description":"Add concrete error types to JetStream by @Jarema in https://github.com/nats-io/nats.rs/pull/874","migration_hint":null},{"from_version":"async-nats/v0.29.0","to_version":"async-nats/v0.30.0","change_type":"breaking","description":"Add concrete errors to KV by @Jarema in https://github.com/nats-io/nats.rs/pull/1014","migration_hint":null},{"from_version":"async-nats/v0.29.0","to_version":"async-nats/v0.30.0","change_type":"breaking","description":"Add concrete errors to Object Store by @Jarema in https://github.com/nats-io/nats.rs/pull/1015","migration_hint":null}],"total":11,"note":"Curated major-version breaking changes. Always verify against the package's official changelog before migrating.","_cache":"hit"}