New Spago release out! Some bugfixes, some improvements for the alternate backends, some lightly breaking changes, and most importantly great news about spago docs
: the generated documentation will now group modules by package in the sidebar and in the index, a long awaited feature
So please test it out, and if you find any problems with it don’t hesitate to open an issue
As usual you can find it on NPM and in other places
npm install -g spago
Changelog
Breaking changes (!!!):
-
Remove shorthands for
color
,before
,then
, andelse
flags (#670, #664) Boththen
andtarget
had the shorthandt
, so the shorthand forthen
was removed.
Sincethen
,before
, andelse
are all shared between several commands, it seemed
natural to remove the shorthands for the other shared commands too, so as to not cause
future shorthand name conflicts.
A similar collision problem happened with thecolor
flag, so its shorthand was removed. -
Pass main function argument to
--run
for alternate backends (#668) This is a braking change because now alternate backends are expected to accept
an argument to theirrun
flag. This change was coordinated among various backends
so the migration should be relatively smooth, but you should check if your backend
it able to support this.
New features:
- Upgrade to
docs-search@v0.0.10
, that introduces grouping by package in local docs (#679) - Ignore
.gitignore
d files in--watch
by default - you can disable this with--allow-ignored
(#665) - Support
upgrade-set
for alternative package-set repositories (#671)
Bugfixes:
- Make the output of
spago --version
the same withspago version
(#675) - Ensure the existence of the global cache directory (#672, #667)