Skip to content

Commit

Permalink
Bump version to 0.24.0
Browse files Browse the repository at this point in the history
  • Loading branch information
philss committed Jan 1, 2020
1 parent baba6af commit 3e90e7d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
22 changes: 21 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased][unreleased]

## [0.24.0] - 2020-01-01

### Added

- Add support for [`fast_html`](https://hexdocs.pm/fast_html), which is a "C Node" wrapping
Lexborisov's [myhtml](https://github.com/lexborisov/myhtml) - thanks [@rinpatch](https://github.com/rinpatch)
- Add setup to run our test suite against all parsers on CI - thanks [@rinpatch](https://github.com/rinpatch)
- Add `Floki.parse_document/1` and `Floki.parse_fragment/1` in order to correct parse documents
and fragments of documents - it also prevents the confusion and inconsistency of `parse/1`.
- Configure `dialyxir` in order to run Dializer easily.

### Changed

- Deprecate `Floki.parse/1` and all the functions that uses it underneath. This means that all
the functions that accepted HTML as binary are deprecated as well. This includes `find/2`, `attr/4`,
`filter_out/2`, `text/2` and `attribute/2`. The recommendation is to use those functions with an
already parsed document or fragment.
- Remove support for `Elixir 1.5`.

## [0.23.1] - 2019-12-01

### Fixed
Expand Down Expand Up @@ -447,7 +466,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.23.1...HEAD
[unreleased]: https://github.com/philss/floki/compare/v0.24.0...HEAD
[0.24.0]: https://github.com/philss/floki/compare/v0.23.1...v0.24.0
[0.23.1]: https://github.com/philss/floki/compare/v0.23.0...v0.23.1
[0.23.0]: https://github.com/philss/floki/compare/v0.22.0...v0.23.0
[0.22.0]: https://github.com/philss/floki/compare/v0.21.0...v0.22.0
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Add Floki to your `mix.exs`:
```elixir
defp deps do
[
{:floki, "~> 0.23.0"}
{:floki, "~> 0.24.0"}
]
end
```
Expand Down Expand Up @@ -113,7 +113,7 @@ After Rust is set up, you need to add `html5ever` NIF to your dependency list:
```elixir
defp deps do
[
{:floki, "~> 0.23.0"},
{:floki, "~> 0.24.0"},
{:html5ever, "~> 0.7.0"}
]
end
Expand Down Expand Up @@ -145,7 +145,7 @@ First, add `fast_html` to your dependencies:
```elixir
defp deps do
[
{:floki, "~> 0.23.0"},
{:floki, "~> 0.24.0"},
{:fast_html, "~> 1.0"}
]
end
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule Floki.Mixfile do
use Mix.Project

@description "Floki is a simple HTML parser that enables search for nodes using CSS selectors."
@version "0.23.1"
@version "0.24.0"

def project do
[
Expand Down

0 comments on commit 3e90e7d

Please # to comment.