Skip to content

Releases: twineworks/tweakflow

v0.19.0

25 Oct 14:33
Compare
Choose a tag to compare

Fixes re-evaluation logic for functions that close over values

v0.18.0

10 Oct 15:13
Compare
Choose a tag to compare

Changes:

  • DictValue.keySet() is guaranteed to return a Set
  • improved helpers creating Values from Objects

v0.17.0

23 Aug 14:23
Compare
Choose a tag to compare

The following features are added:

v0.16.0

21 Aug 15:01
Compare
Choose a tag to compare

This release introduces the exact decimal type decimal backed internally by a java BigDecimal

  • decimal literals are written just like longs or doubles, with a d or D suffix setting them apart: 1.0d, 1e-3D, 1_000_000_D are all valid decimal numbers
  • standard library functions such as math.min, math.abs, etc. are updated to correctly handle decimals
  • dedicated decimals library for decimal-specific operations such as arbitrary precision division and scaling

v0.15.2

02 Aug 14:11
Compare
Choose a tag to compare

Changes in this release:

  • added data.index_by function to std
  • added data.omit function to std
  • improve spec-runner to report tests skipped due to before hook or subject hook failure as failed

v0.15.1

23 Jul 12:24
Compare
Choose a tag to compare

Bugfix Release:

  • fixes spec errors not propagating correctly up describe nodes
  • fixes spec errors not displaying error location correctly

v0.15.0

22 Jul 18:00
Compare
Choose a tag to compare

New Features:

  • compiler parses multiple files concurrently
  • spec runner framework similar to mocha or rspec
    • standard library tested using test framework
    • support for host-application-provided side-effects in spec framework

v0.14.0

12 Jun 09:39
Compare
Choose a tag to compare

New features:

  • Support for binary data type

  • standard library includes functions working on binary data

    • converting to/from hex string representation
    • interpreting bytes as byte/word/dword/long/float/double
    • encoding/decoding base64
  • Ability to specify resource load path for command line tools

    • this supports jars on class path that contain tweakflow code
  • relaxed symbol key syntax: -,+, and / are now allowed characters

    • :content-type, :here/or/there, and :+foo+ are now valid keys
  • allow _ to visually format long, double and binary literals

    • 10_000_000 is a valid long literal
    • 3.1415_9265_3589_7932 is a valid double literal
    • 0b_ABCD_0192__FDAB_0293 is a valid binary literal

v0.13.0

28 May 14:50
Compare
Choose a tag to compare

Unescaped keys need no longer be valid identifiers, and can start with digits.

:123 is now valid syntax

v0.12.0

20 May 16:07
Compare
Choose a tag to compare

New feature:

  • Fast binary serialization designed for situations when values cannot be held in memory and need to spill over to disk