Skip to content

Commit 1cd8576

Browse files
committed
Release v0.0.7
1 parent bc5d122 commit 1cd8576

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

CHANGELOG.MD

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
1+
# v0.0.7
2+
3+
## Added
4+
- `:embed_by_default` config option to embed stylesheets by default (/DefactoSoftware/ex_css_modules/pull/#67).
5+
- `:json_library` config option to specify the JSON library (/DefactoSoftware/ex_css_modules/pull/#75).
6+
17
# v0.0.6
28

39
## Added
4-
- Add possiblity to call `class/3`, `class_name/3` and `class_selector/2` with an atom as second argument (#22).
5-
- Add typespecs to functions in ExCSSModules module (#22).
10+
- Add possibility to call `class/3`, `class_name/3` and `class_selector/2` with an atom as second argument (/DefactoSoftware/ex_css_modules/pull/#22).
11+
- Add typespecs to functions in ExCSSModules module (/DefactoSoftware/ex_css_modules/pull/#22).
612

713
# v0.0.5
814

915
## Added
10-
- Add `class/2` for conditional checking (#10).
16+
- Add `class/2` for conditional checking (/DefactoSoftware/ex_css_modules/pull/#10).
1117

1218
# v0.0.4
1319

1420
## Changed
15-
- The embed option is now evaluated to allow `Mix.env == :prod` and other code that needs to be evaluated (#7).
21+
- The embed option is now evaluated to allow `Mix.env == :prod` and other code that needs to be evaluated (/DefactoSoftware/ex_css_modules/pull/#7).
1622

1723
# v0.0.3
1824

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ Install from [Hex.pm](https://hex.pm/packages/ex_css_modules):
1616

1717
```ex
1818
def deps do
19-
[{:ex_css_modules, "~> 0.0.6"}]
19+
[{:ex_css_modules, "~> 0.0.7"}]
2020
end
2121
```
2222

2323
## Usage
24-
To use ExCSSModules in a view compile the CSS file (ie: through brunch of webpack) and add the following to the view:
24+
To use ExCSSModules in a view compile the CSS file (e.g. through Brunch or Webpack) and add the following to the view:
2525

2626
```ex
2727
defmodule MyApplication.ExampleView do
@@ -77,7 +77,7 @@ end
7777

7878
### JSON library selection
7979

80-
ExCSSModules needs to parse JSON files in order to read the mappings between the base classe names and the autogenerated
80+
ExCSSModules needs to parse JSON files in order to read the mappings between the base classnames and the autogenerated
8181
ones. You can specify which JSON parsing library you wish to use through the `:json_library` config option. If your
8282
project uses Phoenix, it is recommended to use the same library for both Phoenix and ExCSSModules. ExCSSModules uses
8383
[Poison](https://hex.pm/packages/poison) by default.

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule ExCSSModules.Mixfile do
22
use Mix.Project
33

4-
@version "0.0.6"
4+
@version "0.0.7"
55

66
def project do
77
[

0 commit comments

Comments
 (0)