Skip to content

Commit

Permalink
Release v0.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mischov committed Sep 30, 2019
1 parent 4bbb637 commit 19759e5
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## v0.14.0 (2019-09-30)

### Breaking

* [Extract] The private `Document.Node` behaviour was removed, so any direct use of its callbacks with nodes will be broken
* [Extract] Comments no longer have spaces added around the content when encoding to HTML, so `html` output may be slightly different than before
* [Extract] A space is now only added between nodes by text extractors if the previous sibling's text didn't end in whitespace, so `data`, `own_text`, and `text` output may be slightly different than before

### Enhancements

* [Extract] Refactor extractors, removing the `Document.Node` behaviour and adding that functionality to modules under `Meeseeks.Extractor`
* [Extract] Use iodata in string building extractors instead of string concatenation
* [Extract] Optimize how whitespace is collapsed by text extractors
* [Extract] Document which extractors collapse whitespace and make it optional (on by default)

### Fixes

* [Extract] Remove incorrectly added whitespace when encoding comments to HTML
* [Extract] No longer add space between nodes when extracting text if the previous sibling's text ended in whitespace

## v0.13.1 (2019-09-09)

### Enhancements
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Ensure Rust is installed, then add Meeseeks to your `mix.exs`:
```elixir
defp deps do
[
{:meeseeks, "~> 0.13.1"}
{:meeseeks, "~> 0.14.0"}
]
end
```
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Meeseeks.Mixfile do
use Mix.Project

@version "0.13.1"
@version "0.14.0"

def project do
[
Expand Down

0 comments on commit 19759e5

Please sign in to comment.