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
+32-2
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ New language features
5
5
---------------------
6
6
7
7
* Function call overloading: for arbitrary objects `x` (not of type
8
-
`Function`), `x(...)` is transformed into `call(x, ...)`, and `Base.call`
8
+
`Function`), `x(...)` is transformed into `call(x, ...)`, and `call`
9
9
can be overloaded as desired. Constructors are now a special case of
10
10
this mechanism, which allows e.g. constructors for abstract types.
11
11
`T(...)` falls back to `convert(T, x)`, so all `convert` methods implicitly
@@ -23,7 +23,7 @@ New language features
23
23
it operates at two different stages of evaluation. At compile time, the generated
24
24
function is called with its arguments bound to the types for which it should
25
25
specialize. The quoted expression it returns forms the body of the specialized
26
-
method which is then called at run time. ([#7311]).
26
+
method which is then called at run time ([#7311]).
27
27
28
28
* (Also with syntax todo) Documentation system for functions, methods, types
29
29
and macros in packages and user code ([#8791]). Type `?@doc` at the repl
@@ -32,6 +32,9 @@ New language features
32
32
* Varargs functions like `foo{T}(x::T...)` may now restrict the number
33
33
of such arguments using `foo{T,N}(x::Vararg{T,N})` ([#11242]).
34
34
35
+
* The syntax `function foo end` can be used to introduce a generic function without
36
+
yet adding any methods ([#8283]).
37
+
35
38
Language changes
36
39
----------------
37
40
@@ -117,6 +120,13 @@ Language changes
117
120
* The built-in `NTuple` type has been removed; `NTuple{N,T}` is now
118
121
implemented internally as `Tuple{Vararg{T,N}}` ([#11242]).
119
122
123
+
Command line option changes
124
+
---------------------------
125
+
126
+
* The `-i` option now forces the REPL to run after loading the specified script (if any) ([#11347]).
127
+
128
+
* New option --handle-signals={yes|no} to disable Julia's signal handlers.
129
+
120
130
Compiler improvements
121
131
---------------------
122
132
@@ -165,6 +175,8 @@ Library improvements
165
175
166
176
* OpenBLAS 64-bit (ILP64) interface is now compiled with a `64_` suffix ([#8734]) to avoid conflicts with external libraries using a 32-bit BLAS ([#4923]).
167
177
178
+
* New `vecdot` function, analogous to `vecnorm`, for Euclidean inner products over any iterable container ([#11067]).
179
+
168
180
* Strings
169
181
170
182
* NUL-terminated strings should now be passed to C via the new `Cstring` type, not `Ptr{UInt8}` or `Ptr{Cchar}`,
@@ -373,6 +385,15 @@ Deprecated or removed
373
385
374
386
* Instead of `linrange`, use `linspace` ([#9666]).
375
387
388
+
* The functions `is_valid_char`, `is_valid_ascii`, `is_valid_utf8`, `is_valid_utf16`, and
389
+
`is_valid_utf32` have been replaced by generic `isvalid` methods.
390
+
The single argument form `isvalid(value)` can now be used for values of type `Char`, `ASCIIString`,
391
+
`UTF8String`, `UTF16String` and `UTF32String`.
392
+
The two argument form `isvalid(type, value)` can be used with the above types, with values
393
+
of type `Vector{UInt8}`, `Vector{UInt16}`, `Vector{UInt32}`, and `Vector{Char}` ([#11241]).
394
+
395
+
* Instead of `utf32(64,123,...)` use `utf32(UInt32[64,123,...])` ([#11379]).
0 commit comments