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: HISTORY.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ Compiler/Runtime improvements
59
59
Command-line option changes
60
60
---------------------------
61
61
62
-
* The entry point for Julia has been standardized to `Main.main(ARGS)`. This must be explicitly opted into using the `@main` macro
62
+
* The entry point for Julia has been standardized to `Main.main(Base.ARGS)`. This must be explicitly opted into using the `@main` macro
63
63
(see the docstring for further details). When opted-in, and julia is invoked to run a script or expression
64
64
(i.e. using `julia script.jl` or `julia -e expr`), julia will subsequently run the `Main.main` function automatically.
65
65
This is intended to unify script and compilation workflows, where code loading may happen
@@ -68,6 +68,7 @@ difference between defining a `main` function and executing the code directly at
68
68
* The `--compiled-modules` and `--pkgimages` flags can now be set to `existing`, which will
69
69
cause Julia to consider loading existing cache files, but not to create new ones ([#50586]
70
70
and [#52573]).
71
+
* The `--project` argument now accepts `@script` to give a path to a directory with a Project.toml relative to the passed script file. `--project=@script/foo` for the `foo` subdirectory. If no path is given after (i.e. `--project=@script`) then (like `--project=@.`) the directory and its parents are searched for a Project.toml ([#50864] and [#53352])
71
72
72
73
Multi-threading changes
73
74
-----------------------
@@ -86,7 +87,6 @@ New library functions
86
87
*`copyuntil(out, io, delim)` and `copyline(out, io)` copy data into an `out::IO` stream ([#48273]).
87
88
*`eachrsplit(string, pattern)` iterates split substrings right to left.
88
89
*`Sys.username()` can be used to return the current user's username ([#51897]).
89
-
*`wrap(Array, m::Union{MemoryRef{T}, Memory{T}}, dims)` is the safe counterpart to `unsafe_wrap` ([#52049]).
90
90
*`GC.logging_enabled()` can be used to test whether GC logging has been enabled via `GC.enable_logging` ([#51647]).
91
91
*`IdSet` is now exported from Base and considered public ([#53262]).
0 commit comments