From 30cf3b671617861173dce5847700fd3998bc4bfc Mon Sep 17 00:00:00 2001 From: Kevin Ushey Date: Fri, 10 Jan 2025 10:10:22 -0800 Subject: [PATCH] call out lockfile changes as major change --- NEWS.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/NEWS.md b/NEWS.md index fb40a15c8..af716e835 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,8 +1,19 @@ # renv 1.1.0 (UNRELEASED) -* `renv` now includes the contents of each package's DESCRIPTION file in - the package records for generated lockfiles. (#2057) +## Major Changes + +* `renv` now includes additional package DESCRIPTION fields in the lockfile. + This can be useful for validating the provenance of packages recorded in the + lockfile, and also for applications using `renv` which would like to + recompute the hash used for package caching from the lockfile itself. + + If needed, old-style lockfiles can be generated by setting the option + `options(renv.lockfile.version = 1)`. Note that this version of `renv` + remains compatible both with the older (minimal) lockfiles, as well + as with the newer lockfiles in this release. (#2057) + +## Other Fixes * Fixed an issue where `renv::snapshot()` could fail if invoked within a project containing empty or invalid `.ipynb` files. (#2073)