|
| 1 | +# 0.32.0 |
| 2 | +## Overview |
| 3 | + |
| 4 | +This release primarily focuses on two things: |
| 5 | +* adding remaining **nats server 2.10** features and enabling `server_2_10` feature by default |
| 6 | +* rework of connection handling (huge thanks to @paolobarbolini for the effort! 🚀 ) |
| 7 | + |
| 8 | +An important change introduced by a reworked connection handler is that users should not need |
| 9 | +to manually flush by calling `client.flush().await` to reduce latency. |
| 10 | + |
| 11 | +## Added |
| 12 | +* Add stream subject mappings by @Jarema in https://github.com/nats-io/nats.rs/pull/1103 |
| 13 | +* Add new Stream Config 2.10 fields by @Jarema in https://github.com/nats-io/nats.rs/pull/1113 |
| 14 | +* Add customization of Object Store chunk size by @Jarema in https://github.com/nats-io/nats.rs/pull/1105 |
| 15 | +* Add update metadata by @Jarema in https://github.com/nats-io/nats.rs/pull/1064 |
| 16 | +* Add jetstream benchmarks by @Jarema in https://github.com/nats-io/nats.rs/pull/1080 |
| 17 | +* Introduce `get` and `get_all` semantics to `HeaderMap` by @n1ghtmare in https://github.com/nats-io/nats.rs/pull/1071 |
| 18 | +* Change `Header::append` value to `IntoHeaderValue` by @caspervonb in https://github.com/nats-io/nats.rs/pull/1076 |
| 19 | +* Implement `fmt::Display` for `HeaderValue` by @caspervonb in https://github.com/nats-io/nats.rs/pull/1086 |
| 20 | +* Add watch_with_history method by @tinou98 in https://github.com/nats-io/nats.rs/pull/1082 |
| 21 | +* Implement `AsRef` for `HeaderValue` by @caspervonb in https://github.com/nats-io/nats.rs/pull/1087 |
| 22 | +* Implement `From` for `HeaderValue` on integer types by @caspervonb in https://github.com/nats-io/nats.rs/pull/1083 |
| 23 | +* Multiplex requests over a single subscription by @caspervonb in https://github.com/nats-io/nats.rs/pull/1069 |
| 24 | +* Add object store link by @Jarema in https://github.com/nats-io/nats.rs/pull/1091 |
| 25 | +* Add customizable queue groups to service API by @Jarema in https://github.com/nats-io/nats.rs/pull/1109 |
| 26 | + |
| 27 | +## Changed |
| 28 | +* Enable 2.10 features by default by @Jarema in https://github.com/nats-io/nats.rs/pull/1114 |
| 29 | +* Refactor connection handling by @paolobarbolini in https://github.com/nats-io/nats.rs/pull/1060 |
| 30 | +* Tidy up `ServerOp` parsing by @paolobarbolini in https://github.com/nats-io/nats.rs/pull/1052 |
| 31 | +* Remove link from metadata update by @Jarema in https://github.com/nats-io/nats.rs/pull/1067 |
| 32 | +* Bump msrv & dependencies by @Jarema in https://github.com/nats-io/nats.rs/pull/1065 |
| 33 | +* Take `impl AsRef<Path>` instead of `PathBuf` in credentials APIs by @paolobarbolini in https://github.com/nats-io/nats.rs/pull/1012 |
| 34 | +* Optimize `GET`ting and object's payload by @paolobarbolini in https://github.com/nats-io/nats.rs/pull/1040 |
| 35 | +* Implement `FromStr` for `jetstream::kv::Operation` by @n1ghtmare in https://github.com/nats-io/nats.rs/pull/1056 |
| 36 | +* Clear documentation for Context::get_object_store by @nmandery in https://github.com/nats-io/nats.rs/pull/1059 |
| 37 | +* Use `Duration` in a few more places by @paolobarbolini in https://github.com/nats-io/nats.rs/pull/1038 |
| 38 | +* [Refactoring] Use a generic error type instead of the macro `error_impls` by @nepalez in https://github.com/nats-io/nats.rs/pull/1047 |
| 39 | +* Remove some allocations from benchmarks by @paolobarbolini in https://github.com/nats-io/nats.rs/pull/1073 |
| 40 | +* Update nuid crate to 0.5 by @paolobarbolini in https://github.com/nats-io/nats.rs/pull/1084 |
| 41 | +* Switch dependency: json->serde_json in nats-server by @nepalez in https://github.com/nats-io/nats.rs/pull/1106 |
| 42 | +* Bump Go to 1.20 by @paolobarbolini in https://github.com/nats-io/nats.rs/pull/1110 |
| 43 | + |
| 44 | +## Fixed |
| 45 | +* Correct spelling mistake in jetstream/consumer/pull by @SohumB in https://github.com/nats-io/nats.rs/pull/1097 |
| 46 | +* Fix potentially ambiguous `.as_ref()` by @robjtede in https://github.com/nats-io/nats.rs/pull/1062 |
| 47 | +* Fix rustls deprecation warning by @paolobarbolini in https://github.com/nats-io/nats.rs/pull/1074 |
| 48 | +* Fix typo in ping_interval example by @sravan-s in https://github.com/nats-io/nats.rs/pull/1100 |
| 49 | +* Show features behind feature flags in docs by @Jarema in https://github.com/nats-io/nats.rs/pull/1107 |
| 50 | +* Fix minimal versions by @nepalez in https://github.com/nats-io/nats.rs/pull/1108 |
| 51 | + |
| 52 | +## New Contributors |
| 53 | +* @nepalez made their first contribution in https://github.com/nats-io/nats.rs/pull/1047 |
| 54 | +* @nmandery made their first contribution in https://github.com/nats-io/nats.rs/pull/1059 |
| 55 | +* @robjtede made their first contribution in https://github.com/nats-io/nats.rs/pull/1062 |
| 56 | +* @SohumB made their first contribution in https://github.com/nats-io/nats.rs/pull/1097 |
| 57 | +* @bruth made their first contribution in https://github.com/nats-io/nats.rs/pull/1096 |
| 58 | +* @sravan-s made their first contribution in https://github.com/nats-io/nats.rs/pull/1100 |
| 59 | + |
| 60 | +**Full Changelog**: https://github.com/nats-io/nats.rs/compare/async-nats/v0.30.1...async-nats/v0.32.0 |
| 61 | + |
1 | 62 | # 0.31.0 |
2 | 63 | This release focuses on improvements of heartbeats in JetStream Consumers. |
3 | 64 |
|
|
0 commit comments