Releases: nats-io/jsm.go
Releases · nats-io/jsm.go
v0.1.2
v0.1.1
What's Changed
- Support per-stream Consumer limits
- Support TLS Handshake First
- Adds a new
io.nats.jetstream.advisory.v1.domain_leader_elected
advisory - Support sending the supplied token when user/password authentication is done to support auth callout scenarios
Bug Fixes
- Improvements to the
micro
schema validations - Process consumers with a single multi subject filter as a single filter and other related improvements
- Correctly check if work queues allow direct requests for the pager
Full Changelog: v0.1.0...v0.1.1
v0.1.0
What's Changed
- Add new create consumer API subject
- Report stream and consumer missing data
- Optimise stream viewer by using R1 consumers
- SOCKS proxy support for dialing NATS via a Context
- Add JSON schemas for the NATS Micro Services framework
- Adds a helper to parse and validate messages by schema
- Support matching on replicas when searching for streams
- Support stream and consumer metadata
- Add stream subject transform support
- Allow a free form color scheme hint to be recorded in the context
- Support multiple consumer filter subjects
- Support metadata in micro
- Add compression to stream config
- Ensure we only select known contexts
- Support consumer and stream info timestamps
- Support paging WQs that has direct access enabled
- Consumer creation enhancements to use secure subject formats
- Render the context name when marshaling to json
- Support expr based stream matching in stream query tool
- Support server removed advisories
- Allows the server response page total size to be ignored
- Support custom first sequences for Streams
- Multi-subject filtering (and associated transforms) to stream sources
- Add a helper that walks a stream and detects interior deletes
- Action in create consumer requests
- Prevent ack streams for ingesting
>
and*
Bug Fixes
- Remove validation where username, password and token are set in contexts
New Contributors
- @codegangsta made their first contribution in #427
- @jnmoyne made their first contribution in #436
- @neilalexander made their first contribution in #445
Full Changelog: v0.0.35...v0.1.0
0.0.35
Enhancements
- Allow servers to be removed from the meta cluster by ID
- Add filters to stream names API
- Supports discard new per subject
- Supports filters in stream list and related functions
- Remove stream template support
- Support purging all data from an account
Bug Fixes
- When iterating consumers update the state cache
0.0.34
Improvements
- Various Schema improvements
- Support stream republish
- Support deleting the selected context if its the only context
- Support direct get on streams
- Fail memory stream backups in an easily detectable way
- Support bearer tokens in JWT based contexts
- Support moving streams between servers
- Support account data statistics
- Support
next_by_subj
when requesting a message - Support contained subjects to be retrieved for a stream
- Support deleting Consumers and Streams without first requesting its info
- Use stderr for nsc invoke failed
- Various improvements to stream pager
New Contributors
- @shurya-kumar made their first contribution in #392
- @bruth made their first contribution in #405
Full Changelog: v0.0.33...v0.0.34
0.0.33
Enhancements
- Support new NAK Advisories
- Support matching by subjects in Stream Query
- Support new consumer settings
MaxBytes
,MaxRequestMaxBytes
andHeartbeat
- Supports overriding replication factor and storage engine for consumers
- Support new Stream Republish feature
0.0.31
Enhancements
- Support loading contexts from specific files using
natscontext.NewFromFile
- Align backup and restore chunk sizes with new server defaults
- Compatibility with upcoming NATS Server 2.8.0 release
- Support Stream Alternates - a list of distance-sorted mirrors
- Add a helper to determine if the account settings require streams to have byte limits applied
Bug Fixes
- Prevent paging Work Queue streams which would ack and remove messages
0.0.30
Enhancements
- Support cluster and tag based Stream placement
- Support nats error codes in various LoadOrNew functions to make them more reliable and handle the difference between not found and lookup failed
- Handle the new 408 /404 header behaviors in pull consumers
Deprecations
The election
package is marked as being deprecated. This was a POC to implement leader election ontop of JetStream using streams with maximum 1 consumer limits. While functional this is quite a costly way to do elections in API traffic but also in JetStream resources.
A better option is to build an election system using KV buckets and their Create/Update behaviors but at present there is no plans to rewrite this package to support that.
The election
package will be removed after 2 releases.
0.0.29
Removals
- Removed the previously-deprecated KV implementation
- Stream names may not be changed during restore as this was never supported well on the server and is now denied
Enhancements
- Add
NumSubjects
to stream state - Support
DeletedDetails
andSubjectsFilter
in Stream Info - Consumer backoff policies, includes a helper to make linear backoff policies
- Add a general stream query tool with various filters
- Support configuring custom inbox prefixes in contexts
- Add
missing
item to consumer information - Updates for Server 2.7.x compatibility
MaxRequestBatch
,MaxRequestExpires
andInactiveThreshold
on consumersMaxBytesRequired
on account information- Ephemeral pull consumers
Bug Fixes
- Create inboxes based on client configuration
- Fix all iteration based API interactions - fixing various bugs in large networks with many connections and subscriptions
- Fix bug in handling server URLs when cli flags and context both set a url
- Improved error handling during restores
0.0.27
Deprecations
- Deprecate kv package in favour or nats.go
Enhancements
- Include stream purge request schema
- Support for Sealed streams
- Support stream permissions and header only consumers
- Support detecting "internal" streas - those in use by KV, Object and MQTT
- Support updating consumers
Bug Fixes
- Allow governor creation to be skipped when trying to view governors