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