Skip to content

Commit be3c19d

Browse files
committed
Release v0.10.0
1 parent 19be79f commit be3c19d

File tree

4 files changed

+33
-7
lines changed

4 files changed

+33
-7
lines changed

CHANGELOG.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [0.10.0] - 2021-11-24
10+
11+
### Added
12+
13+
- Add the ability to download precompiled NIFs. We provide compiled
14+
NIF files in our GitHub releases page (from GitHub Actions) and the
15+
lib will try to download the correct NIF respecting the OS, NIF version
16+
and architecture of your build machine. This also works for Nerves
17+
projects that compiles to different targets. This way the Rust toolchain
18+
is not needed for most of people using this project.
19+
20+
### Fixed
21+
22+
- Fix compilation on macOS.
23+
924
## [0.9.0] - 2021-10-02
1025

1126
### Added
1227

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

15-
[Unreleased]: https://github.com/rusterlium/html5ever_elixir/compare/v0.9.0...HEAD
30+
[Unreleased]: https://github.com/rusterlium/html5ever_elixir/compare/v0.10.0...HEAD
31+
[0.10.0]: https://github.com/rusterlium/html5ever_elixir/releases/tag/v0.10.0
1632
[0.9.0]: https://github.com/rusterlium/html5ever_elixir/releases/tag/v0.9.0

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The package can be installed by adding `html5ever` to your list of dependencies
1212

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

lib/html5ever.ex

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ defmodule Html5ever do
33
This is an HTML parser written in Rust.
44
55
The project provides a NIF - Native Implemented Function.
6-
It works on top of a parser of the same name from the Servo
7-
project. See: [https://github.com/servo/html5ever](https://github.com/servo/html5ever).
6+
It works on top of [a parser of the same name](https://github.com/servo/html5ever)
7+
from the Servo project.
88
99
By default this lib will try to use a precompiled NIF
1010
from the GitHub releases page. This way you don't need
1111
to have the Rust toolchain installed.
1212
In case no precompiled file is found and the Mix env is
1313
production then an error is raised.
1414
15-
You can force the precompilation to occur by setting the
15+
You can force the compilation to occur by setting the
1616
value of the `HTML5EVER_BUILD` environment variable to
1717
"true" or "1". Alternatively you can also set the application
1818
env `:build_from_source` to `true` in order to force the build:

mix.exs

+12-2
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.9.0"
4+
@version "0.10.0"
55
@repo_url "https://github.com/rusterlium/html5ever_elixir"
66

77
def project do
@@ -34,14 +34,24 @@ defmodule Html5ever.Mixfile do
3434
defp docs do
3535
[
3636
main: "Html5ever",
37+
extras: ["CHANGELOG.md"],
38+
skip_undefined_reference_warnings_on: ["CHANGELOG.md"],
3739
source_ref: "v#{@version}",
3840
source_url: @repo_url
3941
]
4042
end
4143

4244
defp package do
4345
[
44-
files: ["lib", "native", "mix.exs", "README.md", "LICENSE-APACHE", "LICENSE-MIT"],
46+
files: [
47+
"lib",
48+
"native",
49+
"mix.exs",
50+
"README.md",
51+
"CHANGELOG.md",
52+
"LICENSE-APACHE",
53+
"LICENSE-MIT"
54+
],
4555
maintainers: ["hansihe", "philip"],
4656
licenses: ["MIT", "Apache-2.0"],
4757
links: %{"GitHub" => @repo_url}

0 commit comments

Comments
 (0)