All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
4.1.0 - 2024-11-11
- feat: add
global()
andlocal()
for animations - feat: add pure ignore comment
- fix: css nesting and pure mode
4.0.5 - 2024-04-03
- don't break the
@scope
at-rule without params
4.0.4 - 2024-01-17
- handle
@scope
at-rule - css nesting
- do not tread negative values as identifiers in the animation shorthand
4.0.3 - 2023-05-23
- fix: do not localize
animation-name
property with var and env functions
4.0.2 - 2023-05-23
- don't handle identifiers in nested function for the
animation
property
4.0.1 - 2023-05-19
- don't handle global values in
animation
andanimation-name
properties - handle all possible identifiers in
animation
andanimation-name
properties - fix bug with nested
:global
and:local
in pseudo selectors
4.0.0 - 2020-10-13
- compatibility with plugins other plugins
4.0.0-rc.4 - 2020-10-11
- compatibility with plugins other plugins
4.0.0-rc.3 - 2020-10-08
- compatibility with plugins other plugins
4.0.0-rc.2 - 2020-10-08
- minimum supported
postcss
version is^8.1.0
- minimum supported
Node.js
version is^10 || ^12 || >= 14
- compatibility with PostCSS 8
4.0.0-rc.1 - 2020-09-22
- update
icss-utils
for PostCSS 8 compatibility
4.0.0-rc.0 - 2020-09-18
- minimum supported
Node.js
version is>= 10.13.0 || >= 12.13.0 || >= 14
- minimum supported
postcss
version is^8.0.3
postcss
was moved topeerDependencies
, you need to installpostcss
in your project before use the plugin
3.0.3 - 2020-07-25
- treat
:import
and:export
statements as pure
3.0.2 - 2019-06-05
- better handle invalid syntax
3.0.1 - 2019-05-16
- adds safety check before accessing "rule parent"
3.0.0 - 2019-05-07
- don't localize imported values in selectors
- don't localize imported values in selectors
2.0.6 - 2019-03-05
- handles properly selector with escaping characters (like:
.\31 a2b3c { color: red }
)
2.0.5 - 2019-02-06
- Path to
index.js
2.0.4 - 2019-01-04
- Inappropriate modification of
steps
function arguments
2.0.3 - 2018-12-21
- Don't modify inappropriate animation keywords
2.0.2 - 2018-12-05
- Don't break unicode characters.
2.0.1 - 2018-11-23
- Handle uppercase
keyframes
at rule.
2.0.0 - 2018-11-23
- Drop support
nodejs@4
. - Update
postcss
version to7
.
0.0.11 - 2015-07-19
- Localisation of animation properties.
0.0.10 - 2015-06-17
- Localised at-rules.
0.0.9 - 2015-06-12
- Using global selectors outside of a global context no longer triggers warnings. Instead, this functionality will be provided by a CSS Modules linter.
- Keyframe rules.
0.0.8 - 2015-06-11
- Pure mode where only local scope is allowed.
- Using global selectors outside of a global context now triggers warnings.
0.0.7 - 2015-05-30
- Migrated to
css-selector-tokenizer
.
0.0.6 - 2015-05-28
- Renamed project to
postcss-modules-local-by-default
.
0.0.5 - 2015-05-22
- Support for css-loader inheritance and local imports.
0.0.4 - 2015-05-22
- Hide global leak detection behind undocumented
lint
option until it's more robust.
0.0.3 - 2015-05-22
- Transformer output now uses the new
:local(.identifier)
syntax.
- Simple global leak detection. Non-local selectors like
input{}
and[data-foobar]
now throw when not marked as global.
0.0.2 - 2015-05-14
- Support for global selectors appended directly to locals, e.g.
.foo:global(.bar)
- Automatic local classes
- Explicit global selectors with
:global