Repository navigation
What's Changed
feat
- feat: upgrade OpenTelemetry to v1.45.0 and Go to 1.25 by @houseme in #4863
- feat(os/glog): add a slog handler forwarding to glog by @LanceAdd in #4986
fix
- fix(os): stop accumulating inotify watches by @LanceAdd in #4944
- fix: update gf cli to v2.10.4 by @github-actions[bot] in #4946
- fix(contrib/drivers/sqlite): support loong64 by upgrading modernc.org/sqlite to v1.39.0 by @lingcoder in #4950
- fix(net/ghttp): log error request duration in seconds like the access log by @LuisFigueroaG in #4933
- fix(os/gres): use slash separator for virtual directory entries in pack by @ShryukGrandhi in #4936
- fix(cmd/gf): keep orm tag in do struct when removeFieldPrefix is set by @LuisFigueroaG in #4952
- fix(util/gconv): convert slices wrapped by gvar.Var into slice fields by @nk-batman21 in #4943
- fix(cmd/gf): keep import aliases when parsing existing controllers in gen ctrl by @ShryukGrandhi in #4940
- fix(os/glog): print fatal logs synchronously on async loggers by @LuisFigueroaG in #4930
- fix(net/ghttp): preserve body values in filtered query maps by @allenflux in #4909
- fix(database/gdb): keep mysql time_zone link parameter from overriding Timezone by @ShryukGrandhi in #4937
- fix(database/gdb): support FieldsEx and FieldsExPrefix on join statements by @ShryukGrandhi in #4939
- fix(database/gdb): scan records into map slices instead of empty maps by @LuisFigueroaG in #4955
- fix(os/gproc): skip unix-only pid mapping folders on windows by @b84330808 in #4956
- fix(database/gredis): accept score and lex bounds for ZRange start and stop by @ShryukGrandhi in #4959
- fix(net/ghttp): skip gzip for already committed responses by @LanceAdd in #4960
- fix(os/gfile): keep MatchGlob globstar matching separator-aware on windows by @b84330808 in #4961
- fix(database/gdb): disable model cache for queries running in a context transaction by @ShryukGrandhi in #4964
- fix(cmd/gf): find the api import by path when gen ctrl parses controllers by @nk-batman21 in #4957
- fix(container/gtree): fix deadlock and ignored stop in Iterator*From by @waw666waw666 in #4966
- fix(text/gstr): count a two-byte character as one rune in PosRune by @Kernel-Hunter in #4973
- fix(text/gstr): stop Soundex from writing "0" for vowels by @Kernel-Hunter in #4971
- fix(text/gstr): return from ReplaceI when search is empty by @Kernel-Hunter in #4972
- fix(os/gtime): accept fractions and a plus sign on days in ParseDuration by @Kernel-Hunter in #4974
- fix(os/gcache): keep missed lookups out of the memory LRU by @waw666waw666 in #4968
- fix(os/gsession): refresh the TTL of RedisHashTable sessions that are only read by @waw666waw666 in #4975
- fix(net/ghttp): correct file download response headers by @LanceAdd in #4988
- fix(contrib/drivers/gaussdb): cast the MERGE placeholders of Save and Replace to the column type by @lingcoder in #4969
perf
- perf(database/gdb): batch and chunk nested With relation scans by @LanceAdd in #4672
- perf(util/gconv): allocate the result map of Map only when it is filled by @g4lb in #4967
refactor
- refactor(os/gres): use typed BKVTree for the resource manager by @LanceAdd in #4949
- refactor(container,database/gdb,net,os,cmd/gf,contrib): apply modern Go idioms by @LanceAdd in #4983
- refactor(net/ghttp,net/gclient,container/garray): use modern standard library helpers by @LanceAdd in #4984
ci
- ci: improve Go cache hit rate & go1.27 support by @hailaz in #4951
- ci: start services per matrix group and report coverage per group by @hailaz in #4962
chore
- chore(contrib/nacos): upgrade nacos-sdk-go/v2 to v2.3.6 by @lingcoder in #4981
- chore(deps): migrate yaml dependency to go.yaml.in/yaml/v3 v3.0.6 by @angeiv in #4982
- chore(release): bump version to v2.10.5 by @lingcoder in #5001
New Contributors
- @nk-batman21 made their first contribution in #4943
- @b84330808 made their first contribution in #4956
- @waw666waw666 made their first contribution in #4966
- @g4lb made their first contribution in #4967
- @Kernel-Hunter made their first contribution in #4973
- @angeiv made their first contribution in #4982
Full Changelog: v2.10.4...v2.10.5