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: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -164,7 +164,7 @@ To run doctests you need to run `make -C doc doctest=true` from the root directo
164
164
165
165
#### News-worthy changes
166
166
167
-
For new functionality and other substantial changes, add a brief summary to `NEWS.md`. The news item should cross reference the pull request (PR) parenthetically, in the form `([#pr])`. To add the PR reference number, first create the PR, then push an additional commit updating `NEWS.md` with the PR reference number. We periodically run `./julia doc/NEWS-update.jl` from the julia directory to update the cross-reference links, but this should not be done in a typical PR in order to avoid conflicting commits.
167
+
For new functionality and other substantial changes, add a brief summary to `NEWS.md`. The news item should cross reference the pull request (PR) parenthetically, in the form `([#pr])`. To add the PR reference number, first create the PR, then push an additional commit updating `NEWS.md` with the PR reference number. We periodically run `./julia doc/NEWS-update.jl` from the julia directory to update the cross-reference links, but this should not be done in a typical PR in order to avoid conflicting commits.
168
168
169
169
#### Annotations for new features, deprecations and behavior changes
Copy file name to clipboardExpand all lines: HISTORY.md
+31-30Lines changed: 31 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -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
-----------------------
@@ -1111,7 +1112,7 @@ Standard library changes
1111
1112
* `lpad/rpad` are now defined in terms of `textwidth` ([#39044]).
1112
1113
* `Test.@test` now accepts `broken` and `skip` boolean keyword arguments, which
1113
1114
mimic `Test.@test_broken` and `Test.@test_skip` behavior, but allows skipping
1114
-
tests failing only under certain conditions. For example
1115
+
tests failing only under certain conditions. For example
* The `Pkg.BinaryPlatforms` module has been moved into `Base` as `Base.BinaryPlatforms` and heavily reworked.
1536
1537
Applications that want to be compatible with the old API should continue to import `Pkg.BinaryPlatforms`,
1537
1538
however new users should use `Base.BinaryPlatforms` directly ([#37320]).
1538
-
* The `Pkg.Artifacts` module has been imported as a separate standard library. It is still available as
1539
+
* The `Pkg.Artifacts` module has been imported as a separate standard library. It is still available as
1539
1540
`Pkg.Artifacts`, however starting from Julia v1.6+, packages may import simply `Artifacts` without importing
1540
1541
all of `Pkg` alongside ([#37320]).
1541
1542
@@ -1575,7 +1576,7 @@ Standard library changes
1575
1576
* The `AbstractMenu` extension interface of `REPL.TerminalMenus` has been extensively
1576
1577
overhauled. The new interface does not rely on global configuration variables, is more
1577
1578
consistent in delegating printing of the navigation/selection markers, and provides
1578
-
improved support for dynamic menus. These changes are compatible with the previous
1579
+
improved support for dynamic menus. These changes are compatible with the previous
1579
1580
(deprecated) interface, so are non-breaking.
1580
1581
1581
1582
The new API offers several enhancements:
@@ -1830,8 +1831,8 @@ New library functions
1830
1831
`Base.Experimental.show_error_hints` from their `showerror` method ([#35094]).
1831
1832
* The `@ccall` macro has been added to Base. It is a near drop-in replacement for `ccall` with more Julia-like syntax. It also wraps the new `foreigncall` API for varargs of different types, though it lacks the capability to specify an LLVM calling convention ([#32748]).
1832
1833
* New functions `mergewith` and `mergewith!` supersede `merge` and `merge!` with `combine`
1833
-
argument. They don't have the restriction for `combine` to be a `Function` and also
1834
-
provide one-argument method that returns a closure. The old methods of `merge` and
1834
+
argument. They don't have the restriction for `combine` to be a `Function` and also
1835
+
provide one-argument method that returns a closure. The old methods of `merge` and
1835
1836
`merge!` are still available for backward compatibility ([#34296]).
1836
1837
* The new `isdisjoint` function indicates whether two collections are disjoint ([#34427]).
1837
1838
* Add function `ismutable` and deprecate `isimmutable` to check whether something is mutable ([#34652]).
@@ -2711,7 +2712,7 @@ Standard Library Changes
2711
2712
2712
2713
* The `Libdl` module's methods `dlopen()` and `dlsym()` have gained a
2713
2714
`throw_error` keyword argument, replacing the now-deprecated `dlopen_e()`
2714
-
and `dlsym_e()` methods. When `throw_error` is `false`, failure to locate
2715
+
and `dlsym_e()` methods. When `throw_error` is `false`, failure to locate
2715
2716
a shared library or symbol will return `nothing` rather than `C_NULL`.
2716
2717
([#28888])
2717
2718
@@ -2973,7 +2974,7 @@ This section lists changes that do not have deprecation warnings.
2973
2974
"Code Loading" and "Pkg" for documentation.
2974
2975
2975
2976
*`replace(s::AbstractString, pat=>repl)` for function `repl` arguments formerly
2976
-
passed a substring to `repl` in all cases. It now passes substrings for
2977
+
passed a substring to `repl` in all cases. It now passes substrings for
2977
2978
string patterns `pat`, but a `Char` for character patterns (when `pat` is a
2978
2979
`Char`, collection of `Char`, or a character predicate) ([#25815]).
2979
2980
@@ -3158,7 +3159,7 @@ This section lists changes that do not have deprecation warnings.
3158
3159
3159
3160
* The logging system has been redesigned - `info` and `warn` are deprecated
3160
3161
and replaced with the logging macros `@info`, `@warn`, `@debug` and
3161
-
`@error`. The `logging` function is also deprecated and replaced with
3162
+
`@error`. The `logging` function is also deprecated and replaced with
3162
3163
`AbstractLogger` and the functions from the new standard `Logging` library.
3163
3164
([#24490])
3164
3165
@@ -3314,7 +3315,7 @@ Library improvements
3314
3315
For example, `x^-1` is now essentially a synonym for `inv(x)`, and works
3315
3316
in a type-stable way even if `typeof(x) != typeof(inv(x))` ([#24240]).
3316
3317
3317
-
* New `Iterators.reverse(itr)` for reverse-order iteration ([#24187]). Iterator
3318
+
* New `Iterators.reverse(itr)` for reverse-order iteration ([#24187]). Iterator
3318
3319
types `T` can implement `start` etc. for `Iterators.Reverse{T}` to support this.
3319
3320
3320
3321
* The functions `nextind` and `prevind` now accept `nchar` argument that indicates
@@ -3453,7 +3454,7 @@ Library improvements
3453
3454
cartesian indices to linear indices using the normal indexing operation.
3454
3455
([#24715], [#26775]).
3455
3456
3456
-
*`IdDict{K,V}` replaces `ObjectIdDict`. It has type parameters
3457
+
*`IdDict{K,V}` replaces `ObjectIdDict`. It has type parameters
3457
3458
like other `AbstractDict` subtypes and its constructors mirror the
3458
3459
ones of `Dict`. ([#25210])
3459
3460
@@ -3664,8 +3665,8 @@ Deprecated or removed
3664
3665
should add offset axis support to the function `f` directly ([#26733]).
3665
3666
3666
3667
* The functions `ones` and `zeros` used to accept any objects as dimensional arguments,
3667
-
implicitly converting them to `Int`s. This is now deprecated; only `Integer`s or
3668
-
`AbstractUnitRange`s are accepted as arguments. Instead, convert the arguments before
3668
+
implicitly converting them to `Int`s. This is now deprecated; only `Integer`s or
3669
+
`AbstractUnitRange`s are accepted as arguments. Instead, convert the arguments before
3669
3670
calling `ones` or `zeros` ([#26733]).
3670
3671
3671
3672
* The variadic `size(A, dim1, dim2, dims...)` method to return a tuple of multiple
@@ -4530,8 +4531,8 @@ Language changes
4530
4531
Previously, this syntax parsed as an implicit multiplication ([#18690]).
4531
4532
4532
4533
* For every binary operator `⨳`, `a .⨳ b` is now automatically equivalent to
4533
-
the `broadcast` call `(⨳).(a, b)`. Hence, one no longer defines methods
4534
-
for `.*` etcetera. This also means that "dot operations" automatically
4534
+
the `broadcast` call `(⨳).(a, b)`. Hence, one no longer defines methods
4535
+
for `.*` etcetera. This also means that "dot operations" automatically
4535
4536
fuse into a single loop, along with other dot calls `f.(x)` ([#17623]).
4536
4537
Similarly for unary operators ([#20249]).
4537
4538
@@ -4584,11 +4585,11 @@ This section lists changes that do not have deprecation warnings.
4584
4585
or an array as a "scalar" ([#16986]).
4585
4586
4586
4587
* `broadcast` now produces a `BitArray` instead of `Array{Bool}` for
4587
-
functions yielding a boolean result. If you want `Array{Bool}`, use
4588
+
functions yielding a boolean result. If you want `Array{Bool}`, use
4588
4589
`broadcast!` or `.=` ([#17623]).
4589
4590
4590
4591
* Broadcast `A[I...] .= X` with entirely scalar indices `I` is deprecated as
4591
-
its behavior will change in the future. Use `A[I...] = X` instead.
4592
+
its behavior will change in the future. Use `A[I...] = X` instead.
4592
4593
4593
4594
* Operations like `.+` and `.*` on `Range` objects are now generic
4594
4595
`broadcast` calls (see [above](#language-changes)) and produce an `Array`.
@@ -4634,7 +4635,7 @@ This section lists changes that do not have deprecation warnings.
4634
4635
now tab-completes to U+03B5 (greek small letter epsilon) ([#19464]).
4635
4636
4636
4637
* `retry` now inputs the keyword arguments `delays` and `check` instead of
4637
-
`n` and `max_delay`. The previous functionality can be achieved setting
4638
+
`n` and `max_delay`. The previous functionality can be achieved setting
4638
4639
`delays` to `ExponentialBackOff` ([#19331]).
4639
4640
4640
4641
* `transpose(::AbstractVector)` now always returns a `RowVector` view of the input (which is a
@@ -4675,7 +4676,7 @@ This section lists changes that do not have deprecation warnings.
4675
4676
using the values and types of `a` and `step` as given, whereas
4676
4677
`range(a, step, len)` will attempt to match inputs `a::FloatNN`
4677
4678
and `step::FloatNN` to rationals and construct a `StepRangeLen`
4678
-
that internally uses twice-precision arithmetic. These two
4679
+
that internally uses twice-precision arithmetic. These two
4679
4680
outcomes exhibit differences in both precision and speed.
4680
4681
4681
4682
* `A=>B` expressions are now parsed as calls instead of using `=>` as the
@@ -4695,7 +4696,7 @@ This section lists changes that do not have deprecation warnings.
4695
4696
trigamma, and polygamma special functions have been moved from Base to
0 commit comments