Recent Releases of https://github.com/bytedance/go-tagexpr

https://github.com/bytedance/go-tagexpr - v2.9.11

- Go
Published by andeya over 2 years ago

https://github.com/bytedance/go-tagexpr - v2.9.10

- Go
Published by andeya over 2 years ago

https://github.com/bytedance/go-tagexpr - v2.9.9

- Go
Published by andeya almost 3 years ago

https://github.com/bytedance/go-tagexpr - v2.9.8

  • Move 'in' template function to go-tagexpr module
  • Resolved #62

- Go
Published by andeya about 3 years ago

https://github.com/bytedance/go-tagexpr - v2.9.7

61

- Go
Published by andeya over 3 years ago

https://github.com/bytedance/go-tagexpr - v2.9.6

  • fix: gjson customized slice unmarshal failed
  • fix: fix expression syntax parsing bug
  • chore: optimized version check

- Go
Published by andeya over 3 years ago

https://github.com/bytedance/go-tagexpr - v2.9.5

- Go
Published by andeya almost 4 years ago

https://github.com/bytedance/go-tagexpr - v2.9.4

fix: skip omited tag

- Go
Published by andeya almost 4 years ago

https://github.com/bytedance/go-tagexpr - v2.9.3

Fix some bugs and optimize the code

- Go
Published by andeya almost 4 years ago

https://github.com/bytedance/go-tagexpr - v2.9.2

Optimize binding performance

- Go
Published by andeya over 4 years ago

https://github.com/bytedance/go-tagexpr - v2.9.1

  • fix: cache syntax error

- Go
Published by andeya over 4 years ago

https://github.com/bytedance/go-tagexpr - v2.9.0

  • support 'range' tpl function
  • binding: support type alias slice for 'query'
  • binding: fix 'default' tag
  • binding: support Content-Encoding
  • optimize 'in' tpl func

- Go
Published by andeya over 4 years ago

https://github.com/bytedance/go-tagexpr - v2.8.1

  • Compatible file header
  • Revert: add the required tag check for the structure in slice/array and map

- Go
Published by andeya almost 5 years ago

https://github.com/bytedance/go-tagexpr - v2.8.0

  • Use standard pb package instead
  • Add the 'required' tag check for the structure in slice/array and map
  • Fix the bug that headers cannot be bound to fields without tag #25

- Go
Published by andeya almost 5 years ago

https://github.com/bytedance/go-tagexpr - v2.7.12

  • optimize parameter type check
  • update subRunAll

- Go
Published by andeya about 5 years ago

https://github.com/bytedance/go-tagexpr - v2.7.11

validator: - chore: validate the struct in the array or map - chore: optimize code - chore: no need to check protobuf

go-tagexpr: - fix: support multi-level nested maps or slices

gjson: - feat(gjson): be consistent with the anonymous field binding rules of the standard package - fix(gjson): support map key alias type

- Go
Published by andeya about 5 years ago

https://github.com/bytedance/go-tagexpr - v2.7.10

  • chore: rm go:linkname validator.defaultErrorFactory
  • feat(binding): support unmarshal object
  • chore(binding): optimize error
  • fix(binding): fix invalid required tag

- Go
Published by andeya about 5 years ago

https://github.com/bytedance/go-tagexpr - v2.7.9

fix FakeBool treats mistakes as false

- Go
Published by andeya over 5 years ago

https://github.com/bytedance/go-tagexpr - v2.7.8

- Go
Published by andeya over 5 years ago

https://github.com/bytedance/go-tagexpr - v2.7.7

- Go
Published by andeya over 5 years ago

https://github.com/bytedance/go-tagexpr - v2.7.6

- Go
Published by andeya over 5 years ago

https://github.com/bytedance/go-tagexpr - v2.7.5

add go mod

- Go
Published by andeya over 5 years ago

https://github.com/bytedance/go-tagexpr - v2.7.4

fix runtime type id

- Go
Published by andeya over 5 years ago

https://github.com/bytedance/go-tagexpr - v2.7.3

  1. when there is unexportable and no tags, omit the field
  2. fix raw_body

- Go
Published by andeya over 5 years ago

https://github.com/bytedance/go-tagexpr - v2.7.2

- Go
Published by andeya over 5 years ago

https://github.com/bytedance/go-tagexpr - v2.7.1

mlen len always return number

- Go
Published by andeya almost 6 years ago

https://github.com/bytedance/go-tagexpr - v2.7.0

  • 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

- Go
Published by andeya almost 6 years ago

https://github.com/bytedance/go-tagexpr - v2.6.1

  • 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)

- Go
Published by andeya almost 6 years ago

https://github.com/bytedance/go-tagexpr - v2.6.0

  • 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

- Go
Published by andeya about 6 years ago

https://github.com/bytedance/go-tagexpr - v2.5.3

  • fix: disable the default binding order when there is a valid tag in the superior fields
  • chore(binding):optimize json required

- Go
Published by andeya about 6 years ago

https://github.com/bytedance/go-tagexpr - v2.5.2

fix(validator): get the specified error message of a nested field

- Go
Published by andeya over 6 years ago

https://github.com/bytedance/go-tagexpr - v2.5.1

fix(binding): fix the judgment of whether the parameter type exists

- Go
Published by andeya over 6 years ago

https://github.com/bytedance/go-tagexpr - v2.5.0

chore(binding): Adjust the priority of the parameter

- Go
Published by andeya over 6 years ago

https://github.com/bytedance/go-tagexpr - v2.4.1

  • Update *TagExpr.Range method
  • Fix *Validator.Validate method

- Go
Published by andeya over 6 years ago

https://github.com/bytedance/go-tagexpr - v2.4.0

  • fix: fix ExprSelector.Field method
  • feat(validator): Ignore error if the value of the parent is nil

- Go
Published by andeya over 6 years ago

https://github.com/bytedance/go-tagexpr - v2.3.9

style: Delete gomod, otherwise must add v2 on the path fix: nil pointer bug

- Go
Published by andeya over 6 years ago

https://github.com/bytedance/go-tagexpr - v2.3.8

fixed: https://github.com/bytedance/go-tagexpr/issues/9

- Go
Published by andeya over 6 years ago

https://github.com/bytedance/go-tagexpr - v2.3.7

feat: binding supports loose zero mode (if set to true, the empty string request parameter is bound to the zero value of parameter.)

- Go
Published by andeya almost 7 years ago

https://github.com/bytedance/go-tagexpr - v2.3.6

fix(binding): When there is a body parameter that is required, if there is no body, an error is returned

- Go
Published by andeya almost 7 years ago

https://github.com/bytedance/go-tagexpr - v2.3.5

feat(binding): Supplement the body binding of the request using the delete method

- Go
Published by andeya almost 7 years ago

https://github.com/bytedance/go-tagexpr - v2.3.4

fix: Multi-level nested slices, array, map (test case)

- Go
Published by andeya almost 7 years ago

https://github.com/bytedance/go-tagexpr - v2.3.3

feat: Add path parameters to the *TagExpr.Range callback function chore: Add the *VM.RunAny and remove the *VM.MustWarmUp and *VM.WarmUp

- Go
Published by andeya almost 7 years ago

https://github.com/bytedance/go-tagexpr - v2.3.2

fix(tagexpr): Fix bug in nested the map, slice, array and interface

- Go
Published by andeya almost 7 years ago

https://github.com/bytedance/go-tagexpr - v2.3.1

Fix bug in nested structure fields

- Go
Published by andeya almost 7 years ago

https://github.com/bytedance/go-tagexpr - v2.3.0

  • feat(tagexpr): Support the special tags - and ? feat: The method *TagExpr.Rang supports traversing the values of interfaces in the map, slice, and array

- Go
Published by andeya almost 7 years ago

https://github.com/bytedance/go-tagexpr - v2.2.1

fix(operator): Fix the nil comparison operation

- Go
Published by andeya almost 7 years ago

https://github.com/bytedance/go-tagexpr - v2.2.0

chore(binding): tag: rawbody -> raw_body feat(binding): Add the ResetJSONUnmarshaler function

- Go
Published by andeya almost 7 years ago

https://github.com/bytedance/go-tagexpr - v2.1.2

  • refactor(binding): support multiple tags
  • chore(binding): Improve checking performance
  • feat(binding): Support omit field
  • fix(binding): fix binder of query
  • When there are multiple tags, the order in which to try to bind is:
    1. path
    2. query
    3. rawbody
    4. form
    5. protobuf
    6. json
    7. header
    8. cookie

- Go
Published by andeya almost 7 years ago

https://github.com/bytedance/go-tagexpr - v2.1.1

fix: fix the panic bug of uintptrElem function feat(binding): Add global default function style(binding): Optimize code

- Go
Published by andeya almost 7 years ago

https://github.com/bytedance/go-tagexpr - v2.1.0

refactor binding

- Go
Published by andeya almost 7 years ago

https://github.com/bytedance/go-tagexpr - v2.0.1

chore(binding): Improve performance

- Go
Published by andeya almost 7 years ago

https://github.com/bytedance/go-tagexpr - v2.0.0

chore: Change the separator between multiple struct tag expressions to ';'

- Go
Published by andeya almost 7 years ago

https://github.com/bytedance/go-tagexpr - v1.4.0

feat: Add powerful HTTP request parameters binder that supports struct tag expression feat: Add FieldSelector type feat: Add ExprSelector type feat: Add FieldHandler and update *TagExpr.Field method chore(validator): Add *Validator.VM method

- Go
Published by andeya almost 7 years ago

https://github.com/bytedance/go-tagexpr - v1.3.3

fix(validator): validator function support multiple parameters chore(validator): RegValidateFunc -> RegFunc

- Go
Published by andeya about 7 years ago

https://github.com/bytedance/go-tagexpr - v1.3.2

chore: improve error msg

- Go
Published by andeya about 7 years ago

https://github.com/bytedance/go-tagexpr - v1.3.1

feat(validator): Add default validator

- Go
Published by andeya about 7 years ago

https://github.com/bytedance/go-tagexpr - v1.3.0

feat(validator): Support validate map, slice, array

- Go
Published by andeya about 7 years ago

https://github.com/bytedance/go-tagexpr - v1.2.7

chore: Increase pre-allocated capacity chore: Compatible with go version 1.9

- Go
Published by andeya about 7 years ago

https://github.com/bytedance/go-tagexpr - v1.2.6

*TagExpr.Range method support deep traversal of structures in map, slice and array

- Go
Published by andeya about 7 years ago

https://github.com/bytedance/go-tagexpr - v1.2.5

fix: fix field pointer offset

- Go
Published by andeya about 7 years ago

https://github.com/bytedance/go-tagexpr - v1.2.4

The field selector in the expression supports relative path instead of absolute path

- Go
Published by andeya about 7 years ago

https://github.com/bytedance/go-tagexpr - v1.2.3

chore: Check interface fields when TagExpr.Range fix: Don't panic when vm.Run method accepts nil parameter chore: Use runtime type ID, support struct type, and improve performance by 25%

- Go
Published by andeya about 7 years ago

https://github.com/bytedance/go-tagexpr - v1.2.2

|Operator or Operand|Explain| |-----|---------| |\\'| Escape ' delims in string| |\"| Escape " delims in string|

- Go
Published by andeya about 7 years ago

https://github.com/bytedance/go-tagexpr - v1.2.1

Operator ! suitable for (), bool, string, float64, nil and $

- Go
Published by andeya about 7 years ago

https://github.com/bytedance/go-tagexpr - v1.2.0

feat: Add RegFunc, support registers function expression, allows to force registration feat: Function support "!" symbol feat: Add helper method: vm.MustWarmUp and vm.MustRun chore: Remove len(), keep len($) feat(validator): Add RegValidateFunc registers validate function expression feat(validator): Add email function expression feat(validator): Add phone function expression

- Go
Published by andeya about 7 years ago

https://github.com/bytedance/go-tagexpr - v1.1.5

  • feat: support expression '-$' and '+$'
  • feat: support "$['A']" and "$[0]" to select struct sub-field
  • fix: fix the vaule getter of unsupport type

- Go
Published by andeya about 7 years ago

https://github.com/bytedance/go-tagexpr - v1.1.4

chore(expr selector): single model selector remove '@' suffix style(error): error message: 'Invalid parameter' -> 'invalid parameter'

- Go
Published by andeya over 7 years ago

https://github.com/bytedance/go-tagexpr - v1.1.3

feat: Support get any struct filed value chore: Improve stability

- Go
Published by andeya over 7 years ago

https://github.com/bytedance/go-tagexpr - v1.1.2

Fix: fix priority

- Go
Published by andeya over 7 years ago

https://github.com/bytedance/go-tagexpr - v1.1.1

feat: support nil value chore: update validator

- Go
Published by andeya over 7 years ago

https://github.com/bytedance/go-tagexpr - v1.0.0

  • struct tag expression
  • struct validator

- Go
Published by andeya over 7 years ago

https://github.com/bytedance/go-tagexpr - v1.0.0-beta

Implement all features

- Go
Published by andeya over 7 years ago