Blocks are the core concept of the Element platform. One benefit of blocks is that they can be reused over any number of sites. For example, if you operated 1,000 Element sites and reused a common block among all of them, updating that one block would update it across all 1,000 sites in one operation. If the update was error free, everything would be fine; however, if that update caused a problem, that problem would be present across all 1,000 sites. Therefore, a safe and effective release cycle is required for blocks.
During development, a block may be unstaged, staged, or live.
A block can have multiple major versions. Additionally, inside each major version, a block may have multiple minor releases. Element treats major releases as breaking changes and forces site owners to opt in to that change. Minor release are considered non-breaking and are automatically deployed to all sites using that block. Let's look more closely at each use case.
Major releases are tagged internally with ascending numbers, starting from one. Each new version will increment the current release number by one. Minor versions do not require explicit numeric tagging, but tagging your minor releases using a git SHA or similar is a good practice. For more details, see "Track Block Versions ."
You can add a release note for each release. Users of your block will be able to read the latest release note you add.