Skip to content

Commit

Permalink
release: Prepare 0.9.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
stephannv committed Sep 21, 2024
1 parent 8f6863a commit 3698089
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 2 deletions.
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,39 @@

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

# [0.9.0] - 2024-09-21

### Form Builder
Using `#form_builder` you can access some utility methods to build labels and inputs:

```crystal
class ExamplePage
include Blueprint::HTML
def blueprint
form_builder action: "/sign-in", method: :post do |form|
form.label :email
form.email_input :email
form.label :password
form.password_input :password
end
end
end
puts ExamplePage.new.to_s
# <form action="/sign-in" method="post">
# <label for="email">Email</label>
# <input type="email" id="email" name="email">
#
# <label for="password">Password</label>
# <input type="password" id="password" name="password">
# </form>
```

More example at docs: https://stephannv.github.io/blueprint-docs/handbook/forms/


# [0.8.0] - 2024-09-14

### Overhauled docs
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: |
A lib for writing reusable and testable views templates (HTML, SVG, Forms) in plain Crystal. Inspired by Phlex.
version: 0.8.0
version: 0.9.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.8.0"
VERSION = "0.9.0"
end

0 comments on commit 3698089

Please sign in to comment.