Overview
Upgrade the Confetti widget between versions.
These guides cover the breaking changes in each @opengovsg/confetti release and
how to update your code. 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.
Was this page helpful?