Releases: kalispera/babel-plugin-transform-jsx-directives
Releases · kalispera/babel-plugin-transform-jsx-directives
v1.1.3
1.1.3 (2017-11-08)
Bug Fixes
- apply attribute directives when used multiple times on same element (801f0c5)
v1.1.2
1.1.2 (2017-11-03)
Bug Fixes
- mark created directive imports (9de4b7d)
v1.1.1
1.1.1 (2017-11-03)
Bug Fixes
- resolve directive sources just before creating import (d40cec9)
v1.1.0
1.1.0 (2017-11-03)
Features
- support dynamic directive sources (8fc7c58)
v1.0.0
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
0.9.0 (2017-10-28)
Features
- bootstrap: support bootstrap scripts for directives (ebb086f)
v0.8.1
0.8.1 (2017-10-07)
Bug Fixes
- JSXNamespacedName: skip further transformation of namespaced directives (1cc948b)
v0.8.0
0.8.0 (2017-10-02)
Features
- as: pass jsx namespace as "as" to directive (914d76f)
- globalOptions: add feature (2554444)
v0.7.0
0.7.0 (2017-09-07)
Features
- transformOptions: support directive specific transformations (76d8a98)
v0.6.0
0.6.0 (2017-09-02)
Features
- support attributes without values (11b3065)