Releases: lingui/swc-plugin
Releases · lingui/swc-plugin
Release list
6.5.1
What's Changed
- refactor: labeled expressions implementation by @timofei-iatsenko in #244
Full Changelog: 6.5.0...6.5.1
6.5.0
What's Changed
- feat(options): make options serializable + re-generate snapshots by @timofei-iatsenko in #234
- feat: add opt-in
useJsdocI18nCommentoption for JSDoc extraction marks by @timofei-iatsenko in #232 - fix: make
runtime_modulesoptional by @timofei-iatsenko in #233 - fix: JS imports to be compatible with ESM by @DanielHoffmann in #237
- fix: align numeric placeholder generation with babel by @mogelbrod in #239
- fix: improve tsconfig to flag
.jsrequired extensions by @timofei-iatsenko in #243 - fix: rewrite directive scanner + handle JSX quotes by @mogelbrod in #242
- chore: update repository field to include directory path in package.json by @andrii-bodnar in #235
- docs: improve documentation and formatting for root and package READMEs by @andrii-bodnar in #231
New Contributors
- @DanielHoffmann made their first contribution in #237
Full Changelog: 6.4.0...6.5.0
6.4.0
What's Changed
This release includes a major performance overhaul of the plugin. Transforming a sample project of 1000 files (10K messages) now runs in 148ms instead of 718ms - roughly 4.9x faster ⚡
- feat: expose
mapOptionsutil and addidPrefixLeaderto mapper by @timofei-iatsenko in #225 - fix: transform macro after ts module declarations by @timofei-iatsenko in #227
- fix: improve detection of comment directives by @mogelbrod in #226
- perf: improve plugin performance by @timofei-iatsenko in #228
- chore: prepare monorepo by @timofei-iatsenko in #229
Full Changelog: 6.3.0...6.4.0
6.3.0
What's Changed
- feat: support
corePackage/jsxPackageoptions by @mogelbrod in #218 - fix: return expected type from
linguiMacroSwcPlugin()by @mogelbrod in #220 - fix: handle Lingui directive comments above macro import by @timofei-iatsenko in #223
- chore: remove example and point to the main repo example by @timofei-iatsenko in #224
Full Changelog: 6.2.0...6.3.0
6.2.0
What's Changed
- feat: bump swc core to
66.0.3, bump other deps by @timofei-iatsenko in #214 - feat: add
linguiMacroSwcPlugin()helper by @mogelbrod in #212 - fix: normalize Trans prop in options by @timofei-iatsenko in #219
- ci: enable Corepack in release workflow by @andrii-bodnar in #216
- ci: install dependencies before npm publish on release by @andrii-bodnar in #217
Full Changelog: 6.1.0...6.2.0
6.1.0
What's Changed
- feat: add lingui-set/lingui-reset comment directives by @mogelbrod in #211
Full Changelog: 6.0.0...6.1.0
6.0.0
What's Changed
- feat!: use url-safe alphabet for id by @timofei-iatsenko in #194
- feat: produce comment and context in transform output by @timofei-iatsenko in #201
- feat: add optional configurable JSX placeholder naming by @mogelbrod in #207
- feat: configurable id generation by @timofei-iatsenko in #202
- feat!: Consolidate Metadata Transformation Options into descriptorFields by @timofei-iatsenko in #208
- refactor: jsx named placeholders, reuse methods, fix readability by @timofei-iatsenko in #210
Full Changelog: 5.11.0...6.0.0
🔖 Read more about this release
6.0.0-next.3
What's Changed
- feat!: Consolidate Metadata Transformation Options into descriptorFields by @timofei-iatsenko in #208
- feat: add optional configurable JSX placeholder naming by @mogelbrod in #207
Full Changelog: 6.0.0-next.2...6.0.0-next.3
6.0.0-next.2
What's Changed
- feat: produce comment and context in transform output by @timofei-iatsenko in #201
- feat: configurable id generation by @timofei-iatsenko in #202
Full Changelog: 6.0.0-next.1...6.0.0-next.2
6.0.0-next.1
What's Changed
- chore: fix
peerDependenciesby @andrii-bodnar in #199
Full Changelog: 6.0.0-next.0...6.0.0-next.1