Overview
Upgrade the Confetti widget between versions.
These guides cover release changes that may affect your
@opengovsg/confetti integration. Each guide opens with a short summary so you
can tell whether you are affected. To cross several versions, work through the
guides in order.
Migrating to 0.4
Building-block exports move to the @opengovsg/confetti/components entry point.
Migrating to 0.5
Survey rendering loads from the Confetti CDN by default, with a /static opt-out, plus provider and proxy changes.
Migrating to 0.6
All-at-once surveys keep their submit button enabled and reveal validation errors after a refused submit; isCompleted is removed.
Migrating to 0.7
Stepper and popover surveys gain an optional Back button; ConfettiState and Flow gain new optional fields for building custom back-navigation UI.
Migrating to 0.9
Response metadata is sanitized instead of rejecting the response, and onFinished can receive the response result.
Was this page helpful?