@@ -39,6 +39,8 @@ New library functions
39
39
* ` isnothing(::Any) ` function, to check whether something is a ` Nothing ` , returns a ` Bool ` ([ #29679 ] ).
40
40
* ` getpid(::Process) ` method ([ #24064 ] ).
41
41
* ` eachrow ` , ` eachcol ` and ` eachslice ` functions provide efficient iterators over slices of arrays ([ #29749 ] ).
42
+ * ` fieldtypes(T::Type) ` which return the declared types of the field in type T ([ #29600 ] ).
43
+ * ` uuid5 ` has been added to the ` UUIDs ` standard library ([ #28761 ] ).
42
44
43
45
Standard library changes
44
46
------------------------
@@ -50,7 +52,7 @@ Standard library changes
50
52
* ` range ` can accept the stop value as a positional argument, e.g. ` range(1,10,step=2) ` ([ #28708 ] ).
51
53
* ` edit ` can now be called on a module to edit the file that defines it ([ #29636 ] ).
52
54
* ` diff ` now supports arrays of arbitrary dimensionality and can operate over any dimension ([ #29827 ] ).
53
- * ` sprandn ` now supports result types like ` ComplexF64 ` or ` Float32 ` ([ #30083 ] ).
55
+ * ` sprandn ` now supports specifying the output element type ([ #30083 ] ).
54
56
* All compiler-reflection tools (i.e. the ` code_ ` class of functions and macros) now print accurate
55
57
line number and inlining information in a common style, and take an optional parameter (debuginfo=: default )
56
58
to control the verbosity of the metadata shown ([ #29893 ] ).
@@ -66,11 +68,42 @@ Standard library changes
66
68
* ` Base.tail ` now works on named tuples ([ #29595 ] ).
67
69
* ` randperm ` and ` randcycle ` now use the type of their argument to determine the element type of
68
70
the returned array ([ #29670 ] ).
71
+ * The process id is appended to malloc log files in order to track memory allocations of
72
+ multiple processes ([ #29969 ] ).
73
+ * ` Base.julia_cmd ` now propagates the ` --inline=(yes|no) ` flag ([ #29858 ] ).
74
+ * New ` DateTime(::Date, ::Time) ` constructor ([ #29754 ] ).
75
+ * ` isdiag ` and ` isposdef ` for ` Diagonal ` and ` UniformScaling ` ([ #29638 ] ).
76
+ * ` mul! ` , ` rmul! ` and ` lmul! ` methods for ` UniformScaling ` ([ #29506 ] ).
77
+ * ` Symmetric ` and ` Hermitian ` matrices now preserve the wrapper when scaled with a number ([ #29469 ] ).
78
+ * New ` edit(m::Module) ` method which opens the main source file for module ` m ` ([ #29636 ] ).
79
+ * ` Base.@kwdef ` can now be used for parametric structs, and for structs with supertypes ([ #29316 ] ).
80
+ * ` merge(::NamedTuple, ::NamedTuple...) ` can now be used with more than 2 ` NamedTuple ` s ([ #29259 ] ).
81
+ * ` Future.copy! ` has been moved to ` Base ` ([ #29178 ] ).
82
+ * New ` ncodeunits(c::Char) ` method as a fast equivalent to ` ncodeunits(string(c)) ` ([ #29153 ] ).
83
+ * ` mean ` and ` var ` now handles the empty case ([ #29033 ] ).
84
+ * New ` sort!(::AbstractArray; dims) ` method that can sort the array along the ` dims ` dimension ([ #28902 ] ).
85
+ * ` range ` now accept ` stop ` as a positional argument ([ #28708 ] ).
86
+ * ` parse(Bool, str) ` is now supported ([ #29997 ] ).
87
+ * ` copyto!(::AbstractMatrix, ::UniformScaling) ` supports rectangular matrices now ([ #28790 ] ).
88
+ * In ` put!(c::Channel{T}, v) ` , ` v ` now gets converted to ` T ` as ` put! ` is being called ([ #29092 ] ).
89
+ * ` current_project() ` now searches the parent directories of a Git repository for a ` Project.toml ` file.
90
+ This also affects the behavior of the ` --project ` command line option when using the default
91
+ ` --project=@. ` ([ #29108 ] ).
92
+ * Exponentiation operator ` ^ ` now supports raising a ` Irrational ` to an ` AbstractMatrix ` power ([ #29782 ] ).
69
93
* A new method ` rand(::Tuple) ` implements sampling from the values of a tuple ([ #25278 ] ).
70
94
71
95
Compiler/Runtime improvements
72
96
-----------------------------
73
97
98
+ External dependencies
99
+ ---------------------
100
+
101
+ * 7zip (bundled with Julia on Windows) has been upgraded from version 16.04 to 18.05 ([ #30035 ] ).
102
+ * Busybox is no longer bundled with Julia on Windows ([ #30022 ] ).
103
+ * OpenBLAS has been upgraded from 0.3.2 to 0.3.3 ([ #29845 ] ).
104
+ * The source code for Pkg is no longer included in JuliaLang/julia. Pkg is instead
105
+ downloaded during the build process ([ #29615 ] ).
106
+ * LLVM has been upgraded to 6.0.1 and support for LLVM < 6.0 has been dropped ([ #28745 ] , [ #28696 ] ).
74
107
75
108
Deprecated or removed
76
109
---------------------
@@ -80,9 +113,65 @@ Deprecated or removed
80
113
to get an appropriate task-local buffer and pass it to ` grisu() ` instead ([ #29907 ] ).
81
114
* The internal function ` Base._default_type(T) ` has been removed. Calls to it should be
82
115
replaced with just the argument ` T ` ([ #29739 ] ).
116
+ * ` peakflops ` has been scheduled to move from ` InteractiveUtils ` to ` LinearAlgebra `
117
+ but is already now available as ` LinearAlgebra.peakflops ` ([ #29978 ] ).
83
118
84
119
<!-- - generated by NEWS-update.jl: -->
120
+ [ #21233 ] : https://github.com/JuliaLang/julia/issues/21233
121
+ [ #24064 ] : https://github.com/JuliaLang/julia/issues/24064
122
+ [ #25278 ] : https://github.com/JuliaLang/julia/issues/25278
85
123
[ #28156 ] : https://github.com/JuliaLang/julia/issues/28156
124
+ [ #28506 ] : https://github.com/JuliaLang/julia/issues/28506
125
+ [ #28696 ] : https://github.com/JuliaLang/julia/issues/28696
126
+ [ #28708 ] : https://github.com/JuliaLang/julia/issues/28708
127
+ [ #28745 ] : https://github.com/JuliaLang/julia/issues/28745
128
+ [ #28761 ] : https://github.com/JuliaLang/julia/issues/28761
129
+ [ #28790 ] : https://github.com/JuliaLang/julia/issues/28790
86
130
[ #28878 ] : https://github.com/JuliaLang/julia/issues/28878
131
+ [ #28902 ] : https://github.com/JuliaLang/julia/issues/28902
132
+ [ #29033 ] : https://github.com/JuliaLang/julia/issues/29033
133
+ [ #29092 ] : https://github.com/JuliaLang/julia/issues/29092
134
+ [ #29108 ] : https://github.com/JuliaLang/julia/issues/29108
135
+ [ #29127 ] : https://github.com/JuliaLang/julia/issues/29127
136
+ [ #29153 ] : https://github.com/JuliaLang/julia/issues/29153
137
+ [ #29157 ] : https://github.com/JuliaLang/julia/issues/29157
138
+ [ #29173 ] : https://github.com/JuliaLang/julia/issues/29173
139
+ [ #29178 ] : https://github.com/JuliaLang/julia/issues/29178
140
+ [ #29211 ] : https://github.com/JuliaLang/julia/issues/29211
141
+ [ #29259 ] : https://github.com/JuliaLang/julia/issues/29259
142
+ [ #29316 ] : https://github.com/JuliaLang/julia/issues/29316
143
+ [ #29429 ] : https://github.com/JuliaLang/julia/issues/29429
87
144
[ #29440 ] : https://github.com/JuliaLang/julia/issues/29440
88
145
[ #29442 ] : https://github.com/JuliaLang/julia/issues/29442
146
+ [ #29469 ] : https://github.com/JuliaLang/julia/issues/29469
147
+ [ #29506 ] : https://github.com/JuliaLang/julia/issues/29506
148
+ [ #29595 ] : https://github.com/JuliaLang/julia/issues/29595
149
+ [ #29600 ] : https://github.com/JuliaLang/julia/issues/29600
150
+ [ #29615 ] : https://github.com/JuliaLang/julia/issues/29615
151
+ [ #29636 ] : https://github.com/JuliaLang/julia/issues/29636
152
+ [ #29638 ] : https://github.com/JuliaLang/julia/issues/29638
153
+ [ #29670 ] : https://github.com/JuliaLang/julia/issues/29670
154
+ [ #29679 ] : https://github.com/JuliaLang/julia/issues/29679
155
+ [ #29733 ] : https://github.com/JuliaLang/julia/issues/29733
156
+ [ #29739 ] : https://github.com/JuliaLang/julia/issues/29739
157
+ [ #29749 ] : https://github.com/JuliaLang/julia/issues/29749
158
+ [ #29754 ] : https://github.com/JuliaLang/julia/issues/29754
159
+ [ #29781 ] : https://github.com/JuliaLang/julia/issues/29781
160
+ [ #29782 ] : https://github.com/JuliaLang/julia/issues/29782
161
+ [ #29819 ] : https://github.com/JuliaLang/julia/issues/29819
162
+ [ #29827 ] : https://github.com/JuliaLang/julia/issues/29827
163
+ [ #29845 ] : https://github.com/JuliaLang/julia/issues/29845
164
+ [ #29858 ] : https://github.com/JuliaLang/julia/issues/29858
165
+ [ #29890 ] : https://github.com/JuliaLang/julia/issues/29890
166
+ [ #29893 ] : https://github.com/JuliaLang/julia/issues/29893
167
+ [ #29907 ] : https://github.com/JuliaLang/julia/issues/29907
168
+ [ #29913 ] : https://github.com/JuliaLang/julia/issues/29913
169
+ [ #29968 ] : https://github.com/JuliaLang/julia/issues/29968
170
+ [ #29969 ] : https://github.com/JuliaLang/julia/issues/29969
171
+ [ #29978 ] : https://github.com/JuliaLang/julia/issues/29978
172
+ [ #29980 ] : https://github.com/JuliaLang/julia/issues/29980
173
+ [ #29997 ] : https://github.com/JuliaLang/julia/issues/29997
174
+ [ #30022 ] : https://github.com/JuliaLang/julia/issues/30022
175
+ [ #30035 ] : https://github.com/JuliaLang/julia/issues/30035
176
+ [ #30083 ] : https://github.com/JuliaLang/julia/issues/30083
177
+ [ #30159 ] : https://github.com/JuliaLang/julia/issues/30159
0 commit comments