Skip to content

Commit

Permalink
Release v0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
philss committed Apr 28, 2022
1 parent fd2869b commit 2d45725
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.13.0] - 2022-04-28

### Changed

- Bump requirement for `rustler_precompiled` to `~> v0.4`. This is needed to avoid installing Rustler by default.
- Bump `html5ever` (Rust crate) to `v0.26.0`.

## [0.12.0] - 2022-03-14

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

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

[Unreleased]: https://github.com/rusterlium/html5ever_elixir/compare/v0.12.0...HEAD
[Unreleased]: https://github.com/rusterlium/html5ever_elixir/compare/v0.13.0...HEAD
[0.13.0]: https://github.com/rusterlium/html5ever_elixir/compare/v0.12.0...v0.13.0
[0.12.0]: https://github.com/rusterlium/html5ever_elixir/compare/v0.11.0...v0.12.0
[0.11.0]: https://github.com/rusterlium/html5ever_elixir/compare/v0.10.1...v0.11.0
[0.10.1]: https://github.com/rusterlium/html5ever_elixir/compare/v0.10.0...v0.10.1
Expand Down
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ The package can be installed by adding `html5ever` to your list of dependencies

```elixir
def deps do
[{:html5ever, "~> 0.12.0"}]
[{:html5ever, "~> 0.13.0"}]
end
```

## Forcing compilation

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

You also need to add Rustler to your dependencies when you want to force
the compilation:

```elixir
def deps do
[
{:html5ever, "~> 0.13.0"},
{:rustler, ">= 0.0.0", optional: true}
]
end
```

## License

Licensed under either of
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Html5ever.Mixfile do
use Mix.Project

@version "0.13.0-dev"
@version "0.13.0"
@repo_url "https://github.com/rusterlium/html5ever_elixir"

def project do
Expand Down

0 comments on commit 2d45725

Please sign in to comment.