Skip to content

Releases: lancer-kit/armory

Upgrade required Go version. Replaced sentry hook for logrus

27 Jan 12:54
Compare
Choose a tag to compare

Upgrade required Go version & dependencies. Replaced sentry hook for Logrus.

Improve DB package, cleanup, update documentation

18 Jul 11:43
4554b14
Compare
Choose a tag to compare

Changelog

BREAKING CHANGES

This update contains a bunch of breaking changes:

  1. Changed JSON Tag for the filed for api/render/result for Type render.R. Field Code int json:"errcode" -> now Code int json:"code".

  2. The package auth was removed.

  3. Removed the db.SetAsset(...) and db.Migration(...), please use the db.MigrateSet(...) or db.MigrateMultiSet(...).

  4. Removed deprecated method (t *db.Table) WithCount()

  5. Removed log.Fatal from methods of initialization.Modules and initialization.Module now they return errors


Add

  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • Added extended configuration db.SecureConfig that supports noble.Secrets;
  • Added support of patchable migrations and multi-migrations per database;
  • Added log.NConfig that provides the possibility to pass the LogLevel and SentryDSN using noble.Secrets;

Update

  • README.md and GoDoc for whole repo content;

  • Replaced usage of log.Default by log.Get(). log.Default is DEPRECATED;

  • Non-critical internal changes as recommended by linter;

  • Extended render.Page. Field TotalRows int64 json:"total_rows" was added;

  • Add links to related godoc.org;

  • Changed the db.ErrInvalidOrder and db.ErrTooBigPage now is more convenient and go-styled custom errors, not a functions;

  • Added SelectPage(pq *db.PageQuery) ([]{{.TypeName}}, int64, error) to db/q.tmpl;

  • Fixed chi/middleware.LogEntry implementation according to the newest version of chi;

  • Changed HTTP Request logs from INFO level to DEBUG;

  • Update ozzo-validation to v4.

Clean up httpx & improve pagination implementation

28 Apr 15:23
9704654
Compare
Choose a tag to compare
Merge pull request #9 from lancer-kit/fix-httpx

Clean Up and refactor httpx.Client

Fix invalid structure validation implementations

18 Mar 15:30
Compare
Choose a tag to compare
v1.7.4

Fix invalid structure validation implementations

Add a missed error handler

08 Feb 17:39
Compare
Choose a tag to compare
v1.7.3

Add missed errors handling

Change log level of the database logger

15 Jan 09:48
Compare
Choose a tag to compare
v1.7.2

Change queries log-level from DEBUG to TRACE

Update nats dependency

11 Dec 08:47
Compare
Choose a tag to compare
v1.7.1

Update nats lib

Add new getter of the SQLConn, remove elastic and ApiServer

24 Nov 23:14
Compare
Choose a tag to compare
v1.7.0

Remove: API server and elastic plugin; Add new getter for sqlConn

apI server with context

14 Nov 08:21
6f8edef
Compare
Choose a tag to compare
Merge pull request #8 from lancer-kit/internal_error

only code on internal server error

Fix database transaction check

09 Sep 07:45
ca6e3ba
Compare
Choose a tag to compare

Add new method for SQLConn InTx() bool, method IsInTx() bool - now deprecated