Skip to content

Releases: ganigeorgiev/fexpr

v0.5.0 Release

02 Apr 08:49

Choose a tag to compare

  • Added support for function tokens.
    Function tokens are similar to identifiers but in addition accept a list of arguments enclosed in parenthesis (). The function arguments must be separated by comma (a single trailing comma is also allowed) and each argument can be an identifier, quoted text, number or another nested function (at the moment restricted up to 2 nested).
    Example: test(), test(a.b, 123, "abc"), @a.b.c:test(true), a(b(c(1, 2))).

v0.4.1 Release

03 Jun 05:29

Choose a tag to compare

  • Preserve the original text literal quotes when in parenthesis (pocketbase#5017).

v0.4.0 Release

02 Dec 14:22

Choose a tag to compare

  • Added single line comment support: // test. Similar to whitespaces, comments are ignored by fexpr.Parse().
  • Added global fexpr.ErrEmpty variable that can be used to distinguish empty expression parse error (eg. in case there are only whitespaces or comments).

v0.3.0 Release

06 Jan 15:02

Choose a tag to compare

  • Added : as valid identifier character (could be used for modifers, eg. name:lower).

v0.2.0 Release

25 Dec 20:59

Choose a tag to compare

  • Detect negative numbers as TokenNumber
  • Added array/any/"at least one" operators:
    ?=     Array/Any equal operator (eg. `a?=b`)
    ?!=    Array/Any NOT Equal operator (eg. `a?!=b`)
    ?>     Array/Any Greater than operator (eg. `a?>b`)
    ?>=    Array/Any Greater than or equal operator (eg. `a?>=b`)
    ?<     Array/Any Less than or equal operator (eg. `a?<b`)
    ?<=    Array/Any Less than or equal operator (eg. `a?<=b`)
    ?~     Array/Any Like/Contains operator (eg. `a?~b`)
    ?!~    Array/Any NOT Like/Contains operator (eg. `a?!~b`)
    

v0.1.1 Release

22 Jan 18:00

Choose a tag to compare

Fixed typos and some lint suggestions.

v0.1.0 Release

22 Jan 17:39

Choose a tag to compare

updated module name