Releases: jxskiss/gopkg
Releases · jxskiss/gopkg
v2.15.4
What's Changed
- Add new methods to vdutil and ezmap by @jxskiss in #77
- zlog: support slog by @jxskiss in #78
- Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 by @dependabot in #79
- [confr] support custom unmarshal function by @jxskiss in #80
- New utility to marshal map records to CSV by @jxskiss in #81
- Feat / parse json records opt dynamic mapping by @jxskiss in #82
- Fix linkname to reflect.ifaceIndir by @jxskiss in #83
- Feat: zlog slog console handler by @jxskiss in #84
- Require go 1.21 fix go 1.23 by @jxskiss in #85
Full Changelog: v2.14.0...v2.15.4
Release v2.14.0
Release v2.13.0
What's Changed
- Feat: [perf/gopool] minor improvements
- Feat: [unsafe/reflectx] make IsIdenticalThriftType be compatible with
frugal
tag - Feat: new package [collection/listx] providing generic List, Queue, Stack data structures (#68)
- Feat: [easy/ezdbg] support filter rule (#69)
- Feat: [easy/yamlx] support variable to function result
- Feat: [easy/yamlx] support relative reference
- Fix: fix [easy/ezdbg] print nil pointers
- Fix: fix [infra/acache] ticker may not be fired bug
There are several breaking changes in this release, which may break some programs.
- Breaking change: improvements to package [collection/heapx] (#67)
- Breaking change: [infra/logid] re-design (#70)
- Breaking change: move the rarely used package [perf/mselect] to standalone repo
- Breaking change: simplify package [zlog] (#71)
- Breaking change: change
zlog.CtxFunc
to bezlog.CtxHandler
- Breaking change: remove Go-version-specific unsafe usage for better maintainability (#72)
- Breaking change: refactor [perf/json] to be impl-change-able on-the-fly (#73)
- Breaking change: move some rarely used features to be examples to reduce dependencies
Release v2.12.4
[easy/ezdbg] support filter rule (#69) Change-Id: I670060c21056f1b1c59eb24378da49f4eaed541f
Release v2.12.0
- Feat: [exp/kvutil] add big value sharding implementation (#61)
- Feat: [utils/vdutil] add Result.IsValidationError to distinct validation error
- Feat: simplify [perf/gopool] code
- Feat: new package [easy/yamlx] to extend the YAML unmarshaler with extra features (#63)
There are several breaking changes in this release, which were not used by anybody AFAIK.
- Breaking change: move
retry.AddJitter
andretry.Backoff
to package [utils/timeutil] - Breaking change: rewrite and move package [perf/rthash] to be an internal package
- Breaking change: simplify package [perf/fastrand] in favor of math/rand/v2 available in Go 1.22+
- Breaking change: remove package [perf/syncx]
- Breaking change: new function
unsafe/forceexport.ScanTypes
to replace
unsafe/forceexport.ScanType
with better performance - Breaking change: [infra/logid] change base32 encoding, redesign APIs and log ID formats
- Breaking change: move
easy.GetOutboundIP
to new package [utils/netutil] - Breaking change: remove the deprecated package [unsafe/monkey],
users are recommended to use bytedance/mockey
Release v2.11.0
Release v2.10.0
- Fix: [perf/bbp] drop cgo arena implementation, which doesn't work on Windows (#54)
- Feat: [utils/timeutil] new time related utilities
- Feat: [easy] new utility functions
- Change: drop support for Go 1.18, requires 1.19+
- Change: [utils/vdutil] update and simplify validating utilities (#56)
- Change: [perf/json] add new api
MarshalFastest
, and remove old apiMarshalNoMapOrdering
which is considered a bad design and there should be nobody using it
Release v2.8.0
- Feat: [unsafe/monkey] support arm64 with bugfix and more tests (#48)
- Feat: [utils/vdutil] new utility package helping data validation (#43)
- Feat: [zlog] utils to work with
context.Context
(#44) - Feat: new util functions
easy.CreateNonExistingFolder
andeasy.WriteFile
- Feat: [utils/ptr] support converting integer to string pointer
- Fix: [perf/json] build failure on arm64 (MacBook M1)
- Change: [perf/json] force fallback to jsoniter when bytedance/sonic is using compat implementation
Release v2.7.0
- Feat: [perf/bbp] use slice to manage arena memory chunks which gives better performance
- Feat: [zlog] add logr support (#41)
- Feat: [zlog] tweak log format to be more friendly with the console format
- Fix: [perf/gopool] fix potential starving of task worker
- Change: Remove deprecated util functions
easy.All
andeasy.Any
Release - v2.6.1
- Fix: code-style issues reported by golangci-lint (#37)
- Feat: update CI workflow to support Go 1.20 (#37)
- Feat: update
bytedance/sonic
to v1.8.3 - Feat: new arena feature for
perf/bbp
(#40) - Change: simplify
perf/bbp
implementation, notably that the signature ofbbp.Grow
andbbp.Buffer.Grow
,bbp.Buffer.Append
have been changed (#38)