Skip to content

Commit b045632

Browse files
authored
Release v0.35.3 (#529)
* WIP: writing changelog * Add a brief description of memory improvements * Bump version in the mix.exs
1 parent 0217cf1 commit b045632

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

CHANGELOG.md

+33-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,37 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased][unreleased]
99

10+
## [0.35.3] - 2024-01-25
11+
12+
This release has great performance improvements, thanks to the PRs
13+
from [@ypconstante](https://github.com/ypconstante)!
14+
15+
Most of the main functions, such as `Floki.raw_html/2` and `Floki.find/2` are
16+
faster and are using less memory. It's something like twice as fast, and half
17+
usage of memory for `find/2`, for example.
18+
19+
### Fixed
20+
21+
- Add `:leex` to Mix compilers. Fixes the build when running with dev version of Elixir.
22+
Thanks [@wojtekmach](https://github.com/wojtekmach).
23+
24+
- Fix `Floki.raw_html/2` when a tree using attributes as maps is given.
25+
Thanks [@SupaMic](https://github.com/SupaMic).
26+
27+
- Add a guard to `Floki.find/2` so people can have a better error message when an
28+
invalid input is given. Thanks [@Hajto](https://github.com/Hajto).
29+
30+
- Fix parsers to consider IO data as inputs. This may change in the next version
31+
of Floki, as I plan to drop support for IO data.
32+
Thanks [@ypconstante](https://github.com/ypconstante).
33+
34+
### Removed
35+
36+
- Remove outdated Gleam wrapper code. The external functions syntax in Gleam
37+
has [changed](https://gleam.run/book/tour/external-functions.html). So now
38+
the wrapper is not needed anymore.
39+
Thanks [@michallepicki](https://github.com/michallepicki).
40+
1041
## [0.35.2] - 2023-10-25
1142

1243
### Fixed
@@ -705,7 +736,8 @@ of the parent element inside HTML.
705736

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

708-
[unreleased]: https://github.com/philss/floki/compare/v0.35.2...HEAD
739+
[unreleased]: https://github.com/philss/floki/compare/v0.35.3...HEAD
740+
[0.35.3]: https://github.com/philss/floki/compare/v0.35.2...v0.35.3
709741
[0.35.2]: https://github.com/philss/floki/compare/v0.35.1...v0.35.2
710742
[0.35.1]: https://github.com/philss/floki/compare/v0.35.0...v0.35.1
711743
[0.35.0]: https://github.com/philss/floki/compare/v0.34.3...v0.35.0

mix.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ defmodule Floki.Mixfile do
33

44
@description "Floki is a simple HTML parser that enables search for nodes using CSS selectors."
55
@source_url "https://github.com/philss/floki"
6-
@version "0.35.2"
6+
@version "0.35.3"
77

88
def project do
99
[

0 commit comments

Comments
 (0)