Releases: kosatnkn/catalyst
v2.8.0
v2.7.0
v2.6.0
- Changed mock server to stoplight/prism
- Added Makefile
- Added additional detail for filter parsing
- Updated logging mechanism
v2.5.0
v2.4.0
We have done some major changes to Catalyst
in this version. Most noticeable of this being the go.mod
update to reflect v2
. We also released v2
of Cauldron to create projects using Catalyst v2.4.0
and beyond.
Most noticeable features in this release includes,
- A much streamlined
Container
. - Removal of
Adapters
fromexternals
and moving them in toapp
(this will be a much suited position to keepAdapters
because thedomain
does not use adapters directly). - Decoupled
Adapters
fromCatalyst
and made them third party dependencies. - Removed the
global context
. Nowlog
anddb
packages will attach information they need to the context by themselves. Errors
and theerror handler
are streamlined. Now you can use wrapped errors and the error handler will generate a trace using those wrapped errors.- Fixed multiple committing of nested transactions.
- Fixed prepared statement leakage.
v2.3.0
-
A base
Controller
with several convenience functions is added that can be embedded in to other controllers -
Added a data mapper object to streamline output structures of the REST API
Now data returned by the API will always be wrapped in the following structure.
{
"data": "<your_data_here>"
}
This behavior can be changed by changing the response.Map()
function.
-
Moved base path GET request handling to a separate controller
APIController
This too is an optional endpoint that is in place to get details about the REST API by calling its base path. -
mapResult()
function ofRepository
structs are streamlined so that mappings can be written in a compact form and allow mapping functions to throw errors rather than panic when type casting fails