Skip to content

Commit

Permalink
Release v0.36.0
Browse files Browse the repository at this point in the history
  • Loading branch information
philss committed Mar 1, 2024
1 parent c479644 commit 6fc70d4
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 5 deletions.
21 changes: 20 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased][unreleased]

## [0.36.0] - 2024-03-01

### Added

- Add `Floki.get_by_id/1` that returns one element by ID or `nil`.
Thanks [@SteffenDE](https://github.com/SteffenDE).

### Changed

- Improve options validation with `Keyword.validate!/2`.
This is not a change in APIs, but the error messages and opts validation
should be standardized now.
Thanks [@vittoriabitton](https://github.com/vittoriabitton).

### Removed

- Drop support for Elixir v1.12.

## [0.35.4] - 2024-02-19

Besides the fix described below, this release also contains more performance
Expand Down Expand Up @@ -746,7 +764,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.35.4...HEAD
[unreleased]: https://github.com/philss/floki/compare/v0.36.0...HEAD
[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
[0.35.3]: https://github.com/philss/floki/compare/v0.35.2...v0.35.3
[0.35.2]: https://github.com/philss/floki/compare/v0.35.1...v0.35.2
Expand Down
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,21 @@ Add Floki to your `mix.exs`:
```elixir
defp deps do
[
{:floki, "~> 0.35.0"}
{:floki, "~> 0.36.0"}
]
end
```

After that, run `mix deps.get`.

If you are running on [Livebook](https://livebook.dev) or a script, you can install with `Mix.install/2`:

```elixir
Mix.install([
{:floki, "~> 0.36.0"}
])
```

You can check the [changelog](CHANGELOG.md) for changes.

## Dependencies
Expand Down Expand Up @@ -118,7 +126,7 @@ you don't need to install anything to compile it thanks to [RustlerPrecompiled](
```elixir
defp deps do
[
{:floki, "~> 0.35.0"},
{:floki, "~> 0.36.0"},
{:html5ever, "~> 0.15.0"}
]
end
Expand Down Expand Up @@ -146,7 +154,7 @@ First, add `fast_html` to your dependencies:
```elixir
defp deps do
[
{:floki, "~> 0.35.0"},
{:floki, "~> 0.36.0"},
{:fast_html, "~> 2.0"}
]
end
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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.35.4"
@version "0.36.0"

def project do
[
Expand Down

0 comments on commit 6fc70d4

Please sign in to comment.