Check the v0.1.8 announcement blog post for an overview of the new features in this release
Breaking
Note: This is a minor release, but Brioche is still pre-1.0 and not widely adopted, so we may ship minor breaking changes from time to time if we think the breakage will not affect many people
The linting changes may lead to some new lint rules being triggered where there were none before, or vice versa. This may impact CI pipelines using brioche check or brioche build --check.
Added
- Show source paths during builds. When a build job is running, the TUI view will now show file and line number of the source that triggered the build. This makes it clearer what's actually being built! (#466)
- Some line numbers may be off (e.g. showing the path of a generic helper rather than a specific package). We may need to make some tweaks to the
stdpackage to improve which stack frame gets shown.
- Some line numbers may be off (e.g. showing the path of a generic helper rather than a specific package). We may need to make some tweaks to the
Changed
- Support new
Rtag in cache archives (#460)- This tag is used for deduplicating directory trees in the archive. This was blocking some packages in the
brioche-packagesrepo that ended up with lots of duplication that was bigger than we could handle in the cache (e.g. seebrioche-dev/brioche-packages#2693). - This release doesn't support writing the new
Rtag yet. This will be added to a future nightly release and will then be used forbrioche-packagesbuilds soon. This will also be part of the next stable release of Brioche.
- This tag is used for deduplicating directory trees in the archive. This was blocking some packages in the
- Upgrade to TypeScript v6 (#467)
- Upgrade to ESLint v10 (#467)
- Enable
strict-void-return,no-useless-default-assignment, andno-unnecessary-template-expressionlint rules (#465 #467) - Allow
Brioche.gitCheckoutto take a commit hash, in addition to a branch/tag name (#453) - Linux sandbox: Miscellaneous improvements (#459)
- Add
/etc/groupto sandbox, and add the sandbox user to a group. - Set up UTS namespace to isolate build from host system's hostname. (The hostname in the sandbox is set to
localhost) - Add
/etc/servicesand/etc/protocolsfiles to sandbox. This fixes issues withgetservbynameandgetprotobynamefrom glibc.
- Add
Fixed
- Fix
Brioche.downloadtriggering duplicate downloads when resolving a project (#464)