Releases: jxskiss/gopkg
Releases · jxskiss/gopkg
Release v2.5.0
- Refactor: replace
interface{}
toany
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 toperf/gopool
- Change: use value fields for
zlog.FileLogConfig
Release v2.4.1
Optimize bbp reduce memory allcoation by storing pointer (#35) Change-Id: I589cc61c54bd801ef202977125d1f05ac354c443
Release v2.3.1
v2.3.0
- Feat: new package
exp/mselect
to dynamically waiting many channels - Feat:
easy.JSON
supports encoding map withinterface{}
as key type - Feat:
perf/json
add new config option to use jsoniter as underlying implementation
v2.2.0
- Feat: rename package
easy/gemap
toeasy/ezmap
- Feat: new
GetTyped
api foreasy/ezmap
- Feat: ptr utils accept param of generic types
- Feat: change
unsafejson
implementation to bytedance/sonic (#29)
Release v2.1.1 - bugfix
- Feat: sync zap logfmt encoder from upstream
- Fix: bbp.indexPut get incorrect pool index
Release v2.1.0 - new features and bugfix
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
andfastrand.NewZipf
- Feat: new api
zlog.Println
,zlog.TRACE1
andzlog.TRACESkip1
- Feat: zlog support per logger output files
- Feat: optimize spinlock implementation
- Feat: make
errcode.Code
being compatible witherrors.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 typeMocker
- 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
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
bbp support 12KB buffer Change-Id: I3374b35892d9950980d1a8e7999eef61adbbcd8b
v2.0.0-beta.5 refactor and bugfix
Merge pull request #12 from jxskiss/optimize_logid refactor logid
v2.0.0-beta.1 features generics
fix sqlutil parens Change-Id: Id117446e5f2c82d56cd12cdc83fc03f80deafb71
v0.17.2 - bugfix
fix sqlutil parens Change-Id: Id117446e5f2c82d56cd12cdc83fc03f80deafb71