Skip to content

Releases: muktihari/expr

v1.4.2

02 Jul 11:59
c3dc48c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.4.1...v1.4.2

v1.4.1

01 Jan 09:25
6caabae
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.4.0...v1.4.1

v1.4.0

30 Dec 14:26
a801aaa
Compare
Choose a tag to compare

What's Changed

  • perf: change underlying value from string to interface{} by @muktihari in #28
  • chore: clean up code and add copyright header by @muktihari in #29

Full Changelog: v1.3.1...v1.4.0

v1.3.1

08 Aug 16:51
Compare
Choose a tag to compare

fix(bitwise): fix bitwise operation on NumericTypeAuto

v1.3.0

08 Aug 02:29
a13465b
Compare
Choose a tag to compare

Additional Packages:

  • bind is for binding variables into expr string
  • explain is for explaining step-by-step operations in expr (beta ver., can be improved later)

BREAKING CHANGES:

  • deprecated package boolean, float and integer has been removed. (I don't think anyone use it anyway)

v1.2.0

03 Aug 16:15
044b386
Compare
Choose a tag to compare

Changelogs:

  • Introduce new expr.Visitor{} with improved evaluation capability
  • Package boolean, float, integer is now marked as deprecated and might be deleted in the future.
  • New notation supports: binary, octal, decimal, hexadecimal, scientific
  • New type supports: complex128
  • New exported functions: Any, Complex128, Int64, Int64Strict
  • New operator supports: % (modulo) for floating numbers
  • Behaviour changes:
    • Function "Int" is no longer returning ErrIntegerDividedByZero, while "Int64Strict" does.

v1.1.7

31 Jul 07:54
fe47a41
Compare
Choose a tag to compare

Resolve issue #18 and #20
Summary:

  • Fix wrong operators in string comparison for LSS (less than) and LEQ (less than equal)
  • Unit tests added for package boolean, float, integer to ensure current implementation is bug free.

v1.1.6

05 Mar 16:45
4475970
Compare
Choose a tag to compare

Resolve issue #15

v1.1.5

02 Oct 16:15
ee87e96
Compare
Choose a tag to compare

Resolve #12

v1.1.4

02 Oct 15:30
fabd084
Compare
Choose a tag to compare

Resolve issue #8, #9 and #10

Summary:

  • fix arithmetic operation involving negative values for integer and float.
  • fix runtime error: panic caused by integer divided by zero, now return an error.
  • documentation updated