Releases: ThoughtWorksStudios/bobcat
Releases · ThoughtWorksStudios/bobcat
Bobcat 0.6.0
Release 0.6.0
- Builtins are now native lambdas, meaning they are first class expressions and can be used anywhere other expressions can be used.
- In other words, one may now compose builtins with other expressions.
- Added
$uniqint()
builtin. $incr()
may now take an option offset (non-negative integer).
- Changed distribution syntax; distributions may only be used in field declarations. See README for other limitations
- Removed uniform distribution, as this was a dummy wrapper; Builtins already distribute values uniformly.
- Remove
unique
flag in favor of letting the user compose expressions to yield unique values.$uid()
,$uniqint()
, and$incr()
would be particularly useful. - Primary key statements (i.e.
pk(identifier, builtin_value_generator)
) now accept$uniqint
as a value generator.
Bobcat 0.5.6
Add more functionality to Date/Time math:
- calculate duration by subtracting a time from another time
int + time
is now the same astime + int
- can concatenate strings and time -- yields a string, honors strftime format
- increased resolution to milliseconds to match JS (and most databases)
Bobcat 0.5.5
* Add ability to perform addition and subtraction on dates
Bobcat 0.5.3
* Added example.lang dependencies to release tarball * Added support for 1 to many entity relationships through $enum fields
Bobcat 0.5.2
Release 0.5.2
- Distribution syntax is now
$distribution()
- Named distributions are referenced by string name (e.g. "normal", "uniform", etc.)
- Fixed edge-case lambda resolution issue when calling lambdas in field declarations
Bobcat 0.5.1
Version 0.5.1 * Includes a minor fix to distributions
Bobcat 0.5.0
Release 0.5.0
- All JSON output (nested, flattened, split) generates object streams (array of JSON objects)
- Added a serial/autoincrementing integer field type
- Added support to modify the primary key field name and generated value (uid vs auto increment)
- Added support for strftime date format when generating random dates
- Ensure errors are annotated with filenames and line numbers
- Support output to STDOUT for command pipelining
- --check flag does a more thorough syntax check
- Predefined date variables
UNIX_EPOCH
andNOW
- Added support for lambdas
- Added support for composable expressions in field declarations
- Added support for distributions (uniform, weight, normal, percent)
- Better documentation
- Builtin types now prefixed with
$
Bobcat 0.4.4
version bump
Bobcat 0.4.3
artifacts from previous pipelines aren't available. need to build
Bobcat 0.4.2
Increment version