Skip to content

Releases: ThoughtWorksStudios/bobcat

Bobcat 0.6.0

05 Oct 20:12
Compare
Choose a tag to compare

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

04 Oct 02:40
Compare
Choose a tag to compare

Add more functionality to Date/Time math:

  • calculate duration by subtracting a time from another time
  • int + time is now the same as time + 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

03 Oct 22:49
Compare
Choose a tag to compare
* Add ability to perform addition and subtraction on dates

Bobcat 0.5.3

29 Sep 21:23
Compare
Choose a tag to compare
* Added example.lang dependencies to release tarball
* Added support for 1 to many entity relationships through $enum fields

Bobcat 0.5.2

26 Sep 18:16
Compare
Choose a tag to compare

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

25 Sep 23:12
Compare
Choose a tag to compare
Version 0.5.1

* Includes a minor fix to distributions

Bobcat 0.5.0

25 Sep 22:37
Compare
Choose a tag to compare

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 and NOW
  • 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

31 Aug 08:28
Compare
Choose a tag to compare
version bump

Bobcat 0.4.3

25 Aug 23:19
Compare
Choose a tag to compare
artifacts from previous pipelines aren't available. need to build

Bobcat 0.4.2

25 Aug 20:05
Compare
Choose a tag to compare
Increment version