Skip to content

Commit

Permalink
Release v0.34.0
Browse files Browse the repository at this point in the history
  • Loading branch information
philss committed Nov 3, 2022
1 parent cb89f58 commit 9182671
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 6 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.34.0] - 2022-11-03

### Added

- User configurable "self-closing" tags. Now it's possible to define which tags are considered
"self-closing". Thanks [@inoas](https://github.com/inoas).

### Fixed

- Allow attribute values to not be escaped. This fixes `Floki.raw_html/2` when used with the
option `encode: false`. Thanks [@juanazam](https://github.com/juanazam).
- Fix `traverse_and_update/3` spec. Thanks [@WLSF](https://github.com/WLSF).

### Changed

- Drop support for Elixir 1.9 and 1.10.
- Remove `html_entities` dependency. We now use an internal encoder/decoder for entities.
- Change the main branch name to `main`.

## [0.33.1] - 2022-06-28

### Fixed
Expand Down Expand Up @@ -614,7 +633,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.33.1...HEAD
[unreleased]: https://github.com/philss/floki/compare/v0.34.0...HEAD
[0.34.0]: https://github.com/philss/floki/compare/v0.33.1...v0.34.0
[0.33.1]: https://github.com/philss/floki/compare/v0.33.0...v0.33.1
[0.33.0]: https://github.com/philss/floki/compare/v0.32.1...v0.33.0
[0.32.1]: https://github.com/philss/floki/compare/v0.32.0...v0.32.1
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.33.0"}
{:floki, "~> 0.34.0"}
]
end
```
Expand Down Expand Up @@ -118,8 +118,8 @@ you don't need to install anything to compile it thanks to [RustlerPrecompiled](
```elixir
defp deps do
[
{:floki, "~> 0.33.0"},
{:html5ever, "~> 0.13.0"}
{:floki, "~> 0.34.0"},
{:html5ever, "~> 0.14.0"}
]
end
```
Expand All @@ -146,7 +146,7 @@ First, add `fast_html` to your dependencies:
```elixir
defp deps do
[
{:floki, "~> 0.33.0"},
{:floki, "~> 0.34.0"},
{:fast_html, "~> 2.0"}
]
end
Expand Down
2 changes: 1 addition & 1 deletion 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.33.1"
@version "0.34.0"

def project do
[
Expand Down

0 comments on commit 9182671

Please sign in to comment.