All Versions
6
Latest Version
Avg Release Cycle
89 days
Latest Release
1239 days ago

Changelog History

  • v0.4.2

    December 02, 2020
  • v0.4.1

    September 25, 2020
  • v0.4.0 Changes

    June 15, 2020

    RES protocol version

    • v1.2.1

    ๐Ÿ”„ Changelog

    ๐Ÿš€ This release is focusing on features requested by the community.

    ๐Ÿ“ฆ Package resprot

    ๐Ÿ“ฆ The resprot subpackage provides low level structs and methods for communicating with other services over NATS server.

    ๐Ÿ‘ QueueChanSubscribe support

    To allow better horizontal scaling when only using system.reset to update resources, go-res now by default uses nats' QueueChanSubscribe (instead of just ChanSubscribe). This is configurable, but will by default use the service name as queue group.

    ๐Ÿ‘ RES Protocol v1.2.1 support

    ๐Ÿš€ RES Protocol v1.2.1 introduced two new value types: soft references and data values. Support for these are also added in this release.

    โž• Added

    • ๐Ÿ“ฆ #73 RES service protocol subpackage
    • #75 Service Conn method
    • ๐Ÿ›ฐ #77 Allow empty request payload
    • #79 Allow QueueChanSubscribe
    • ๐Ÿ‘ #81 Soft reference support
    • #84 Data values
  • v0.3.0 Changes

    March 04, 2020

    RES protocol version

    • v1.2.0

    ๐Ÿ”„ Changelog

    The release comes with two major additions: the store subpackage and the restest package.

    ๐Ÿ“ฆ Package store

    The store package provides handlers and interfaces for working with database storages. It deprecates previous packages under middleware, and provides superior structure for building services that scales well.

    The book collection store and search query examples are updated to use the new store package.

    ๐Ÿ“ฆ Package restest

    ๐Ÿ“ฆ The restest package provides utilities for testing res services, and makes it easy to validate handler responses and events.

    โž• Added

    • #69 Database storage interface
    • ๐Ÿ“ฆ #70 Package for testing res services
    • ๐Ÿ— #71 Go version 1.14 CI build

    ๐Ÿ›  Fixed

    • #67 Root resource not subscribed

    ๐Ÿ—„ Deprecated

  • v0.2.0 Changes

    January 08, 2020

    RES protocol version

    • v1.2.0

    ๐Ÿ”„ Changelog

    โž• Added support for RES Protocol v1.2.0 features, which among other things means improved support for queries.

    Two examples are added; Hello World showing the simplest of services, and Search Query showing how high performance live queries can be achieved.

    โž• Added

    • ๐Ÿ‘ #51 RES Protocol v1.1.1 support
    • ๐Ÿ‘ #54 RES Protocol v1.2.0 support
    • #52 Hello World example
    • #55 Query Search example
    • ๐Ÿ‘ท #63 Improved CI checks

    ๐Ÿ—„ Deprecated

    • ๐Ÿ“ฆ Package github.com/jirenus/go-res/middleware is deprecated. Use specific middleware sub package:
      • github.com/jirenius/go-res/middleware/resbadger
    • ๐Ÿ†• New method is deprecated from RES protocol version v1.2.0. Use Call method with Resource response.
    • Service.SetReset is renamed to Service.SetOwnedResources. Old method is still available.
  • v0.1.0 Changes

    September 13, 2019

    ๐Ÿ”„ Changelog

    ๐Ÿš€ The first release using Go modules. The release also contains multiple additional functionality, some bug fixes, and improved unit tests.

    โž• Added

    • #39 Added Path and FullPath methods to Mux
    • #41 Added WithResource and WithGroup methods to Service
    • #45 New simplified logger interface
    • #49 Migrated to Go module

    ๐Ÿ›  Fixed

    • ๐Ÿ›  #40 Fixed issue with less specific full wildcard handler prioritized over more specific handler
    • ๐Ÿ›  #42 Fixed wrong PathParams and Group value when resolved if handler registered to a mounted Mux
    • โšก๏ธ #43 Updated BadgerDB example to match changes to their API

    ๐Ÿ—„ Deprecated

    • โšก๏ธ Old logger interface is replaced. Any custom logger implementing the old interface needs to be updated.
    • ๐Ÿ—„ The methods Service.Logf, Service.Debugf, and Service.Tracef are deprecated. Use Service.Logger() to access the logger if needed.