Skip to content

Commit 21baa3f

Browse files
author
Michael Vurchio
committed
Merge branch 'v2'
2 parents a8dfa35 + 979af7c commit 21baa3f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1576
-1176
lines changed

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# Svelte preprocess CSS Modules, changelog
22

3+
## 2.0.0 (May 1, 2021)
4+
New public release
5+
6+
## 2.0.0-rc.3 (April 20, 2021)
7+
8+
### Features
9+
- Add `:local()` selector
10+
### Fixes
11+
- Fix native parsing
12+
13+
## 2.0.0-rc.2 (April 16, 2021)
14+
15+
### Features
16+
- Add option `hashSeeder` to customize the source of the hashing method
17+
- Add option `allowedAttributes` to parse other attributes than `class`
18+
### Fixes
19+
- Replace `class` attribute on HTML elements and inline components
20+
- Fix external import on `native` & `mixed` mode when `<style>` already exists
21+
- Shorthand directive
22+
23+
## 2.0.0-rc.1 (April 11, 2021)
24+
25+
New main release of the preprocessor including
26+
27+
- Drop of the prefixes `$style.` & `$.` [issue #13](https://github.com/micantoine/svelte-preprocess-cssmodules/issues/13)
28+
- Introduction of three mode `native`, `mixed`, `scoped` (default being `native` following cssModules philosophy)
29+
- Requirement of the `module` attribute on the `<style>` tag to preprocess the component
30+
- Option to locally change the preprocessing mode per component by setting a value to the `module` attribute
31+
- External stylesheets' imports following the convention `.module.css`
32+
- No more IDE unused CSS selector warning [issue #5](https://github.com/micantoine/svelte-preprocess-cssmodules/issues/5)
33+
334
## 1.3.2 (Jan 4, 2021)
435
Fix attempting import from `node_modules` packages [issue #10](https://github.com/micantoine/svelte-preprocess-cssmodules/issues/10) - [pull request #11](https://github.com/micantoine/svelte-preprocess-cssmodules/pull/11)
536

0 commit comments

Comments
 (0)