Skip to content

Releases: datavis-tech/json-templates

ES5 Build

11 Sep 14:07
Compare
Choose a tag to compare

This releases migrates from raw ES6 to a transpiled ES5 build, for wider campatibility.

Many thanks to @BrerBear who contributed this change #25 !

Allow templates with null leaf values

17 Aug 07:04
Compare
Choose a tag to compare

Many thanks to @BrerBear for this contribution: Allow templates with null leaf values #23, addressing the issue Failing to parse JSON with null value #22

"undefined" --> null

10 Jul 17:15
Compare
Choose a tag to compare

This release changes the behavior of missing matches. Previously, the string "undefined" was appearing in the output. After this release, the value is null.

Thanks to @javierblancosp for this contribution! #21

Object Replacement & ES6

29 Jan 09:08
Compare
Choose a tag to compare

This release introduces support for object replacement, and also migrates to ES6.

Many thanks to @javierblancosp for these changes (see #19 )!

This is a major version because the migration to ES6 may cause breakage. If the migration to raw ES6 (with no ES5 build) causes breakages for you, please open an issue and we will see about adding an ES5 build. Thank you.

Deduplication

29 Dec 20:16
Compare
Choose a tag to compare

Thanks to @DrPaulBrewer for de-duplication of output! See #16

Nested object parameters

09 May 16:40
Compare
Choose a tag to compare

Nested object parameters #14 (thanks to @taras80!)

Special Characters in Defaults

02 May 17:22
Compare
Choose a tag to compare

Handle all special characters in defaults #12 (thanks to @taras80)

At Symbol

27 Apr 22:55
Compare
Choose a tag to compare

Handle 'at' symbol in default values #11 (Thanks to @taras80)

Periods

01 Dec 18:21
Compare
Choose a tag to compare

Handle periods in default values #8

Handle dashes

11 Nov 11:11
Compare
Choose a tag to compare

With this release, it's possible to include dashes "-" in template default values.