Nibble

0.3.0

What changed in Nibble 0.3.0.

Every release, taken from CHANGELOG.md

← Every release

Nibble 0.3.0

What’s new

  • bin/rails nibble:generate:theme HANDLE copies the starter theme into themes/HANDLE, names it as this site’s theme and leaves ours alone, so a site never edits themes/crumbs to change how it looks.

What’s fixed

  • The asset build ignored the theme named in config/nibble.yml and always bundled themes/crumbs, so a site with its own theme edited .vue files that were never built — silently, with nothing to see in any log. The build now resolves the theme the way the rest of Nibble does: your settings first, NIBBLE_THEME second.
  • An upgrade stopped partway through on any site with its own theme or its own npm packages: npm ci refuses a lockfile that is not exactly ours.
  • nibble:generate:theme registers the new theme with npm, so a later npm ci — in your own CI, or a container build — doesn’t fail naming a workspace nothing told you about.
  • A theme view that throws while rendering on the server now says which view and which URL in the log, instead of an anonymous stack trace. Vue drops only the piece that threw, so the page is otherwise served as normal.
  • bin/rails nibble:upgrade writes db/schema.rb when there isn’t one, so taking 0.2.1 — which stopped shipping ours — leaves a site with its own. Upgrade: 0.2.1 said to run bin/rails db:prepare for this; that only writes the file when there is something to migrate. If you have no db/schema.rb, run bin/rails db:schema:dump once, or take this release and it is written for you.