Nibble 0.21.2
What’s new
- A block’s count can have a default.
limit: { from: $set.count, default: 3 }(and the same forpaginate.per_page) uses the default while the editor’s field is blank, as it is on a block saved before the field existed.
What’s fixed
- CAPTCHAs are verified on a site that limits
outbound.allowed_hosts. The check went through the allowlist, so every submission was refused as a robot unless the provider’s host was listed. The provider’s verification address is fixed in Nibble, so it is called without being listed; a check that can’t be made is now logged. - A term query with
countsis typed withentries_countinsite/types.d.ts, so a view can show the count without a cast.
Changed
-
A blank
limit: $set.<field>shows at most 100, the cap an editor’s own number is held to, instead of the whole collection.Upgrade: a block whose count field is blank and whose collection has more than 100 entries now lists 100. Add a
defaultto its sidecar’slimitto choose another number.