Added
- Client-side subject validation for publish, subscribe and request, with a
skip_subject_validationconnect option to opt out (#1016) - Allow
userandpasswordto be callables for credential refresh on reconnect (#891) StreamSource.consumerandAckPolicy.FLOW_CONTROLfor pre-created sourcing consumers (#937)JetStreamManager.reset_consumerandConsumerInvalidResetError(#941)- Counter stream wire support (#940)
- Atomic batch publish headers and
PubAckfields (#938) - Message schedule header constants (#939)
Changed
- Validate header keys and sanitize header values before publishing (#1017)
- Subscribing to subjects with empty tokens or misplaced wildcards now fails client-side with
BadSubjectErrorinstead of a server error (#1016)