Releases: prefix-dev/rattler-build
Releases · prefix-dev/rattler-build
0.5.0
What's Changed
This is a release with a huge number of (breaking!) changes:
- The new recipe format is now implemented that uses
${{ jinja }}
instead of"{{ jinja }}"
for templating! You should take a look at the examples to see the differences, or read the (approved!) CEP - The new recipe parser comes with much improved error messages when you are using an invalid key or malformed jinja! This was the work of @GrayJack
- We have implemented the first iteration of multiple outputs. They are topologically sorted and the logic is also in place to handle
pin_subpackage(...)
. - We support
globs
now to add extra files to your tests - The tests work properly on Windows now, and we fixed more Windows specific issues
- We have a
rebuild
command to try to exactly reproduce a package (in the style of reproducible-builds.org). This also includes work to useSOURCE_DATE_EPOCH
and other tricks to make things more reproducible. - Git sources are now supported by calling out to the installed git client (instead of using libgit2). This slims down our dependency tree and makes
git lfs
work.git lfs
can be enabled via an extra flag in the git source (lfs: true
)
All the PRs in this release
- Fix: Use dtolnay/rust-toolchain to install rustfmt component by @matthiasbeyer in #200
- Fix: Do not use PathBuf in arguments by @matthiasbeyer in #198
- Make copy_dir() return copied pathes by @matthiasbeyer in #199
- WIP: Copy license files by @matthiasbeyer in #201
- implement python post processing for INSTALLER and add PYTHON variabl… by @wolfv in #209
- run end-to-end test in CI by @wolfv in #210
- New recipe parser by @GrayJack in #205
- update all dependencies and use cargo-toolchain with better caching by @wolfv in #215
- fix: parsing errors and panics by @wolfv in #216
- refactor: reduce code duplication by @baszalmstra in #217
- refactor: Put git stuff behind a feature flag by @GrayJack in #219
- update all dependencies by @wolfv in #220
- feat(recipe): Improvements to error messages by @GrayJack in #224
- Add more explanatory error message when not copying license files by @matthiasbeyer in #221
- fix(recipe): Fix inline-if parsing dependencies by @GrayJack in #223
- fix: make sure that package hash can be rendered using
${{ hash }}
by @wolfv in #225 - Docs update by @wolfv in #227
- feat: implement test file copying with copy dir and improve url source by @wolfv in #230
- fix: align recipes with format repo and update readme by @baszalmstra in #235
- feat(recipe): Rendering yaml values before parsing by @GrayJack in #234
- feat: Move
VariantConfig
to the new yaml parser by @GrayJack in #236 - feat(recipe): Expand
TryConvertNode
implementations to includeOption
by @GrayJack in #237 - Simplify Display impl for ErrorKind by @matthiasbeyer in #238
- refactor: Refactor
TryConvertNode
forTest
by @GrayJack in #241 - Add reference to installation via homebrew by @pavelzw in #242
- refactor(recipe): Change the
Rendered*Node
Debug impl to match the type names by @GrayJack in #247 - docs: fix a broken link and grammar issues by @ArpitPandey29 in #251
- feat: add cdt function by @swarnimarun in #252
- Source date epoch by @wolfv in #256
- feat(recipe): parsing outputs by @GrayJack in #240
- Unwrap removal by @wolfv in #257
- feat: no-build-id aka static build dirs by @swarnimarun in #250
- refactor: Some code cleanup by @GrayJack in #258
- chore: update all dependencies by @wolfv in #259
- Rewrite copy_dir() fn into buildable object by @matthiasbeyer in #233
- feat: add env support by @swarnimarun in #260
- fix: manual try expr implementation by @swarnimarun in #265
- store the original recipe and rendered recipe by @wolfv in #246
- feat: add tests in rust by @swarnimarun in #253
- docs: add env functions to docs by @wolfv in #268
- fix clippy by @wolfv in #270
- Also upload binaries on non-release by @pavelzw in #271
- chore(ci): bump prefix-dev/setup-pixi from 0.3.0 to 0.4.0 by @dependabot in #273
- feat: make recipe storing optional (defaults to true) by @wolfv in #272
- Don't use cross for x86_64-unknown-linux-gnu by @pavelzw in #275
- feat: git source with host git by @swarnimarun in #269
- fix: update docs by @swarnimarun in #279
- fix: remove assert & handle lack of lfs better by @swarnimarun in #280
- use
dunce::canonicalize
everywhere by @wolfv in #284 - feat: Add --no-test CLI option by @pavelzw in #289
- chore(ci): bump prefix-dev/setup-pixi from 0.4.0 to 0.4.1 by @dependabot in #290
- fix: error message for invalid sha256 by @wolfv in #291
- chore: update all dependencies and rattler by @wolfv in #294
- fix: unit tests on windows by @swarnimarun in #297
- sort outputs when computing variant [skip ci] by @wolfv in #278
- test schema more and make things more correct by @wolfv in #299
- fix: make tests work better cross-platform by @wolfv in #292
- fix: tests for windows by @swarnimarun in #300
- rework how we run tests and make noarch work by @wolfv in #301
- improve label for jinja errors by @wolfv in #302
- feat: add lfs option to git source by @swarnimarun in #296
- docs: write more documentation on the new features by @wolfv in #303
- More docs by @wolfv in #310
- fix: jinja variable extraction for cmp function in if expression by @wolfv in #308
- use latest rattler with secret redaction by @wolfv in #306
- release 0.5.0 by @wolfv in #314
New Contributors
- @GrayJack made their first contribution in #205
- @pavelzw made their first contribution in #242
- @ArpitPandey29 made their first contribution in #251
Full Changelog: v0.4.0...v0.5.0
0.4.0
What's Changed
The latest rattler-build uses the latest and greatest version of rattler and also the new resolvo
resolver. And it contains a few fixes for issues!
- chore(ci): bump actions/checkout from 3 to 4 by @dependabot in #179
- Add support for local source file url scheme by @beenje in #177
- update to the latest rattler version by @wolfv in #180
- fix: minor code nit by @swarnimarun in #181
- some tiny enhancements for emscripten-wasm32 compatibility by @wolfv in #182
- bump: update to latest rattler and add pixi project by @ruben-arts in #186
- Update all dependencies by @wolfv in #187
- chore: also run cargo update and replace tempdir with tempfile by @wolfv in #188
- feat: build .conda package right away by @wolfv in #190
- Copy dir without ignore gitignore by @matthiasbeyer in #189
- fix bug when copying directory, fix bug when creating conda package by @wolfv in #192
- fix: add perl and extra platforms by @ruben-arts in #191
- remove package before testing by @wolfv in #193
- Print package contents for user by @wolfv in #194
- Format tracing by @wolfv in #195
- Ignore missing about section and missing build.sh / build.bat by @wolfv in #196
- release version 0.4.0 by @wolfv in #197
New Contributors
- @beenje made their first contribution in #177
- @swarnimarun made their first contribution in #181
- @matthiasbeyer made their first contribution in #189
Full Changelog: v0.3.1...v0.4.0
0.3.1
0.3.0
What's Changed
- update all versions incl. minijinja to 1.0.0-alpha2 by @wolfv in #155
- Update README.md by @raybellwaves in #160
- bump rich version in example by @raybellwaves in #162
- bump: rattler 0.6.0 by @baszalmstra in #165
- fix: allow not finding arch platforms in channel by @ruben-arts in #164
- chore(ci): bump actions/upload-pages-artifact from 1 to 2 by @dependabot in #166
- feat: make it possible to use
rattler-build
as library by @wolfv in #158 - add support for script_env in build section by @wolfv in #167
- refactor and put
source
in its own folder by @wolfv in #168 - release 0.3.0 by @wolfv in #171
New Contributors
- @raybellwaves made their first contribution in #160
- @baszalmstra made their first contribution in #165
Full Changelog: v0.2.0...v0.3.0
0.2.0
What's Changed
- Feature/source local path by @ruben-arts in #131
- misc: add pre-commit config and ran it. by @ruben-arts in #133
- Simplify CLI by allowing for recipe path and defaulting to '.' by @ruben-arts in #132
- fix: add noarch bin files to python-scripts by @wolfv in #135
- Feature/source git by @ruben-arts in #137
- fix: relative git_url paths by @ruben-arts in #142
- improve error reporting when parsing files and remove some unwrap by @wolfv in #143
- fix variants with version spec by @wolfv in #144
- enable
--version
and-V
flags by @wolfv in #145 - Update all dependencies by @wolfv in #150
- Fix vinca recipes by @ruben-arts in #146
- Readme Beautification by @wolfv in #152
- release rattler-build 0.2.0 by @wolfv in #153
- Vendor openssl to get rid of build issues with libgit2 by @wolfv in #154
Full Changelog: v0.1.3...v0.2.0
v0.1.3
- Builds on Linux should work much better (invocation of
patchelf
is corrected) – thanks @ruben-arts - Version number properly updated in
Cargo.toml
- Some minor changes
v0.1.1
Bugfix release for v0.1.0
that also adds --channel/-c
arguments and --output-dir
arguments.
v0.1.0
The initial release of rattler-build
- download and try it!