You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,8 @@ Language changes
35
35
execution ([#52123]).
36
36
* Specifying a path in `JULIA_DEPOT_PATH` now results in the expansion of empty strings to
37
37
omit the default user depot ([#51448]).
38
+
* Precompilation cache files are now relocatable and their validity is now verified through
39
+
a content hash of their source files instead of their `mtime` ([#49866]).
38
40
39
41
Compiler/Runtime improvements
40
42
-----------------------------
@@ -83,6 +85,8 @@ New library functions
83
85
*`copyuntil(out, io, delim)` and `copyline(out, io)` copy data into an `out::IO` stream ([#48273]).
84
86
*`eachrsplit(string, pattern)` iterates split substrings right to left ([#51646]).
85
87
*`Sys.username()` can be used to return the current user's username ([#51897]).
88
+
*`Sys.isreadable(), Sys.iswritable()` can be used to check if the current user has access permissions
89
+
that permit reading and writing, respectively. ([#53320]).
86
90
*`wrap(Array, m::Union{MemoryRef{T}, Memory{T}}, dims)` is the safe counterpart to `unsafe_wrap` ([#52049]).
87
91
*`GC.logging_enabled()` can be used to test whether GC logging has been enabled via `GC.enable_logging` ([#51647]).
88
92
*`IdSet` is now exported from Base and considered public ([#53262]).
@@ -114,6 +118,8 @@ New library features
114
118
*`filter` can now act on a `NamedTuple` ([#50795]).
115
119
*`Iterators.cycle(iter, n)` runs over `iter` a fixed number of times, instead of forever ([#47354]).
116
120
*`zero(::AbstractArray)` now applies recursively, so `zero([[1,2],[3,4,5]])` now produces the additive identity `[[0,0],[0,0,0]]` rather than erroring ([#38064]).
121
+
*`include_dependency(path; track_content=true)` allows switching from using `mtime`
122
+
to hashing of the precompilation dependency in order to restore relocatability of precompilation caches ([#51798]).
0 commit comments