Skip to content

Commit

Permalink
Release v0.32.0
Browse files Browse the repository at this point in the history
See the CHANGELOG.md for the changes.
  • Loading branch information
philss committed Oct 18, 2021
1 parent 6996f57 commit a30a7b8
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased][unreleased]

## [0.32.0] - 2021-10-18

### Added

- Add an HTML tokenizer written in Elixir - this still experimental and it's not stable API yet.
- Add support for HTML IDs containing periods in the selectors - thanks [@Hugo-Hache](https://github.com/Hugo-Hache)
- Add support for case-insensitive CSS attribute selectors - thanks [@fcapovilla](https://github.com/fcapovilla)
- Add the `:root` pseudo-class selector - thanks [@fcapovilla](https://github.com/fcapovilla)

## [0.31.0] - 2021-06-11

### Changed
Expand Down Expand Up @@ -581,7 +590,8 @@ of the parent element inside HTML.

- Elixir version requirement from "~> 1.0.0" to ">= 1.0.0".

[unreleased]: https://github.com/philss/floki/compare/v0.31.0...HEAD
[unreleased]: https://github.com/philss/floki/compare/v0.32.0...HEAD
[0.32.0]: https://github.com/philss/floki/compare/v0.31.0...v0.32.0
[0.31.0]: https://github.com/philss/floki/compare/v0.30.1...v0.31.0
[0.30.1]: https://github.com/philss/floki/compare/v0.30.0...v0.30.1
[0.30.0]: https://github.com/philss/floki/compare/v0.29.0...v0.30.0
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Add Floki to your `mix.exs`:
```elixir
defp deps do
[
{:floki, "~> 0.31.0"}
{:floki, "~> 0.32.0"}
]
end
```
Expand Down Expand Up @@ -120,8 +120,8 @@ After Rust is set up, you need to add `html5ever` NIF to your dependency list:
```elixir
defp deps do
[
{:floki, "~> 0.31.0"},
{:html5ever, "~> 0.8.0"}
{:floki, "~> 0.32.0"},
{:html5ever, "~> 0.9.0"}
]
end
```
Expand All @@ -148,7 +148,7 @@ First, add `fast_html` to your dependencies:
```elixir
defp deps do
[
{:floki, "~> 0.31.0"},
{:floki, "~> 0.32.0"},
{:fast_html, "~> 2.0"}
]
end
Expand Down
4 changes: 2 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defmodule Floki.Mixfile do

@description "Floki is a simple HTML parser that enables search for nodes using CSS selectors."
@source_url "https://github.com/philss/floki"
@version "0.31.0"
@version "0.32.0"

def project do
[
Expand Down Expand Up @@ -127,6 +127,6 @@ defmodule Floki.Mixfile do
end

# Specifies which paths to compile per environment.
defp elixirc_paths(env) when env in [:test], do: ["test/support", "lib"]
defp elixirc_paths(:test), do: ["test/support", "lib"]
defp elixirc_paths(_), do: ["lib"]
end

0 comments on commit a30a7b8

Please sign in to comment.