Releases: twineworks/tweakflow
Releases · twineworks/tweakflow
v0.19.0
Fixes re-evaluation logic for functions that close over values
v0.18.0
Changes:
DictValue.keySet()
is guaranteed to return aSet
- improved helpers creating Values from Objects
v0.17.0
The following features are added:
- decimals.from_double_exact allows to access the exact value of a double as decimal
- bin.of_'type' functions allow to construct blocks of binary data
- support for the decimal type in spec assertion functions
- math.finite? function checks for double
NaN
and-+Infinity
v0.16.0
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
orD
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
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
Bugfix Release:
- fixes spec errors not propagating correctly up describe nodes
- fixes spec errors not displaying error location correctly
v0.15.0
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
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 formatlong
,double
andbinary
literals10_000_000
is a valid long literal3.1415_9265_3589_7932
is a valid double literal0b_ABCD_0192__FDAB_0293
is a valid binary literal
v0.13.0
Unescaped keys need no longer be valid identifiers, and can start with digits.
:123
is now valid syntax
v0.12.0
New feature:
- Fast binary serialization designed for situations when values cannot be held in memory and need to spill over to disk