diff --git a/CHANGELOG.md b/CHANGELOG.md index 948c876a..b8399338 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased][unreleased] +## [0.36.2] - 2024-04-26 + +### Added + +- Implement the `Inspect` protocol for the `Floki.HTMLTree` struct. + This struct is currently private. Thank you [@vittoriabitton](https://github.com/vittoriabitton). + +### Fixed + +- Fix regression to respect config option `:encode` in `Floki.raw_html/2`. + Thanks [@Sgoettschkes](https://github.com/Sgoettschkes). + +- Make the `Floki.raw_html/2` treat the contents of the `` tag as plain text. + The idea is to align with `parse_document/2`. + Thank you [@aymanosman](https://github.com/aymanosman). + ## [0.36.1] - 2024-03-18 ### Fixed @@ -770,7 +786,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.36.1...HEAD +[unreleased]: https://github.com/philss/floki/compare/v0.36.2...HEAD +[0.36.2]: https://github.com/philss/floki/compare/v0.36.1...v0.36.2 [0.36.1]: https://github.com/philss/floki/compare/v0.36.0...v0.36.1 [0.36.0]: https://github.com/philss/floki/compare/v0.35.4...v0.36.0 [0.35.4]: https://github.com/philss/floki/compare/v0.35.3...v0.35.4 diff --git a/mix.exs b/mix.exs index f555f849..162bd5e4 100644 --- a/mix.exs +++ b/mix.exs @@ -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.36.1" + @version "0.36.2" def project do [