Skip to content

Releases: kosatnkn/catalyst

v2.8.0

28 Dec 02:56
Compare
Choose a tag to compare
  • Upgraded to go 1.18
  • Upgraded codeql analysis to v2
  • Fixed CORS middleware issue

v2.7.0

25 Dec 11:23
79d90fa
Compare
Choose a tag to compare
  • Renamed channels to transport
  • Updated dependencies

v2.6.0

11 Aug 09:03
Compare
Choose a tag to compare
  • Changed mock server to stoplight/prism
  • Added Makefile
  • Added additional detail for filter parsing
  • Updated logging mechanism

v2.5.0

04 Apr 07:10
Compare
Choose a tag to compare

Added graceful shutdown of the metrics server

v2.4.0

08 Mar 14:45
cb4c196
Compare
Choose a tag to compare

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 from externals and moving them in to app (this will be a much suited position to keep Adapters because the domain does not use adapters directly).
  • Decoupled Adapters from Catalyst and made them third party dependencies.
  • Removed the global context. Now log and db packages will attach information they need to the context by themselves.
  • Errors and the error 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

04 Jan 15:34
Compare
Choose a tag to compare
  • 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 of Repository 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

v2.2.1

09 Dec 11:00
Compare
Choose a tag to compare
  • Removed actual config .yaml files from configs directory
  • Added yaml.example template config files to configs directory

v2.2.0

20 Oct 10:06
Compare
Choose a tag to compare
  • Renamed config dir to configs
  • Moved http package from app to a new package channels
  • Moved metrics server from app to channels
  • Moved validtor as an adapter
  • Updated the underlying go-playground/validator to v10
  • Added logo

v2.1.1

12 Oct 12:57
Compare
Choose a tag to compare
  • Added DB connection at startup as a configuration parameter
  • Updated Dockerfile to use golang:1.15-alpine

v2.1.0

24 Sep 10:22
Compare
Choose a tag to compare
  • Added CORS middleware
  • Placed each config object in a separate file of it's own
  • Updated controller by adding logger to controller struct
  • Updated dependencies
  • Added db connection check at startup