Skip to content

Commit

Permalink
release: Prepare 0.7.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
stephannv committed Sep 9, 2024
1 parent 5c79101 commit 14e0c64
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 5 deletions.
34 changes: 31 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,35 @@

All notable changes to this project will be documented on <https://stephannv.github.io/blueprint-docs/>.

## [0.6.0] - 2023-04-25
## [0.7.0] - 2023-09-09

- Allow passing comment via argument
```crystal
comment "Cool comment here"
```

- Allow rendering unsafe content using `unsafe_raw`
```crystal
unsafe_raw "<script>alert('Danger!')</script>"
```

- Add `RawHtml` to priorize performance over safety
```crystal
require "blueprint/unsafe_html"
class MyHTML
include Blueprint::UnsafeHTML
def blueprint
div "<script>alert('Danger!')</script>" # this will not be escaped
end
end
```

- Code refactoring to improve performance
- Fix safety when passing content to elements via argument


## [0.6.0] - 2023-09-08

Allows passing content to elements without using blocks, eg.

Expand All @@ -14,13 +42,13 @@ Allows passing content to elements without using blocks, eg.

Release details: <https://stephannv.github.io/blueprint-docs/changelogs/v0.6.0/>

## [0.5.1] - 2023-04-25
## [0.5.1] - 2023-09-08

Fix Crystal version string requirement.

Release details: <https://stephannv.github.io/blueprint-docs/changelogs/v0.5.1/>

## [0.5.0] - 2023-04-25
## [0.5.0] - 2023-09-08

Performance improvements: Increased speed execution by 15%.
```
Expand Down
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: blueprint
description: |
Blueprint is a lib for writing reusable and testable HTML templates in plain Crystal, allowing an OOP (Oriented Object Programming) approach when building your views.
version: 0.6.0
version: 0.7.0

authors:
- Stephann V. <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/blueprint/version.cr
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Blueprint
VERSION = "0.6.0"
VERSION = "0.7.0"
end

0 comments on commit 14e0c64

Please sign in to comment.