Skip to content

Releases: Esri/adlib

allow zero (0) to be swapped/injected

02 Dec 19:43
Compare
Choose a tag to compare

Changed

  • critical security dependency bumps
  • update release instructions

Fixed

  • allow zero (0) to be swapped/injected

v3.0.0

10 Jan 20:45
Compare
Choose a tag to compare

Breaking Changes

  • this library no longer mixes default and named exports.
import { adlib } from "adlib";
import { mapValues } from "adlib";

// NOT
// import adlib from "adlib";
// import mapValues from "adlib";

Since adlib is the namespace for all the functions we export, this means that UMD consumers will now call adlib.adlib().

v2.3.1

16 Oct 14:30
Compare
Choose a tag to compare

Fixed

  • changed regex pattern and added trim so that handlebars contents can include whitespace that will get ignored

v2.3.0

18 Sep 17:24
Compare
Choose a tag to compare

Added

  • adlib.listDependencies function to list all variables in a template

Adlib 2.1.1

23 Jan 22:07
Compare
Choose a tag to compare
Adlib 2.1.1 Pre-release
Pre-release

Fixes issue with build of 2.1.0 for npm

Adlib 2.1.0

23 Jan 21:08
Compare
Choose a tag to compare
Adlib 2.1.0 Pre-release
Pre-release

2.1.0

Added

  • ability to specify a hierarchy of possible values in order of preference in a template, e.g. this dataset was last modified {{metadata.some.nested.timestamp||item.modified}}