Skip to content

Commit

Permalink
chore: release v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lomirus committed Jan 28, 2022
1 parent 6469fa3 commit 4971d09
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
15 changes: 13 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
## v0.2.0 (2022-01-19)
## v0.3.0 (2022)

### Refactor

- Now `parse()` returns a `Result<Vec<Node>, String>` instead of `Vec<Node>` for better error handling.

### Fix

- Fail to parse the attributes if the the last key of it doesn't have the value, like `<script src="index.js" type="module" defer></script>`
- In previous version, `parse` sometimes may return an unexpected result but without any error message. And now any currently known error will be delivered.
- Tag string in `<script>` or `<style>` cannot be parsed correctly. For example, `<script>"<div></div>"</script>` would be parsed as a `<div>` element in the `<script>` instead of the plain string.

## v0.2.0 (2022-01-19)

### Enhancements

Expand All @@ -26,4 +33,8 @@
<script src="index.js" type="module"></script>
```

### Fix

- Fail to parse the attributes if the the last key of it doesn't have the value, like `<script src="index.js" type="module" defer></script>`

## v0.1.0 (2022-01-01)
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "html_editor"
version = "0.2.0"
version = "0.3.0"
edition = "2021"
authors = ["Lomirus"]
description = "Pure, simple and elegant HTML parser and editor."
Expand Down

0 comments on commit 4971d09

Please sign in to comment.