Skip to content

Releases: jxskiss/gopkg

v2.15.4

06 Sep 15:52
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.14.0...v2.15.4

Release v2.14.0

07 Feb 08:23
Compare
Choose a tag to compare
  • Feat: support Go1.22 (#76)
  • Feat: [zlog] support color for console output (#74)
  • Fix: [zlog] multiFilesCore.Sync should sync all writers
  • Change: [perf/gopool] change defaultPool to not limit adhoc worker count
  • Change: refactor package [infra/acache] (#75)
  • Chore: add more tests

Release v2.13.0

03 Feb 15:06
Compare
Choose a tag to compare

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 be zlog.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

13 Jan 06:41
c82bf01
Compare
Choose a tag to compare
[easy/ezdbg] support filter rule (#69)

Change-Id: I670060c21056f1b1c59eb24378da49f4eaed541f

Release v2.12.0

27 Dec 12:02
Compare
Choose a tag to compare
  • 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 and retry.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

02 Dec 10:42
Compare
Choose a tag to compare
  • Feat: [ezhttp] allow merge request data (#57)
  • Feat: refactor [exp/mselect] and promote to be a stable package (#58, #60)
  • Feat: refactor [exp/singleflight] and promote to be a stable package (#59)

Release v2.10.0

20 Nov 08:44
Compare
Choose a tag to compare
  • 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 api MarshalNoMapOrdering
    which is considered a bad design and there should be nobody using it

Release v2.8.0

22 Apr 15:00
Compare
Choose a tag to compare
  • 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 and easy.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

06 Mar 13:38
11766c6
Compare
Choose a tag to compare
  • 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 and easy.Any

Release - v2.6.1

03 Mar 03:59
1146bcf
Compare
Choose a tag to compare
  • 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 of bbp.Grow and bbp.Buffer.Grow, bbp.Buffer.Append have been changed (#38)