Skip to content

Releases: kalispera/babel-plugin-transform-jsx-directives

v1.1.3

08 Nov 22:46
801f0c5
Compare
Choose a tag to compare

1.1.3 (2017-11-08)

Bug Fixes

  • apply attribute directives when used multiple times on same element (801f0c5)

v1.1.2

03 Nov 17:14
9de4b7d
Compare
Choose a tag to compare

1.1.2 (2017-11-03)

Bug Fixes

  • mark created directive imports (9de4b7d)

v1.1.1

03 Nov 15:55
d40cec9
Compare
Choose a tag to compare

1.1.1 (2017-11-03)

Bug Fixes

  • resolve directive sources just before creating import (d40cec9)

v1.1.0

03 Nov 14:46
60cbabd
Compare
Choose a tag to compare

1.1.0 (2017-11-03)

Features

  • support dynamic directive sources (8fc7c58)

v1.0.0

28 Oct 14:47
f2ec1a7
Compare
Choose a tag to compare

1.0.0 (2017-10-28)

Features

  • globalOptions: remove feature (2e15698)

BREAKING CHANGES

  • globalOptions: directive.globalOptions is now being ignored and
    the object in [directive.js, { global: option }] is
    provided to bootstrap instead of globalOptions.
    Migration: When a directive needs globalOptions, the bootstrap
    function can provide them to the directive runtime.

previously:

export default function Directive({ globalOptions }) {
  console.log(globalOptions);
  /* ... */
}

now:

let globalOptions = null;
export function bootstrap(options) {
  globalOptions = options;
}
export default function Directive() {
  console.log(globalOptions);
  /* ... */
}

v0.9.0

28 Oct 14:28
ebb086f
Compare
Choose a tag to compare

0.9.0 (2017-10-28)

Features

  • bootstrap: support bootstrap scripts for directives (ebb086f)

v0.8.1

07 Oct 21:06
1cc948b
Compare
Choose a tag to compare

0.8.1 (2017-10-07)

Bug Fixes

  • JSXNamespacedName: skip further transformation of namespaced directives (1cc948b)

v0.8.0

02 Oct 13:10
4362d1c
Compare
Choose a tag to compare

0.8.0 (2017-10-02)

Features

  • as: pass jsx namespace as "as" to directive (914d76f)
  • globalOptions: add feature (2554444)

v0.7.0

07 Sep 22:52
76d8a98
Compare
Choose a tag to compare

0.7.0 (2017-09-07)

Features

  • transformOptions: support directive specific transformations (76d8a98)

v0.6.0

02 Sep 10:26
11b3065
Compare
Choose a tag to compare

0.6.0 (2017-09-02)

Features

  • support attributes without values (11b3065)