Repository navigation
v0.16.0
Moving to v0.16.0
v0.16.0 lets a covered app record a ceiling for the literal texts of its Svelte pages. Once the table is recorded, literal-text is enforced. Without the table, nothing changes: the rule only measures, as in v0.13.0 to v0.15.0, so the bump by itself turns nothing red.
Pin form
uses: overnightworks/quality/.github/workflows/gate.yml@24c8484f86eccd5da41f9e7177ebabe52ccf3fd1 # v0.16.0codeql.yml,release-gate.yml,image.ymlandrelease-tag.ymltake the same pin, with the comment.- A repository below v0.15.0 reads the earlier pages first.
What changed
literal-text: the [literal_text] table switches it on
quality/baseline.toml takes a [literal_text] table: one count per Svelte page, the path relative to the root as the key (LITERAL-5). Its presence is the switch, as [clones] is for clone. With the table:
- A page above its count is
grew, and a page with text and no entry isnew debt. Both are red. - A page below its count, or an entry whose page is gone, is
can fall.quality check --fixlowers it and never raises (LITERAL-6, LITERAL-7). - A renamed page carries its entry (LITERAL-13).
quality verdictreads a first table as an adoption. A removed table, or a raised or added entry, is a declared loosening (LITERAL-8).
The fleet matrix reads the cell as on main from v0.16.0 on (FLEET-102): enforced with the table, report-only without it.
Order matters: bump first
A release older than v0.16.0 refuses a ceiling file that holds [literal_text] (UnknownTable, exit 2, BASELINE-25). Its hint, "run the quality release your gate pins", points at the release that refused. So move every pin to v0.16.0 before the table is committed.
What a covered app changes at its bump
This applies to hopin, presentator, skat and songmaker.
- Move the pins to the v0.16.0 commit, each with the
# v0.16.0comment. - Run
quality check debt --fixwith v0.16.0. It records the measured counts as[literal_text](recorded K literal texts on P pages), or an empty table where no page holds a text. Commitquality/baseline.toml. - Run
quality checkand confirm the debt row readsliteral-textenforced, with no red row.
What's Changed
- The ceiling file holds a literal_text table, judged by check, lowered by --fix and held by the verdict by @FlexOr2 in #836
- Name v0.16.0 as the release of literal-text's switch and pin gate.yml to it by @FlexOr2 in #838
Full Changelog: v0.15.0...v0.16.0