Skip to content

Commit ffc6a1d

Browse files
committed
Prepare version 0.4.0
1 parent 6f5c375 commit ffc6a1d

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
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.0] - 2025-01-13
4+
- 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`.
5+
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)
6+
37
## [0.3.0] - 2024-12-22
48
- Add generators (`rails generate form foo`) ([#2](https://github.com/Intrepidd/hyperactiveform/pull/2) by [@tchiadeu](https://github.com/tchiadeu))
59

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
hyperactiveform (0.3.0)
4+
hyperactiveform (0.4.0)
55
rails (>= 7.0)
66

77
GEM

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.3.0"
4+
VERSION = "0.4.0"
55
end

0 commit comments

Comments
 (0)