Releases: SFDigitalServices/formio-sfds
Releases · SFDigitalServices/formio-sfds
v9.0.0
💣 Breaking changes
- There are potentially breaking changes in the CSS!
🚀 Features
- Introduces the classnames utility as a template helper (
ctx.classnames()
) for easier-to-readclass
attribute logic
🐛 Bug fixes
- #192 fixes button styles introduced by CSS deleted in in SFDigitalServices/sfgov#886
🏠 Internal
- The
common.css
bundle is gone, and has been replaced by a dynamic CSS endpoint/sfgov/forms.css
on the site
v8.1.0 (Signature component redesign)
🚀 Features
- The new
signature
component class overrides some of form.io's default canvas rendering options, and uses a new template to match the Figma design
v8.0.0
💣 Breaking changes
- #170 removed the
shouldSort: true
default for autocomplete components
🚀 Features
- The multi-page form navigation has been redesigned in #149
- Improves compatibility with formiojs 4.12.1 in #147
- #170 introduces the ability to translate autocomplete component UI strings
🐛 Bug fixes
- #169 fixes some translation issues with the Phrase in-context editor
- Proxy previews now enable language switching via the sf.gov language links
- There's a lot less console logging in production now, but you can bring it back with
debug: true
in the render options - Fixed some stylesheets that were 404ing on the Vercel site in #172
🏠 Internal
- The global
FormioSFDS
object now has aforms
array that lists only the forms it's "upgraded", which makes debugging on sf.gov much easier.
v7.2.0
🚀 Features
- Autocomplete components can have UI strings translated in Phrase
📝 Documentation
- A new autocomplete example
- A new docs page for the autocomplete component, and put translation docs there
- A new localization docs section for "manual translations"
v7.1.0
🚀 Features
- Components can now "embed" translations of labels and other text content via custom properties. See #146 for more information. (This is an experimental feature, hence the minor version bump.)
🐛 Bug fixes
🏠 Internal
- Add
lang
query string parameter support to the proxy preview API in #159 - Add
FormioSFDS.version
export to the browser JS in #159 + #161 - Add
FormioSFDS.options
as a way to set option defaults on all of our forms at runtime - Add support for form option overrides via the query string in examples in #161
- Hide example-related JS bundles from the size report in 7a79666
v7.0.2
v7.0.1
v7.0.0
💥 Breaking changes
None identified, but the diff is very large, so we're bumping to a major version just in case.
🚀 New features
- Phrase translation of generic form.io strings in #64
- Phrase translation integration in #66
- Phrase in-context editor integration in #69
- New
/api/translate?url=<URL>
view that enables the in-context editor with a "flat" form free of conditionals, in #133 - New
/api/wtf
("what the form") view that helps us track down all of the resources associated with a form, in #142
🐛 Bug fixes
- Fixed the phone number input in the kitchen sink example in 9b23cec
- Captured errors in non-success i18n responses 7b57def
- Hide labels for button components #99
📖 Documentation
🛠️ Internals
- Replaced dotmap with optional chaining in #96
- Added strings API (
/api/strings?formUrl=<url>
) in #64 - Added proxied form preview (
/api/preview?form=<url>
) in #116 - Switched Vercel configuration from
routes
torewrites
in #92 - Updated translation microservice URLs to
translate.sf.gov
in #91 - Add preactjs/compressed-size-action in #97
- More i18n/translation tests in #102