Skip to content

Commit b353bf5

Browse files
committed
Prepare version 0.4.1
1 parent 36b8e3f commit b353bf5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## [Unreleased]
22

3+
## [0.4.1] - 2025-05-12
4+
- Fixes a bug where if params contained expected falsey values, the form would treat them as nil.
5+
for instance `form.submit({likes_cat: false})` would set `likes_cat` to nil instead of false.
6+
37
## [0.4.0] - 2025-01-13
48
- Add `assigned_attribute_names` method to get the list of attributes that have been assigned during the last call to `assign_form_attributes` or `submit`.
59
This is useful in a context where you want to know which attributes have been passed to the form and only act on them rather than the whole attributes hash that might be partly empty (in API calls for example)

lib/hyper_active_form/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module HyperActiveForm
4-
VERSION = "0.4.0"
4+
VERSION = "0.4.1"
55
end

0 commit comments

Comments
 (0)