Skip to content

Releases: bytedance/go-tagexpr

v2.7.6

01 Feb 07:24
Compare
Choose a tag to compare
Update go.mod

Change-Id: Ica1b7435af9ccc0b8fa2c3af066e416f42db11a0

v2.7.5

01 Feb 06:11
Compare
Choose a tag to compare

add go mod

v2.7.4

28 Dec 12:01
Compare
Choose a tag to compare

fix runtime type id

v2.7.3

23 Dec 08:52
Compare
Choose a tag to compare
  1. when there is unexportable and no tags, omit the field
  2. fix raw_body

v2.7.2

02 Dec 04:10
Compare
Choose a tag to compare
chore: add //go:nocheckptr

Change-Id: I11cb0fe5e5d8d78efea25f0f52b8f2ae26dd26a2

v2.7.1

31 Aug 03:16
Compare
Choose a tag to compare

mlen len always return number

v2.7.0

13 Jul 02:27
Compare
Choose a tag to compare
  • chore: add internal data type declaration
  • fix(binding): prebind body
  • chore(binding): optimize error format
  • feat(validator): add 'in' function
  • chore(validator): update register validator function

v2.6.1

04 Jun 03:36
Compare
Choose a tag to compare
  • feat(binding): add GetCopiedBody
  • chore(binding):optimize reading body
  • chore(binding): change to encoding/json
  • chore(binding): add gjson.UseJSONUnmarshaler to compatible old version(<v2.6.0)

v2.6.0

28 May 02:59
Compare
Choose a tag to compare
  • binding:
    • support default value
    • support binding non-struct types
    • fix form binding
    • optimize json binding
  • tagexpr:
    • support mblen to get the number of characters
    • safety judgment

v2.5.3

03 Mar 15:25
Compare
Choose a tag to compare
  • fix: disable the default binding order when there is a valid tag in the superior fields
  • chore(binding):optimize json required