Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
Pkg v1.13 Release Notes
=======================

- Project.toml environments now support a `readonly` field to mark environments as read-only, preventing modifications.
([#4284])
- Pkg now avoids unnecessary re-resolving when adding a package that already has a compatible version in the environment ([#4445])
- `Pkg.add` now only precompiles the newly added package and its dependencies, rather than all packages in the environment. ([#3848])
- Package garbage collection has been simplified by immediately deleting orphaned packages and artifacts instead of using
an "orphanage" mechanism. ([#4395])
- Project.toml environments now support a `readonly` field to mark environments as read-only, preventing modifications and a new `Pkg.readonly(state::Bool)` API has been
added to enable/disable this check programmatically. ([#4284], [#4397])
- `Pkg.build` now supports an `allow_reresolve` keyword argument to control whether the build process can re-resolve
package versions, similar to the existing option for `Pkg.test`. ([#3329])
- Packages are now automatically added to `[sources]` when they are added by url or devved. ([#4225])
Expand Down Expand Up @@ -39,6 +43,11 @@ Pkg v1.13 Release Notes
- Fixed various edge cases in package resolution and manifest handling. ([#4307], [#4308], [#4312])
- Improved handling of path separators across different operating systems. ([#4305])
- Added better error messages when accessing private PackageSpec.repo field. ([#4170])
- Pkg no longer attempts to update registries in unwritable folders ([#4429])
- Fixed URL scheme parsing in REPL mode to handle more complex URLs correctly. ([#4450])
- Parsing of multiple packages with modifiers (like version specifiers) now works correctly. ([#4325])
- Stdlib compat entries are now ignored for fixed stdlibs, with warnings displayed for incorrect entries. ([#4437])
- Added `.cachedir` files to various cache directories to prevent them from being included in system backups. ([#4438])

Pkg v1.12 Release Notes
=======================
Expand Down Expand Up @@ -143,6 +152,15 @@ Pkg v1.7 Release Notes
- The `mode` keyword for `PackageSpec` has been removed ([#2454]).

<!--- Generated by NEWS-update.jl --->
[#3848]: https://github.com/JuliaLang/Pkg.jl/issues/3848
[#4325]: https://github.com/JuliaLang/Pkg.jl/issues/4325
[#4395]: https://github.com/JuliaLang/Pkg.jl/issues/4395
[#4397]: https://github.com/JuliaLang/Pkg.jl/issues/4397
[#4429]: https://github.com/JuliaLang/Pkg.jl/issues/4429
[#4437]: https://github.com/JuliaLang/Pkg.jl/issues/4437
[#4438]: https://github.com/JuliaLang/Pkg.jl/issues/4438
[#4445]: https://github.com/JuliaLang/Pkg.jl/issues/4445
[#4450]: https://github.com/JuliaLang/Pkg.jl/issues/4450
[#4225]: https://github.com/JuliaLang/Pkg.jl/issues/4225
[#4284]: https://github.com/JuliaLang/Pkg.jl/issues/4284
[#3526]: https://github.com/JuliaLang/Pkg.jl/issues/3526
Expand Down