Changelog History
-
v0.4.2
December 02, 2020 -
v0.4.1
September 25, 2020 -
v0.4.0 Changes
June 15, 2020RES 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
-
v0.3.0 Changes
March 04, 2020RES 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
- ๐ฆ Package
github.com/jirenius/go-res/middleware/resbadger
is deprecated. Use the store package together with the badgerstore package instead.
-
v0.2.0 Changes
January 08, 2020RES 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
andFullPath
methods toMux
- #41 Added
WithResource
andWithGroup
methods toService
- #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
, andService.Tracef
are deprecated. UseService.Logger()
to access the logger if needed.
- #39 Added