Releases: Meteor-Community-Packages/meteor-autoform
7.1.0
Important: this release brings compatibility with aldeed:collection2@4.0.0
and aldeed:simple-schema@1.13.0
What's Changed
- Fix array count context by @jankapunkt in #1705
- add all test files to .meteorignore by @jankapunkt in #1708
- Bump minimist from 1.2.5 to 1.2.6 in /testapp by @dependabot in #1713
- Bump pathval from 1.1.0 to 1.1.1 in /testapp by @dependabot in #1712
- Bump glob-parent from 5.1.1 to 5.1.2 in /testapp by @dependabot in #1714
- Bump path-parse from 1.0.6 to 1.0.7 in /testapp by @dependabot in #1715
- Bump hosted-git-info from 2.8.8 to 2.8.9 in /testapp by @dependabot in #1716
- Bump ansi-regex from 4.1.0 to 4.1.1 in /testapp by @dependabot in #1717
- Bump node-fetch from 2.6.1 to 2.6.7 in /testapp by @dependabot in #1718
- Bump lodash from 4.17.20 to 4.17.21 in /testapp by @dependabot in #1719
- Bump ws from 7.4.0 to 7.5.7 in /testapp by @dependabot in #1720
- Bump minimatch from 3.0.4 to 3.1.2 in /testapp by @dependabot in #1725
- feature(ci): add comment issue workflow by @jankapunkt in #1726
- Bump json5 from 1.0.1 to 1.0.2 in /testapp by @dependabot in #1728
- Reset the cache of the last modified key when the form data is reset or updated externally by @atf-cguerin in #1602
- Update link for autoform slider extension by @jankapunkt in #1686
- Bump word-wrap from 1.2.3 to 1.2.4 in /testapp by @dependabot in #1732
- Feature: warn on no theme by @jankapunkt in #1734
- Bump @babel/traverse from 7.12.7 to 7.23.2 in /testapp by @dependabot in #1735
- Add autoform-datemask by @jkutianski in #1691
- Add mongo-object by @harryadel in #1738
New Contributors
- @dependabot made their first contribution in #1713
- @atf-cguerin made their first contribution in #1602
- @jkutianski made their first contribution in #1691
- @harryadel made their first contribution in #1738
Full Changelog: 7.0.0...7.1.0
v7.0.0
Major release with many improvements
- all code is es6 now
- ~280 tests + testsuite added
- standard code linted
- some bugs fixed in the process
- supports dynamic imports
v6.3.0
Updated to have a weak dependency on aldeed:collection2@3.0.0 in addition to aldeed:collection2-core. Core has been merged back into the main package as a 3.0.0 release.
v6.1.0
firstOption
when specified in the schema can now be a function (thanks @MartinBucko)- Insert forms reset more reliably after successful submission (thanks @alexk7)
AutoForm.selectFirstInvalidField
works on more types of fields (thanks @ro6)- The form
doc
is now passed to the schema during validation to support multiple schema variations (thanks @gregory, @nidem) afArrayField
with thebootstrap3
template now supportspanelClass
andheadingClass
attributes (thanks @c316)- When you have multiple
autosave=true
forms with the same field name and value, they will now reliably save every time (thanks @abernix) - Readme improvements: @brajt, @kmills006, @dandalf
v5.8.0
You can now set singleMethodArgument=true
as a form attribute on a method-update
type form, and your method will be called with a single object argument with _id
and modifier
properties. You should do this if using the mdg:validated-method package.
v5.7.1
v5.7.0
v5.6.1
v5.6.0
- Add ability to specify a
data
attribute onafFieldInput
, which is then added to the data context of the input type template. (See the readme.) - Fix issue with submitting proper value when the
null
option is chosen for a boolean field - Fix issues with reactive reruns that change the form schema
- Adjust value returned from AutoForm.getFieldValue when the form isn't rendered yet
- Fix issue with autosaving changes to multiple select fields
- Adjustments to support BlazeComponents
- Fix width of array field when there is only one
- Fix initial value of contenteditable fields
v5.5.0
For boolean-radios
and boolean-select
input types, you can now use the nullLabel
attribute to specify a label (e.g., "None") for when the value is not set (or to unset it). For backwards compatibility, the boolean-radios
type will not render a radio element for unsetting unless you set nullLabel
.