Skip to content

Commit 2d45725

Browse files
committed
Release v0.13.0
1 parent fd2869b commit 2d45725

File tree

3 files changed

+25
-3
lines changed

3 files changed

+25
-3
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [0.13.0] - 2022-04-28
10+
11+
### Changed
12+
13+
- Bump requirement for `rustler_precompiled` to `~> v0.4`. This is needed to avoid installing Rustler by default.
14+
- Bump `html5ever` (Rust crate) to `v0.26.0`.
15+
916
## [0.12.0] - 2022-03-14
1017

1118
### Changed
@@ -77,7 +84,8 @@ is not needed for most of people using this project.
7784

7885
- Add support for OTP 24. This was achieved by updating Rustler to v0.22.
7986

80-
[Unreleased]: https://github.com/rusterlium/html5ever_elixir/compare/v0.12.0...HEAD
87+
[Unreleased]: https://github.com/rusterlium/html5ever_elixir/compare/v0.13.0...HEAD
88+
[0.13.0]: https://github.com/rusterlium/html5ever_elixir/compare/v0.12.0...v0.13.0
8189
[0.12.0]: https://github.com/rusterlium/html5ever_elixir/compare/v0.11.0...v0.12.0
8290
[0.11.0]: https://github.com/rusterlium/html5ever_elixir/compare/v0.10.1...v0.11.0
8391
[0.10.1]: https://github.com/rusterlium/html5ever_elixir/compare/v0.10.0...v0.10.1

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ The package can be installed by adding `html5ever` to your list of dependencies
1212

1313
```elixir
1414
def deps do
15-
[{:html5ever, "~> 0.12.0"}]
15+
[{:html5ever, "~> 0.13.0"}]
1616
end
1717
```
1818

19+
## Forcing compilation
20+
1921
By default **you don't need Rust installed** because the lib will try to download
2022
a precompiled NIF file. In case you want to force compilation set the
2123
`HTML5EVER_BUILD` environment variable to `true` or `1`. Alternatively you can also set the
@@ -25,6 +27,18 @@ application env `:build_from_source` to `true` in order to force the build:
2527
config :html5ever, Html5ever, build_from_source: true
2628
```
2729

30+
You also need to add Rustler to your dependencies when you want to force
31+
the compilation:
32+
33+
```elixir
34+
def deps do
35+
[
36+
{:html5ever, "~> 0.13.0"},
37+
{:rustler, ">= 0.0.0", optional: true}
38+
]
39+
end
40+
```
41+
2842
## License
2943

3044
Licensed under either of

mix.exs

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

4-
@version "0.13.0-dev"
4+
@version "0.13.0"
55
@repo_url "https://github.com/rusterlium/html5ever_elixir"
66

77
def project do

0 commit comments

Comments
 (0)