diff --git a/CHANGELOG.md b/CHANGELOG.md index a0a5663..144e9e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,26 +4,26 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [Released] -### Added -- New feature for the next release. +## [0.1.1] - 2023-23-11 ### Added -- Initial release of the project. +- Introduced `Array.wrap` extension to the `Array` class for more reliable conversion of objects to arrays within the Lennarb router environment. This method ensures consistent array wrapping of single objects and `nil` values. ### Changed -- Example change to an existing feature. +- Refactored the `put_header` method to use the `Array.wrap` method for more predictable header value handling. +- Renamed methods to have a consistent `assign_` prefix to standardize the API interface: + - `put_header` to `assign_header` + - `write_body` to `assign_body` + - `set_params` to `assign_params` + - `update_status` to `assign_status` ### Deprecated -- Example feature that will be removed in future releases. ### Removed -- Example feature that was removed. ### Fixed -- Example bug fix. ### Security -- Example security fix. diff --git a/Gemfile.lock b/Gemfile.lock index 0db57cb..ad2c235 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - lennarb (0.1.0) + lennarb (0.1.1) colorize (~> 1.1) puma (~> 6.4) rack (~> 3.0, >= 3.0.8)