Floki.filter_out/2 now can filter text nodes - thanks @ckruse
Support more enconding entities in Floki.raw_html/1 - thanks @ntenczar
Fixed
Fix Floki.attribute/2 when there is only text nodes in the document - thanks @ckruse
Improvements
Performance improvements of Floki.raw_html/1 function - thanks @josevalim
Improvements in the docs and specs of Floki.traverse_and_update/2 and Floki.children/1 - thanks @josevalim
Improvements in the spec of Floki.traverse_and_update/2 - thanks @Dalgona
Improve the CI setup to run the formatter correctly - thanks @Cleidiano
[0.26.0] - 2020-02-17
Added
Add support for the pseudo-class selectors :nth-last-child and :nth-last-of-type
Fixed
Fix the typespecs of Floki.traverse_and_update/3 - thanks @RichMorin
Changed
Update optional dependency fast_html to v1.0.3
[0.25.0] - 2020-01-26
Added
Add Floki.parse_fragment!/1 and Floki.parse_document!/1 that has the same functionality of
the functions without the bang, but they return the document or fragment without the either tuple
and will raise exception in case of errors - thanks @schneiderderek
Add Floki.traverse_and_update/3 which accepts an accumulator which is useful to keep
the state while traversing the HTML tree - thanks @Dalgona
Changed
Update the html_entities dependency from v0.5.0 to v0.5.1
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps floki from 0.21.0 to 0.27.0.
Changelog
Sourced from floki's changelog.
Commits
8e34d77
Fix format of mix.exs filed9852e2
Bump version to 0.27.08f4aa86
Merge pull request #292 from philss/dependabot/hex/earmark-1.4.9b2bfaa1
Bump earmark from 1.4.4 to 1.4.9a65ba3f
Merge pull request #289 from josevalim/jv-document-post-walk-and-traverse-nodes9ce651d
Document postwalk behaviour and html nodes1bdc62d
feat:Floki.filter_out/2
now can filter out text nodes (#283)0580ef7
Merge pull request #281 from ckruse/masterdff9660
Merge pull request #288 from josevalim/jv-childrenae17157
Merge pull request #287 from josevalim/jv-refactor-traverse-and-updateDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)