Update dependency crystal to v1.13.1 #107
Open
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.
This PR contains the following updates:
1.11.2
->1.13.1
Release Notes
crystal-lang/crystal (crystal)
v1.13.1
Compare Source
Bugfixes
stdlib
Infrastructure
v1.13.0
Compare Source
Features
lang
_
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)v1.12.2
Compare Source
Patch release with a bug fix necessary for support of latest libgc
Bugfixes
stdlib
Fiber.unsafe_each
andThread.unsafe_each
(#14635, thanks @ysbaddaden)Infrastructure
v1.12.1
Compare Source
Bugfixes
tools
Infrastructure
v1.12.0
Compare Source
Features
lang
=
(#14159, thanks @HertzDevil)stdlib
IO::FileDescriptor::Handle
(#14390, thanks @straight-shoota)Primitive
(#14263, thanks @HertzDevil)TypeOf
(#14262, thanks @HertzDevil)Alias
(#14261, thanks @HertzDevil)Asm
andAsmOperand
(#14268, thanks @HertzDevil)delegate
's setter detection (#14282, thanks @HertzDevil)BigRational#%
,#tdiv
,#remainder
(#14306, thanks @HertzDevil)ReferenceStorage
for manual allocation of references (#14270, thanks @HertzDevil)Signal#trap_handler?
(#14126, thanks @stakach)Process.on_terminate
(#13694, thanks @stakach)Etc/UTC
time zone identifier without tzdb (#14185, thanks @femto)compiler
CRYSTAL_CONFIG_CC
compiler config (#14318, thanks @straight-shoota)NO_COLOR
in the compiler (#14260, thanks @HertzDevil)--static
on Windows (#14292, thanks @HertzDevil)--single-module
and--threads
foreval
andspec
(#14341, thanks @HertzDevil)--frame-pointers
to control preservation of frame pointers (#13860, thanks @refi64)@[Link]
's DLL search order in the interpreter on Windows (#14146, thanks @HertzDevil)#[]=
with a block using method syntax (#14161, thanks @HertzDevil)::foo
(#14203, thanks @femto)tools
crystal tool flags
(#14234, thanks @straight-shoota)ProcLiteral
s (#14209, thanks @HertzDevil)Bugfixes
lang
FunDef
's string representation (#14212, thanks @HertzDevil)T*
andT[N]
macro interpolation behavior inside libs (#14215, thanks @HertzDevil)stdlib
Hash#update
when default block also adds given key (#14417, thanks @HertzDevil)Hash#put_if_absent
putting duplicate keys (#14427, thanks @HertzDevil)Mutex#unlock
on aarch64 (#14272, thanks @jgaskins)FileUtils.mv
work across filesystems on Windows (#14320, thanks @HertzDevil)LLVM::Type#inline_asm
(#14265, thanks @HertzDevil)Complex
and other numbers exact (#14309, thanks @HertzDevil)#hash
for theBig*
number types (#14308, thanks @HertzDevil)Crystal::RWLock
should be a struct (#14345, thanks @ysbaddaden)min_by?
in IOCP event loop#run_once
(#14394, thanks @straight-shoota)XML::Reader
: Disallow attributes containing null bytes (#14193, thanks @HertzDevil)LibXML.xmlInitParser
when requiring XML libraries (#14191, thanks @HertzDevil)Crystal::LIBRARY_PATH.split
when cross-compiling (#14330, thanks @HertzDevil)SA_RESTART
flag to sigaction syscall (#14351, thanks @ysbaddaden)Nil
return type restriction toString::Formatter#consume_substitution
(#14430, thanks @straight-shoota)compiler
build --no-codegen
output file name error (#14239, thanks @apainintheneck)"intel"
flag as AT&T syntax (#14264, thanks @HertzDevil)alignof(Void*)
inside union values (#14279, thanks @HertzDevil)Proc#call
that takes and returns large extern structs by value (#14323, thanks @HertzDevil).allocate
and.pre_initialize
(#14337, thanks @HertzDevil)UInt16#to_u8
for overflow in the interpreter (#14436, thanks @HertzDevil)UInt128#to_f32
and#to_f32!
(#14437, thanks @HertzDevil)FunDef
andExternal
nodes (#14267, thanks @HertzDevil)Alias
nodes (#14271, thanks @HertzDevil)tools
asm
with comments (#14278, thanks @straight-shoota)a.[b]
syntax (#14346, thanks @straight-shoota)foo ()
when formatting (#14439, thanks @HertzDevil)Chores
stdlib
openbsd6.2
(#14233, thanks @straight-shoota)Number
arguments (#14372, thanks @straight-shoota)compiler
Performance
stdlib
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.