- New
Base.@acquiremacro for a non-closure version ofBase.acquire(f, s::Base.Semaphore), like@lock. ([#56845])
- Exporting function
fieldindexto get the index of a struct's field ([#58119]).
sort(keys(::Dict))andsort(values(::Dict))now automatically collect, they previously threw ([#56978]).Base.AbstractOneTois added as a supertype of one-based axes, withBase.OneToas its subtype ([#56902]).
- Test failures when using the
@testmacro now show evaluated arguments for all function calls ([#57825], [#57839]).
- Introspection utilities such as
@code_typed,@whichand@editnow accept type annotations as substitutes for values, recognizing forms such asf(1, ::Float64, 3)or evensum(::Vector{T}; init = ::T) where {T<:Real}([#57909]).