This makes parse_document/2 and parse_fragment/2 accept the option
:attributes_as_maps to change the behaviour and return attributes as
maps instead of lists of tuples.
The only parser that does not support it yet is the fast_html.
Changed
Drop support for Elixir v1.11.
Change the log level of parsing logger calls from "info" to "debug".
This will help to reduce the amount of noise in production apps.
Enable usage of IO data by removing a guard for binaries in the main
parser module.
[0.35.1] - 2023-10-16
Fixed
Fix a small regression of the mochiweb parser that was breaking when a
malformed HTML was used. For more details, see the original issue:
philss/floki#492
[0.35.0] - 2023-10-13
Added
Add support for parsing attributes as maps.
This makes parse_document/2 and parse_fragment/2 accept the option
:attributes_as_maps to change the behaviour and return attributes as
maps instead of lists of tuples.
The only parser that does not support it yet is the fast_html.
Changed
Drop support for Elixir v1.11.
Change the log level of parsing logger calls from "info" to "debug".
This will help to reduce the amount of noise in production apps.
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps floki from 0.34.3 to 0.35.2.
Release notes
Sourced from floki's releases.
Changelog
Sourced from floki's changelog.
Commits
172c8e3
Release v0.35.2c2a71bc
Bump dialyxir from 1.4.1 to 1.4.2 (#495)944c00f
Rollback guard that requires only binary for parsing03c2b5a
Bump ex_doc from 0.30.8 to 0.30.9 (#494)c611523
Bump ex_doc from 0.30.7 to 0.30.8 (#493)00c2234
Release v0.35.1e338c8d
Bump ex_doc from 0.30.6 to 0.30.7 (#491)000f4be
Fix wrong assignment in the mochiweb parserbc410df
Release v0.35.09a6d040
Prepare changelog for next versionYou can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show