All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.11.9 - 2024-12-09
Features
optimizeImports
: re-index[email protected]
components to supporttoHierarchy
Fixes
optimizeImports
: append line break to optimized path
0.11.8 - 2024-11-30
Fixes
- de-dupe selectors in component index
- preserve comments in TypeScript definitions
0.11.7 - 2024-09-18
Fixes
- fix
OptimizeCssPlugin
to convert buffer to string - patch
postcss
andpostcss-discard-empty
dependencies
0.11.6 - 2024-08-20
Fixes
- remove code comments from transpiled code
0.11.5 - 2024-07-28
Fixes
- omit pretty printing component index to reduce package size
0.11.4 - 2024-07-28
Fixes
optimizeCss
: do not remove custom@font-face
rules ifpreserveAllIBMFonts
isfalse
0.11.3 - 2024-04-29
Fixes
optimizeImports
: usewalk
fromestree-walker
directly for Svelte 5 compatibility
0.11.2 - 2024-04-08
Fixes
optimizeCss
: do not print diff if value is zero
0.11.1 - 2024-04-07
Fixes
optimizeCss
: only remove selectors containing the Carbonbx--
prefix
0.11.0 - 2024-03-23
Breaking Changes
- Remove all preprocessors except for
optimizeImports
optimizeImports
: drop support forcarbon-icons-svelte
version 10,carbon-pictograms-svelte
version 10- Rewrite
optimizeCss
plugin from scratch; it's now offered as a Vite/Rollup/Webpack plugin.[email protected]
or greater is required
0.10.0 - 2023-07-23
Breaking Changes
- upgrade
svelte-preprocess
from v4.10.7 to v5.0.3 to support TypeScript 5
Fixes
- support
carbon-icons-svelte@12
0.9.1 - 2022-06-19
- bump
svelte-preprocess
from v4.10.5 to v4.10.7
0.9.0 - 2022-04-17
- upgrade
carbon-components-svelte
to v0.63.0 and rebuild components API used byoptimizeImports
- set latest major version of
carbon-pictograms-svelte
to12
0.8.2 - 2022-04-10
- set latest major version of
carbon-icons-svelte
to11
0.8.1 - 2022-04-10
- hot fix to re-build components imports map using a non-linked version of
carbon-components-svelte
0.8.0 - 2022-04-10
- upgrade
@carbon/icons
to v11.0.1 - update
optimizeImports
to supportcarbon-icons-svelte@11
component imports
0.7.0 - 2022-03-19
- upgrade
carbon-components-svelte
to v0.62.0 to account for the removedCopy
component and inlined icon components
0.6.0 - 2021-07-11
- upgrade
carbon-components-svelte
to v0.40.0 to includeBreakpoint
,Theme
components foroptimizeImports
0.5.0 - 2021-07-05
- upgrade
carbon-components-svelte
to v0.39.0 to includeRecursiveList
,TreeView
components foroptimizeImports
0.4.0 - 2021-06-28
Features
- upgrade
carbon-components-svelte
to v0.38.0 to includeProgressBar
component foroptimizeImports
Fixes
- default
include
preprocessor entry test regex to high-level test option
0.3.0 - 2021-05-21
Features
- add
test
option toinclude
preprocessor to filter filenames
Fixes
- support custom
test
regex per script/markup object ininclude
preprocessor
0.2.0 - 2021-05-21
Features
- add
include
preprocessor that prepends or appends arbitrary content to the script and markup blocks
Documentation
- enrich preprocessor descriptions
- simplify sample SvelteKit set-up
0.1.0 - 2021-05-11
Documentation
- improve preprocessor descriptions, add sample SvelteKit set-up
0.1.0-rc.5 - 2021-05-11
Fixes
- add separate entry point for CJS bundle
0.1.0-rc.4 - 2021-05-10
Fixes
- add TypeScript as a direct dependency
0.1.0-rc.3 - 2021-05-10
Features
- use
svelte-preprocess
in theoptimizeCss
plugin to parse TypeScript syntax in Svelte components
Documentation
- list available theme options for the
elements
preprocessor
0.1.0-rc.2 - 2021-05-08
Fixes
- add
purgecss
as a dependency and exclude from bundle
Documentation
- add
optimizeCss
API to README
0.1.0-rc.1 - 2021-05-08
Fixes
- elements: only replace token in property instead of the entire property
- elements: do not emit warning if token is falsy
- add exports map to
package.json
sosvelte.config.js
works properly - temporarily omit
optimizeCss
plugin from library
Documentation
- use ESM instead of CJS syntax in
svelte.config.js
usage examples
0.1.0-rc.0 - 2021-05-07
- initial release