Releases: prefix-dev/rattler-build
Releases · prefix-dev/rattler-build
v0.7.0
An exciting new release that comes with the following highlights:
- Multiple tests are allowed in the revamped
tests
section of a recipe. Please read the docs and CEP for the changes. - rattler-build now has a
upload
subcommand that can upload to: Anaconda.org, Quetz, Artifactory and Prefix.dev! - The git source is modernized and aligned with the CEP.
What's Changed
- fix: rolling errors for render and try convert api by @swarnimarun in #414
- fix: use set -x only with bash by @wolfv in #416
- Refactor CI by @pavelzw in #408
- fix: cleanup code for render and try_convert api by @swarnimarun in #417
- chore(ci): bump actions/upload-artifact from 3 to 4 by @dependabot in #422
- Add version assertion for release by @pavelzw in #424
- fix: ensure zips without root are handled by @swarnimarun in #425
- feeat: add auth_file option to read authentication information for repositories from a file by @0xbe7a in #413
- docs: use new docs workflow from pixi and mkdocs by @wolfv in #430
- Add quetz upload command by @0xbe7a in #429
- feat: add completions generation for shells by @swarnimarun in #426
- chore(ci): bump actions/configure-pages from 3 to 4 by @dependabot in #434
- chore(ci): bump prefix-dev/setup-pixi from 0.3.0 to 0.4.1 by @dependabot in #437
- chore(ci): bump actions/deploy-pages from 2 to 4 by @dependabot in #435
- chore(ci): bump actions/upload-pages-artifact from 2 to 3 by @dependabot in #436
- feat: artifactory upload by @0xbe7a in #439
- fix: handling both forward and backward slash by @swarnimarun in #388
- feat: tar & zip in rust by @swarnimarun in #438
- fix: deduplication issue in create_index_json function by @hadim in #441
- feat: uploading to prefix.dev by @wolfv in #432
- fix: skip relinking if it is not a shared library on linux by @wolfv in #443
- fix extraction for zip files by @0xbe7a in #447
- fix: minor cleanup by @swarnimarun in #448
- make toml test more reproducible by @wolfv in #455
- fix: create a temporary directory next to target by @orhun in #456
- fix: improve completions dx by @swarnimarun in #451
- fix: use env for shell detection by @swarnimarun in #459
- Improve upload help descriptions by @pavelzw in #460
- feat: implement changes to source parsing by @wolfv in #454
- feat: implement new multiple tests section by @wolfv in #418
- feat: progressbars for downloading and extracting by @swarnimarun in #449
- feat: add support for uploading to anaconda.org by @0xbe7a in #464
- docs: fix test documentation by @pavelzw in #466
- fix: ignore pyo and egg-info files for noarch by @swarnimarun in #470
- Remove rpaths that point outside the prefix by @orhun in #467
- feat: add git jinja functions & experimental flag by @swarnimarun in #423
- upgrade all packages and get rid of git dependency on marked-yaml by @wolfv in #471
- fix: use ignore_run_exports for building env by @swarnimarun in #472
- chore: release 0.7.0 by @wolfv in #475
- chore: add description in cargo for publishing by @wolfv in #476
New Contributors
Full Changelog: v0.6.1...v0.7.0
0.6.1
What's Changed
- add contributing and code of conduct by @wolfv in #397
- fix: improve error messages by @swarnimarun in #398
- refactor: add python object by @baszalmstra in #400
- fix: skip serializing default fields by @baszalmstra in #401
- refactor: serde Dependency instead of string magic by @baszalmstra in #405
- fix: use the proper platform when resolving by @wolfv in #411
- feat: error collect as vec by @swarnimarun in #407
- fix: add tar source test and fix simple filename for URL source by @wolfv in #412
Full Changelog: v0.6.0...v0.6.1
0.6.0
What's Changed
- fix: docs for correctness by @swarnimarun in #362
- fix: improve jinja err msg by @swarnimarun in #363
- Add option and env variable to disable zstd and bz2 by @0xbe7a in #364
- Fix jinja string interp instructions by @JarrettSJohnson in #367
- fix: remove all the unwraps from production code by @swarnimarun in #370
- Fix text detection fallback by @wolfv in #372
- feat: package content tests by @swarnimarun in #359
- chore(ci): bump actions/deploy-pages from 2 to 3 by @dependabot in #385
- chore(ci): bump actions/configure-pages from 3 to 4 by @dependabot in #386
- Use which and emit better errors by @wolfv in #387
- fix: add docs for package-contents test by @swarnimarun in #389
- Fix file creation problems by @wolfv in #383
- implement pin-compatible by @wolfv in #368
- refactor: move scipt_env into script by @baszalmstra in #392
- refactor: move run_exports to requiremens by @baszalmstra in #394
- update docs slightly and release 0.6.0 by @wolfv in #395
- Update rattler before releasing by @wolfv in #396
New Contributors
- @0xbe7a made their first contribution in #364
- @JarrettSJohnson made their first contribution in #367
Full Changelog: v0.5.2...v0.6.0
0.5.2
What's Changed
- fix: error when output directory in recipe folder by @wolfv in #351
- better error handling with string matcher parse error by @wolfv in #353
- fix: throw error if output missing by @wolfv in #352
- Fix typo in README by @MDornacher in #354
- fix: unwraps & cleanup to_string by @swarnimarun in #342
- Add use_gitignore to recipe by @pavelzw in #358
- Add docs for use_gitignore and lfs and only provide use_gitignore for PathSource by @pavelzw in #361
- fix: write normalized paths into paths.json (needs rattler 0.13.0).
- release 0.5.2 with latest rattler by @wolfv in #360
New Contributors
- @MDornacher made their first contribution in #354
Full Changelog: v0.5.1...v0.5.2
0.5.1
Lots of bugfixes since 0.5.0
What's Changed
- fix: remove raw recipe by @swarnimarun in #305
- fix: cleanup unwraps by @swarnimarun in #327
- Improve rendering of DependencyInfo by @wolfv in #319
- Make url source a little better by @wolfv in #320
- remove unused functions by @wolfv in #329
- docs: improve docs and completely remove
sel(...)
syntax by @wolfv in #332 - add mamba example by @wolfv in #322
- docs: more content for testing packages by @wolfv in #333
- added docs everywhere and refactor some bits by @wolfv in #336
- refactor hash info by @wolfv in #337
- render hash info with all information incl. hash_input by @wolfv in #338
- add test for inline rendering of sequence by @wolfv in #339
- fix: error if git rev and git depth are used together by @swarnimarun in #340
- fix: handle symlinks as-is when copying data by @wolfv in #341
- fix noarch with multiple outputs by @wolfv in #347
- release next version of rattler-build by @wolfv in #348
Full Changelog: v0.5.0...v0.5.1
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