From e6f60f7707c877bb2bb9cbe10348226bc2998b5f Mon Sep 17 00:00:00 2001 From: stephann <3025661+stephannv@users.noreply.github.com> Date: Fri, 11 Oct 2024 11:19:59 -0300 Subject: [PATCH] release: Prepare 0.10.0 release --- CHANGELOG.md | 22 ++++++++++++++++++++++ shard.yml | 2 +- src/blueprint/version.cr | 2 +- 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 940625f..fa75547 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,28 @@ All notable changes to this project will be documented on . +# [0.10.0] - 2024-10-11 + +### Allow any type `#plain`/`#comment` methods + +Now you can pass any object that responds `to_s` to `#plain`/`#comment` methods. + +```crystal +class ExamplePage + include Blueprint::HTML + + def blueprint + # before: + plain custom_object.to_s + comment other_object.to_s + + # after: + plain custom_object + comment other_object + end +end +``` + # [0.9.0] - 2024-09-21 ### Form Builder diff --git a/shard.yml b/shard.yml index da20859..a13d06d 100644 --- a/shard.yml +++ b/shard.yml @@ -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.9.0 +version: 0.10.0 authors: - Stephann V. <3025661+stephannv@users.noreply.github.com> diff --git a/src/blueprint/version.cr b/src/blueprint/version.cr index da22342..405cef5 100644 --- a/src/blueprint/version.cr +++ b/src/blueprint/version.cr @@ -1,3 +1,3 @@ module Blueprint - VERSION = "0.9.0" + VERSION = "0.10.0" end