- Adds AI-generated and community-reviewed missing translations
- Fixes file upload without
limitSize
. Previously it was returningUnknown form field error
.
- Set keyboard shortcut to
G
thenO
.
- Updates the documentation.
- Changes the value collection for the
form-boolean-field-widget
to thechecked
status instead of thevalue
directly.
- Add group widget which is a fieldset container for other form widgets.
- Add multiple and size fields to select widget.
- Fix missing select widget icon.
- File upload can now be limited in size (frontend only) by setting the max file size per file upload field. On the server, there are many factors that can influence this rule (for example proxies and servers used between Apostrophe and the end-user). That is why this rule is not enforced on the server side. We use the default express connect-multiparty size limits. The rule is checked before submit.
- Allow to configure file field
multiple
attribute. By default, file field allow the user to select multiple files. This can now be disabled. - Add divider widget (
<hr>
tag) to form widgets.
- To avoid confusion, we can now select only one form when editing the form widget relationship to form field ('Form to display'). Note that selecting more than one form never had any useful effect.
- Remove
apostrophe
as a peer dependency.
- Emit new event
beforeSaveSubmission
. The event receivesreq, { form, data, submission }
allowing an opportunity to modifysubmission
just before it is saved to the MongoDB collection. For most purposes thesubmission
event is more useful.
- Fixes missing root widget class when
classPrefix
option is set.
- Fixes typos in the
emailsConditionsField
, 'emailsConditionsFieldHelp',emailsConsitionsValue
, andemailsConditionsValueHtmlHelp
l10n keys. - Changes the
htmlHelp
key value for thevalue
object to maintain consistency in l10n key format.
- Sets the dev dependency of Apostrophe to a published version.
- Fixes a typo in the recaptchaValidationError l10n key.
- Fixes an incorrect error localization key usage.
- Adds full support for file field widgets, including a new dedicated upload route.
- Changes to reCAPTCHA v3 for form user verification. The browser events are removed since the reCAPTCHA retrieves its token automatically.
- Removes the dropdown style for checkbox fields.
- Initial release for Apostrophe 3.