Repository navigation
v0.1.2
What's changed in v0.1.2
Uninstalling boards no longer leaves a dangling authorization rule behind. The shared comment_mentions create rule is built by concatenation — each mentions-capable package appends its own OR-ed branch — and boards' half of the removal was mishandling the surrounding expression.
Fixes
- Uninstalling boards now removes its mentions branch cleanly. The down migration that strips boards' branch from the shared
comment_mentionscreate rule had three defects: it unwrapped the outer parentheses without checking they were a matching pair (so once a second package had a branch,(a) || (b)lost one paren from each of two different groups and PocketBase rejected the result withunexpected character ')'); it located the branch by a" || ("prefix that a bare first branch does not have, so on a boards-first deployment the branch survived the uninstall still naming a collection that no longer existed; and removing a wrapped first branch left an empty group that a later package then wrapped again. All three are fixed, an empty result is written asnull(superusers only) rather than""(everyone), and the search is anchored on the branch's own predicate so it finds the branch whatever shape the rule is in.
Other improvements
- Requires
@tinycld/core >=0.5.1 <0.6.0. That floor matters for this release: core's migration runner previously resolved a revert's down migrations from the outgoing build, so a corrected down migration could never run its own fix. Reverting correctly now depends on that core change. - The test suite drives the real migration file rather than a reimplementation of its string handling, covers all ten install orderings across three appending packages, and asserts idempotence — a test that reimplemented the logic would have kept passing while the shipped migration stayed broken.
Full changelog: v0.1.1...v0.1.2