Skip to content

Commit 85a0f14

Browse files
authored
Merge pull request #37320 from JuliaLang/sf/artifacts_rework
2 parents a83166a + 2b2ee1f commit 85a0f14

14 files changed

+2283
-3
lines changed

NEWS.md

+6
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,12 @@ Standard library changes
9999
* `RegexMatch` objects can now be probed for whether a named capture group exists within it through `haskey()` ([#36717]).
100100
* For consistency `haskey(r::RegexMatch, i::Integer)` has also been added and returns if the capture group for `i` exists ([#37300]).
101101
* A new standard library `TOML` has been added for parsing and printing [TOML files](https://toml.io) ([#37034]).
102+
* The `Pkg.BinaryPlatforms` module has been moved into `Base` as `Base.BinaryPlatforms` and heavily reworked.
103+
Applications that want to be compatible with the old API should continue to import `Pkg.BinaryPlatforms`,
104+
however new users should use `Base.BinaryPlatforms` directly. ([#37320])
105+
* The `Pkg.Artifacts` module has been imported as a separate standard library. It is still available as
106+
`Pkg.Artifacts`, however starting from Julia v1.6+, packages may import simply `Artifacts` without importing
107+
all of `Pkg` alongside. ([#37320])
102108

103109
#### LinearAlgebra
104110
* New method `LinearAlgebra.issuccess(::CholeskyPivoted)` for checking whether pivoted Cholesky factorization was successful ([#36002]).

base/Base.jl

+3
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,9 @@ include("weakkeydict.jl")
236236
include("logging.jl")
237237
using .CoreLogging
238238

239+
# BinaryPlatforms, used by Artifacts
240+
include("binaryplatforms.jl")
241+
239242
# functions defined in Random
240243
function rand end
241244
function randn end

0 commit comments

Comments
 (0)