Skip to content

Releases: jxskiss/gopkg

Release v2.5.0

20 Feb 16:11
Compare
Choose a tag to compare
  • Refactor: replace interface{} to any for cleaner code
  • Feat: new utility function easy.MergeMapsToPtr
  • Feat: [easy/ezhttp] allow to specify custom function to dump request/response
  • Feat: fix exp/perf/gopool issues and move to perf/gopool
  • Change: use value fields for zlog.FileLogConfig

Release v2.4.1

09 Feb 16:13
3762fe1
Compare
Choose a tag to compare
Optimize bbp reduce memory allcoation by storing pointer (#35)

Change-Id: I589cc61c54bd801ef202977125d1f05ac354c443

Release v2.3.1

08 Jan 03:58
Compare
Choose a tag to compare

v2.3.0

  • Feat: new package exp/mselect to dynamically waiting many channels
  • Feat: easy.JSON supports encoding map with interface{} as key type
  • Feat: perf/json add new config option to use jsoniter as underlying implementation

v2.2.0

  • Feat: rename package easy/gemap to easy/ezmap
  • Feat: new GetTyped api for easy/ezmap
  • Feat: ptr utils accept param of generic types
  • Feat: change unsafejson implementation to bytedance/sonic (#29)

Release v2.1.1 - bugfix

10 Dec 01:59
Compare
Choose a tag to compare
  • Feat: sync zap logfmt encoder from upstream
  • Fix: bbp.indexPut get incorrect pool index

Release v2.1.0 - new features and bugfix

09 Dec 14:28
Compare
Choose a tag to compare

Features:

  • Feat: add support for Go 1.20
  • Feat: update dependencies to latest
  • Feat: update CI workflow to test under all linux/mac/windows platforms
  • Feat: new api easy.Glob supporting double-star pattern
  • Feat: new api easy.LazyJSON helps to avoid unnecessary marshaling in some use case
  • Feat: new api fastrand.Fastrand64, fastrand.ExpFloat64, fastrand.NormFloat64 and fastrand.NewZipf
  • Feat: new api zlog.Println, zlog.TRACE1 and zlog.TRACESkip1
  • Feat: zlog support per logger output files
  • Feat: optimize spinlock implementation
  • Feat: make errcode.Code being compatible with errors.Is

Bugfix:

  • Fix: test failures and bugs
  • Fix: some issues reported by golangci-lint

Minor incompatible changes:

  • Change return value of monkey.Mock to be exported type Mocker
  • Remove deprecated type json.InvalidUTF8Error, json.UnmarshalFieldError,
    which are deprecated since Go 1.2
  • Remove api monkey.Patch.Origin, which does not work correctly

v2.0.0 - Rewritten and generics

10 Sep 13:50
Compare
Choose a tag to compare

This release is a rewritten of the old v1 code, it features the generics feature
available from Go 1.18+.

v2.0.0-beta.7 bugfix and improvements

29 Aug 16:28
Compare
Choose a tag to compare
Pre-release
bbp support 12KB buffer

Change-Id: I3374b35892d9950980d1a8e7999eef61adbbcd8b

v2.0.0-beta.5 refactor and bugfix

17 Aug 17:02
29e2fa6
Compare
Choose a tag to compare
Pre-release
Merge pull request #12 from jxskiss/optimize_logid

refactor logid

v2.0.0-beta.1 features generics

24 Jul 12:37
Compare
Choose a tag to compare
Pre-release
fix sqlutil parens

Change-Id: Id117446e5f2c82d56cd12cdc83fc03f80deafb71

v0.17.2 - bugfix

24 Jul 12:36
Compare
Choose a tag to compare
fix sqlutil parens

Change-Id: Id117446e5f2c82d56cd12cdc83fc03f80deafb71