Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Created by
brew bump
Created with
brew bump-formula-pr
.resource
blocks have been checked for updates.release notes
_
inside macro expressions (#14452, thanks @HertzDevil)stdlib
Array#insert_all
(#14486, thanks @summer-alice)#sort(&block : T, T -> U)
(#14693, thanks @beta-ziliani)WaitGroup
synchronization primitive (#14167, thanks @ysbaddaden)Atomic
s of pointer types (#14401, thanks @HertzDevil)Thread.new
yields itself (#14543, thanks @ysbaddaden)Atomic(Bool)
(#14532, thanks @ysbaddaden)Thread.sleep(Time::Span)
(#14715, thanks @ysbaddaden)IO#tty?
in Win32 (#14421, thanks @HertzDevil)File.readable?
and.writable?
in Win32 (#14420, thanks @HertzDevil)File.readable?
and.writable?
follow symlinks on Windows (#14514, thanks @HertzDevil)LLVM::Context
bindings (#14612, thanks @ysbaddaden)UInt32
andUInt64
in Log Context (#14459, thanks @toddsundsted)#[]
operator call's macro interpolation (#14523, thanks @HertzDevil)Select
(#14600, thanks @HertzDevil)TypeNode#private?
,#public?
and#visibility
(#11696, thanks @Hadeweka)StringLiteral#to_utf16
(#14676, thanks @ysbaddaden)HTTP::Server.new
toIndexable(HTTP::Handler)
(#14413, thanks @hugopl)EventLoop::Socket
module (#14643, thanks @straight-shoota)EventLoop::FileDescriptor
module (#14639, thanks @straight-shoota)Crystal::Tracing
for runtime tracing (#14659, thanks @ysbaddaden)EventLoop#run(blocking)
andEventLoop#interrupt
(#14568, thanks @ysbaddaden)Crystal::System::Time.ticks
(#14620, thanks @ysbaddaden)Crystal::System::Thread.current_thread?
,#scheduler?
(#14660, thanks @ysbaddaden)Crystal::System.panic
(#14733, thanks @ysbaddaden)Regex::MatchOptions
overload forString#index!
(#14462, thanks @HertzDevil)StringPool#get?
(#14508, thanks @HertzDevil)pkg_config
names forpcre2
andpcre
(#14584, thanks @straight-shoota)Time::Error
(#14743, thanks @Blacksmoke16)compiler
-Os
and-Oz
to optimize binary size (#14463, thanks @ysbaddaden)tools
Bugfixes
lang
if
bodies inside macro expressions (#14505, thanks @HertzDevil)->
inside certain comma-separated lists (#14506, thanks @HertzDevil)Select
nodes' macro interpolation (#14510, thanks @HertzDevil)Expressions#to_s
(#14511, thanks @HertzDevil)stdlib
Enumerable#to_a
andEnumerable#tally
properly retain return type ofT
(#14447, thanks @Blacksmoke16)IndexError
in#[]?(Range)
(#14444, thanks @HertzDevil)Set#to_a(&)
(#14519, thanks @meatball133)Hash#rehash
to reset@first
(#14606, thanks @straight-shoota)NamedTuple#from
(#14790, thanks @HertzDevil)NamedTuple.new
when using key with a hyphen (#14785, thanks @Blacksmoke16)#fsync
and#flock_*
onIO::FileDescriptor
(#14432, thanks @HertzDevil)IO::FileDescriptor#tty?
return false for NUL on Windows (#14509, thanks @HertzDevil)IO::FileDescriptor
echo and raw mode methods (#14529, thanks @HertzDevil)File.symlink
on Windows (#14522, thanks @HertzDevil)IO#same_content?
accepting prefix on second stream (#14664, thanks @straight-shoota)File#read_at
for large offsets on Windows (#14708, thanks @HertzDevil)IO::FileDescriptor.new
for closed fd (#14697, thanks @straight-shoota)IO::Delimited
reading into limited slice with peek (#14772, thanks @straight-shoota)Compress::Gzip
extra field (#14550, thanks @kojix2)Socket#close
error handling on Windows (#14517, thanks @HertzDevil)HTTP::StaticFileHandler
(#14546, thanks @alexkutsan)SOCK_CLOEXEC
) (#14632, thanks @carlhoerberg)SOCK_CLOEXEC
withFD_CLOEXEC
fallback (#14672, thanks @ysbaddaden)Socket#connect
timeout type restriction (#14755, thanks @straight-shoota)Socket#connect
on Windows (#14756, thanks @straight-shoota)BigRational#format
(#14525, thanks @meatball133)printf("%e")
andprintf("%g")
(#14695, thanks @straight-shoota)GC.malloc
forgc_none
to clear memory (#14746, thanks @straight-shoota)false
value (#14779, thanks @dammer)System.retry_with_buffer
with stack buffer (#14615, thanks @straight-shoota)Socket
&FileDescriptor
on Windows (#14634, thanks @ysbaddaden)dup3
andpipe2
to setO_CLOEXEC
when available (#14673, thanks @ysbaddaden)retry_with_buffer
when big buffer is necessary (#14622, thanks @BlobCodes)Process.run
with closed IO (#14698, thanks @straight-shoota)strerror_r
overstrerror
for thread-safe errno (#14764, thanks @ysbaddaden)String#sub
raiseIndexError
if index is equal to size (#14458, thanks @HertzDevil)libpcre2
version detection not working for-RC{N}
versions (#14478, thanks @Frityet)Regex#inspect
with non-literal-compatible options (#14575, thanks @straight-shoota)-
(#14739, thanks @HertzDevil)compiler
target_machine
for every program (#14694, thanks @straight-shoota)ReferenceStorage(T)
non-atomic ifT
is non-atomic (#14730, thanks @HertzDevil)crystal_formatters.py
for Python 3 (#14665, thanks @zw963)Crystal::Path#to_macro_id
for global path (#14490, thanks @straight-shoota)Class#===
on metaclass (#11162, thanks @makenowjust)tools
HOST_TRIPLE
andTARGET_TRIPLE
(#14570, thanks @straight-shoota)#[]
operator call (#14526, thanks @HertzDevil)Chores
stdlib
Range#reverse_each
(#14709, thanks @yxhuvud)WaitGroup
todocs_main.cr
(#14624, thanks @straight-shoota)File.readable?
,.writable?
,.executable?
toFile::Info
(#14484, thanks @straight-shoota)Crystal::System::Socket#system_send
(#14637, thanks @straight-shoota)host : String
inTCPSocket
andAddrinfo
(#14703, thanks @straight-shoota)LibEvent::EventLoop#send_to
(#14658, thanks @straight-shoota)IO::Evented
(#14666, thanks @straight-shoota)IO::Overlapped
(#14704, thanks @straight-shoota)compiler
CRYSTAL_LIBRARY_RPATH
and delay-load helper (#14598, thanks @HertzDevil)Performance
stdlib
Hash
for repeated removals and insertions (#14539, thanks @HertzDevil)Int::Primitive#unsafe_chr
(#14443, thanks @HertzDevil)String#index(Char)
and#rindex(Char)
for invalid UTF-8 (#14461, thanks @HertzDevil)String#to_utf16
(#14671, thanks @straight-shoota)Refactor
stdlib
#unsafe_as(UInt64)
etc. (#14686, thanks @straight-shoota)StaticArray(UInt8, 1)#unsafe_as(UInt8)
(#14685, thanks @straight-shoota)LibC._setmode
(#14419, thanks @HertzDevil)System::FileDescriptor#unbuffered_{read,write}
(#14607, thanks @straight-shoota)#system_read
and#system_write
forFileDescriptor
andSocket
(#14626, thanks @straight-shoota)#evented_*
methods (#14627, thanks @straight-shoota)IO#read_byte
instead of#read_char
inHTTP::ChunkedContent
(#14548, thanks @straight-shoota)Thread
owns its current fiber (instead ofCrystal::Scheduler
) (#14554, thanks @ysbaddaden)Fiber#enqueue
(#14561, thanks @ysbaddaden)Crystal::EventLoop.current
(#14559, thanks @ysbaddaden)Fiber.suspend
(#14560, thanks @ysbaddaden)OverlappedOperation#synchronous
(#14663, thanks @straight-shoota)Crystal::Iocp
toCrystal::IOCP
(#14662, thanks @straight-shoota)EventLoop.create
(#14661, thanks @straight-shoota)type
declarations for void pointers withalias
inlibxml2
(#14494, thanks @straight-shoota)JSON::Any#size
to use two branches instead of three (#14533, thanks @meatball133)Spec
context state intoSpec::CLI
(#14259, thanks @HertzDevil)WinError#to_errno
(#14515, thanks @HertzDevil)Crystal::System.print_error(fmt, *args, &)
toprintf
(#14617, thanks @ysbaddaden)Crystal::System.retry_with_buffer
calling#to_slice
(#14614, thanks @straight-shoota)UNIXSocket.pair
asCrystal::System::Socket.socketpair
(#14675, thanks @ysbaddaden)Pointer.new(Int)
(#14683, thanks @straight-shoota)IOCP::OverlappedOperation
(#14723, thanks @straight-shoota)IOCP::OverlappedOperation
internalizehandle
andwait_for_completion
(#14724, thanks @straight-shoota)compiler
Program#size_t
andTarget#size_bit_width
(#14442, thanks @ysbaddaden)Crystal::Select::When
withCrystal::When
(#14497, thanks @HertzDevil)Documentation
stdlib
Set#proper_superset_of?
(#14516, thanks @meatball133)Indexable#[]?
(#14721, thanks @meatball133)WeakRef
by removingref.value
call (#10846, thanks @hugopl)Socket#send
(#14638, thanks @straight-shoota)HTTP::WebSocket#stream
(#14537, thanks @meatball133)CSV::Builder#row(&)
(#14736, thanks @philipp-classen)IO::Evented
(#14749, thanks @straight-shoota)Process.on_terminate
(#14798, thanks @philipp-classen)Char#ascii_number?
stating wrong minium base (#14521, thanks @meatball133)NO_UTF_CHECK
(#14542, thanks @straight-shoota)Specs
stdlib
describe
(#14757, thanks @HertzDevil)Compress::Gzip::Writer
withextra
(#14788, thanks @straight-shoota)Pointer::Appender
(#14719, thanks @straight-shoota)normalize/regex_spec
(#14545, thanks @straight-shoota)Infrastructure
src/VERSION
inupdate-changelog
andrelease-update
(#14547, thanks @straight-shoota)shell.nix
usellvmPackages.bintools
with wrapper for rpath config (#14583, thanks @straight-shoota)src/SOURCE_DATE_EPOCH
to release tree (#14574, thanks @straight-shoota)boehmgc
package from nixpkgs inshell.nix
(#14591, thanks @straight-shoota)shell.nix
(#14590, thanks @straight-shoota)pkg-config
name inshell.nix
(#14593, thanks @straight-shoota)infrastructure
(#14781, thanks @straight-shoota)SetShouldExit
in Powershell wrapper (#13769, thanks @straight-shoota)primitives_spec
with the interpreter on CI (#14438, thanks @HertzDevil)shards.pdb
on Windows (#14415, thanks @HertzDevil)