From eb0f61b9d1c02dedab86c485467d4ed3754e2ebe Mon Sep 17 00:00:00 2001 From: Philip Sampaio Date: Fri, 24 Feb 2023 18:10:54 -0300 Subject: [PATCH] Release v0.34.2 --- CHANGELOG.md | 14 +++++++++++++- mix.exs | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 984e9257..31aead5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased][unreleased] +## [0.34.2] - 2023-02-24 + +### Added + +- Add option to pass down arguments to the parser in `Floki.parse_document/2` and + `Floki.parse_fragment/2`. Thanks [@Kuret](https://github.com/Kuret). + +- Add support for returning more elements from the `Floki.traverse_and_update/2` function callback. + This enables the creation of more elements in the tree, but should be used with care, + since the tree can grow a lot if the change is not controlled. Thanks [@martosaur](https://github.com/martosaur). + ## [0.34.1] - 2023-02-11 ### Fixed @@ -643,7 +654,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.34.1...HEAD +[unreleased]: https://github.com/philss/floki/compare/v0.34.2...HEAD +[0.34.2]: https://github.com/philss/floki/compare/v0.34.1...v0.34.2 [0.34.1]: https://github.com/philss/floki/compare/v0.34.0...v0.34.1 [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 diff --git a/mix.exs b/mix.exs index 9b94f3cb..97dfa01e 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.34.1" + @version "0.34.2" def project do [