Skip to content

Releases: schibsted/jslt

Version 0.1.5: Bug fixes and new functions

03 Dec 11:31
Compare
Choose a tag to compare

Functions added:

Bugs fixed:

  • number(<input>, <fallback>) now handles the input not being a string or a number,
  • issue #41: NullpointerException in object matcher, and
  • issue #9: Make operators left-associative instead of right-associative

Version 0.1.4: Fixes and extension functions

08 Oct 15:41
Compare
Choose a tag to compare

Language extensions:

  • Added the experimental module, with the group-by macro
  • Added the is-decimal and is-integer functions (PR #27 by @ecerulm)

API extensions:

  • Support for named modules

Bug fixes:

Version 0.1.3: Fixes and language extensions

14 Aug 13:15
Compare
Choose a tag to compare

This release sees one language extension, a new function, one optimization, and bug fixes. Huge thanks to @vectro for contributions.

Language changes:

  • Added if filters in array and object comprehensions
  • The flatten() function was added

Optimizations:

  • Tiny optimization in object comprehensions

Bug fixes:

  • Implemented let inside object comprehensions
  • Fix round-tripping bug in date parsing/formatting (resolved #8), thanks to @vectro
  • Bug fix and improvement to the number() function, thanks to @vectro
  • Bug fix in date parsing/formatting (2 milliseconds off), thanks to @vectro

Version 0.1.2: Miscellaneous bug fixes

12 Jul 08:00
Compare
Choose a tag to compare

This version fixes a number of bugs and some cases of bad behaviour. One extra argument was added to the get-key function. Otherwise no language changes.

The changes:

  • Implemented size bounds on the regexp cache to prevent it from
    consuming too much memory
  • Fixed error parsing float literals ending with E9 and similar
  • Fixed bad behaviour causing order of keys in JSLT template
    to be reversed
  • Fixed bug when comparing with null
  • Fixed bug in to-json function
  • Fixed bug in format-time function
  • Added fallback argument to get-key function
  • Support for more types in FunctionWrapper
  • Upgraded to Jackson 2.9.6

The released version is available from Maven Central.

0.1.1: Add pluggable resource resolution

14 Jun 13:12
Compare
Choose a tag to compare

Minor feature extension allowing clients to control how references to JSLT modules are resolved. Earlier they were only loaded from the classpath, but now clients can resolve them any way they wish. The default remains to load them from classpath.

<dependency>
  <groupId>com.schibsted.spt.data</groupId>
  <artifactId>jslt</artifactId>
  <version>0.1.1</version>
</dependency>

Version 0.1.0

14 Jun 08:41
Compare
Choose a tag to compare

The first official release, available from Maven Central at:

<dependency>
  <groupId>com.schibsted.spt.data</groupId>
  <artifactId>jslt</artifactId>
  <version>0.1.0</version>
</dependency>