Pin a version
GivemountModule the version you tested:
version, the SDK loads whatever version Widgetic has made current, and your page changes within a minute of each new release. That is what you want while you build, and not what you want in production: pin the version in production, and move when you have read what changed.
The four pieces are released together: each new version number exists for all of them at the same time, and each piece has its own list of changes (a piece that did not change says so). Workflows starts at the version it was added in, so the older numbers do not exist for it. Pin them all to the same number.
What a version number tells you
A version is three numbers,major.minor.patch, such as 1.4.2.
A change that can break your page is called a breaking change. It is always written down under
breaking, and a version that has one is always a new major version: Widgetic does not release it any other way.
The pieces are in Preview and their numbers start with 0. While the first number is 0, a new minor version takes the place of a major one: 0.2.0 is the version that may list breaking changes, and 0.1.1 never does.
A version such as 1.3.0-rc.1 is a release candidate. It is there for you to try by pinning it, and nobody follows it by accident: Widgetic does not make a release candidate the current version.
Read what changed
Each piece has a changelog at a fixed address:
The file is public and open to other websites, so you can read it from your own tooling. To see what came after the version you run:
Move to a newer version
1
Read what changed
Read the entries between your version and the one you want, and the
breaking list of each. If a version has breaking: true, the item says what to change in your page.2
Change the version and try it
Change
version and try the piece the way your customers use it. A release candidate is there for this, before the release itself.3
Ship it
Your customers get the new version when you deploy your page, not before.
If you do not pin
A page with noversion follows the version Widgetic has made current, within a minute of each release. If a release has a problem, Widgetic can point it back at the previous version, and pages that do not pin follow that too. A page that pins is not affected either way.
Serving the pieces yourself
If you host the pieces on your own origin (moduleBaseUrl), copy the whole folder of a version, as described in Versions and self-hosting. The changelog is next to the manifest, in the piece’s folder, and is not needed to load a piece: copy it too if you want to read it from your own address.
Next Steps
UI Components
Mount the pieces, and make them look like your product
Canvas Embedding
The widget creator and the composition editor
Workflows
Give your customers the screen where workflows are built