Skip to content

Commit 8dbfa7b

Browse files
committed
bump version
1 parent 6a44e5d commit 8dbfa7b

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
aldeed:autoform@5.0.3
1+
aldeed:autoform@5.1.0
22
33
44
@@ -16,7 +16,7 @@ [email protected]
1616
1717
1818
19-
local-test:aldeed:autoform@5.0.3
19+
local-test:aldeed:autoform@5.1.0
2020
2121
2222

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@ forms with automatic insert and update events, and automatic reactive validation
66

77
## Change Log
88

9-
### vNext
9+
### 5.1.0
1010

1111
* Fix date handling when dealing with very low year numbers. (Thanks @jfly)
1212
* For `type="update"` and `type="method-update"` forms, a `formToModifier` hook is called instead of `formToDoc`, and it's passed a Mongo modifier. For forms with no `type` attribute, both `formToDoc` and `formToModifier` are called. (You should provide one or both based on whether you use the doc, the modifier, or both in your `onSubmit` hook.)
1313
* Array handling was changed in 5.0 to support additional use cases. However, this change also resulted in a MongoDB array handling quirk no longer being masked by AutoForm. Since this caused confusion for many people, array handling is now reverted back to pre-5.0 behavior. If your form needs to update specific array items as opposed to entire arrays, you can opt in to the proper array handling by putting `setArrayItems=true` on your `autoForm` or `quickForm`.
14+
* For "method" and "method-update" type forms, before hooks will now run before validation, unless you've specified both a `schema` attribute and a `collection` attribute. In that case, validation against the form schema happens before the before hooks run, and validation against the collection schema happens after the before hooks run, before your method is called.
15+
* Changes to avoid benign errors being thrown.
16+
* Fix potential for infinite loops related to tracking field values.
1417

1518
### 5.0.3
1619

package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Package.describe({
22
name: "aldeed:autoform",
33
summary: "Easily create forms with automatic insert and update, and automatic reactive validation.",
44
git: "https://github.com/aldeed/meteor-autoform.git",
5-
version: "5.0.3"
5+
version: "5.1.0"
66
});
77

88
Package.onUse(function(api) {

0 commit comments

Comments
 (0)