Skip to content

Releases: nats-io/jsm.go

v0.1.2

29 Jul 17:50
v0.1.2
8bd4e76
Compare
Choose a tag to compare

Enhancements

  • Add new consumer helper DeliverBodies to invert BodiesOnly

Bug Fixes

  • Fix index out of bounds errors when detecting gaps

v0.1.1

13 Mar 07:36
v0.1.1
faedee8
Compare
Choose a tag to compare

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

20 Sep 09:44
v0.1.0
7863e73
Compare
Choose a tag to compare

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

Full Changelog: v0.0.35...v0.1.0

0.0.35

04 Nov 16:17
v0.0.35
a21621a
Compare
Choose a tag to compare

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

09 Sep 15:02
v0.0.34
31b0f1e
Compare
Choose a tag to compare

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

Full Changelog: v0.0.33...v0.0.34

0.0.33

27 May 11:08
v0.0.33
0584fc6
Compare
Choose a tag to compare

Enhancements

  • Support new NAK Advisories
  • Support matching by subjects in Stream Query
  • Support new consumer settings MaxBytes, MaxRequestMaxBytes and Heartbeat
  • Supports overriding replication factor and storage engine for consumers
  • Support new Stream Republish feature

0.0.31

15 Apr 09:08
v0.0.31
74f6dbd
Compare
Choose a tag to compare

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

11 Mar 11:07
v0.0.30
48ea938
Compare
Choose a tag to compare

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

18 Feb 11:29
v0.0.29
6a5a81c
Compare
Choose a tag to compare

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 and SubjectsFilter 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 and InactiveThreshold on consumers
    • MaxBytesRequired 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

30 Nov 10:02
v0.0.27
b1f2cc1
Compare
Choose a tag to compare

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