Releases: nats-io/nats.go
Releases · nats-io/nats.go
Release v1.51.0
Changelog
ADDED
- Core NATS:
FIXED
- Core NATS:
- Make websocket frame validation more robust (#2050)
- JetStream:
- Fix deadlock in
Consume()when callingStop/DrainfromConsumeErrHandler(#2059)
- Fix deadlock in
IMPROVED
- Fix typos in tests. Thanks @deining for the contribution (#2049)
- Fix deprecation warnings by bumping GH actions to their latest versions. Thanks @deining for the contibution (#2048)
- Code linting: remove functions min and max. Thanks @deining for the contribution (#2047)
Complete Changes
Release v1.50.0
Changelog
FIXED
- Core NATS:
- Fix WebSocket close frame discarding buffered data frames (#2032)
- JetStream:
IMPROVED
- Core NATS:
- JetStream:
- KeyValue:
CHANGED
Complete Changes
Release v1.49.0
Changelog
ADDED
- Core NATS:
- KeyValue:
Config()method forKeyValueStatus(#2014)
FIXED
- Core NATS:
- Only remove requested status listener (#1991)
- JetStream:
- Cleanup JS Publisher Status Channel (#1993)
- Legacy JetStream:
- Fix nil pointer dereference in
ConsumerInfo. Thanks @olde-ducke for the contribution (#1987)
- Fix nil pointer dereference in
- Object store:
- Use default timeout on object
Putwhen context has no deadline (#2013)
- Use default timeout on object
IMPROVED
- Various docs and test improvements across the codebase. Thanks @jjpinto for the contribution! (#1995, #1996, #1997, #1998, #1999, #2000, #2001, #2002, #2003, #2004, #2005, #2007, #2008, #2009, #2010, #2011, #2012, #2016, #2017, #2018, #2019, #2020)
- Add JetStream migration guide (#2023)
Complete Changes
Release v1.48.0
Changelog
ADDED
- Core NATS:
- KeyValue:
- Enable custom subject transforms on KV sourcing (#1960)
FIXED
- JetStream:
- KeyValue:
- Fix data race when closing watcher updates channel in kv.go (#1965)
IMPROVED
- Remove extraneous PullThresholdMessages type definition from README. Thanks @PeterBParker for the contribution (#1959)
- Fix typo in README for service creation method (#1962)
- Mention performance implications of using Consumer.Fetch in docs (#1983)
Complete Changes
Release v1.47.0
Changelog
ADDED
- Core NATS:
- Support sending custom WebSocket headers on connect. Thanks @saurabhojha for the contribution (#1919)
FIXED
- Core NATS:
- Capture async callbacks before pushing on dispatch queue (#1955)
- Object Store:
- Fixed data race when cancelling context while getting object (#1949)
- JetStream:
- Fixed double channel close on simultaneous Stop and Drain (#1953)
IMPROVED
- Clarify
MessagesContext.Next()doc (#1951)
Complete Changes
Release v1.46.1
Changelog
FIXED
- JetStream:
- Add omitempty to AllowMsgTTL and AllowMsgCounter (#1947)
Complete Changes
Release v1.46.0
Changelog
Overview
This release enables features introduced in [email protected].
Some features, while enabled in the client by adding relevant configuration, have APIs exposed in synadia-io/orbit.go, namely:
ADDED
- JetStream:
- Stream counters configuration option (#1932, #1939)
- New fields in
ClusterInfo(#1935) AllowAtomicPublishstream configuration option (#1940)PersistModestream config option for configurable stream persistence settings (#1943)AllowMsgSchedulesstream configuration option to enable message scheduling (#1942)- Context and timeout options to
Messages.Next()plusFetchcontext support (#1938) - Support custom name prefix for ordered consumers (#1928)
- Prioritized priority policy (#1937)
- KeyValue:
- Added KeyValue bucket metadada support (#1944)
IMPROVED
- JetStream:
Complete Changes
Release v1.45.0
Release v1.44.0
Changelog
Overview
This PR adds a PushConsumer implementation to jetstream, allowing easier migration to new API while maintaining usage of push consumers. For now it only supports the callback-based Consume(), more consuming options will be added in future releases.
ADDED
- Core NATS:
UserCredentialBytes()Connoption (#1877)
- JetStream:
PushConsumerimplementation injetstreampackage- Expose
ClientTraceinJetStreamOptions(#1886)
- Service API:
- Expose
WithEndpointPendingLimitsoption (#1899)
- Expose
- Legacy KeyValue:
Error()method toKeyListerandKeyWatcherinterfaces (#1889)
FIXED
- Core NATS:
- Fix timeoutWriter not recovering after first error (#1896)
- JetStream:
Consumer.Next()hangs after connection is closed (#1883)- Fixed stream info request for strict mode (#1887)
- Ordered consumer not closing on connection close (#1885)
- Return a more appropriate error when Subject Transform is not supported (#1416)
- Fix subject transform comparison. Thanks @erikmansson for the contribution (#1907)
- Legacy JetStream:
- Use timeout from
JetStreamContextif no deadline is set on ctx (#1909)
- Use timeout from
- KeyValue:
Keys()andListKeys()returning duplicates (#1884)- Fix subject prefix for the Create/Update operation in KV store. Thanks @SalvaChiLlo for the contribution (#1903)
CHANGED
- Change
DefaultSubPendingMsgsLimit(#998)
Complete Changes
Release v1.43.0
Changelog
ADDED
- Core NATS:
- Add
nc.LocalAddr, similar tonc.ConnectedAddr(#1877)
- Add
FIXED
- Service API:
- Fix stopping service not unsubscribing from all endpoints. Thanks @arunsworld for the contribution (#1872)
- Remove
fmt.PrintlnfromService.Stop()(#1880)
- Legacy KeyValue:
- Fix possible race setting timer in kv.WatchFiltered (#1879)