Repository navigation
crystal 1.13.0 - #176873
Merged
Merged
crystal 1.13.0#176873
Conversation
p-linnane
approved these changes
Jul 10, 2024
Contributor
|
馃 An automated task has requested bottles to be published to this PR. |
BrewTestBot
enabled auto-merge
July 10, 2024 01:58
BrewTestBot
added this pull request to the merge queue
Jul 10, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 bumpCreated with
brew bump-formula-pr.resourceblocks 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)WaitGroupsynchronization primitive (#14167, thanks @ysbaddaden)Atomics of pointer types (#14401, thanks @HertzDevil)Thread.newyields 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::Contextbindings (#14612, thanks @ysbaddaden)UInt32andUInt64in 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.newtoIndexable(HTTP::Handler)(#14413, thanks @hugopl)EventLoop::Socketmodule (#14643, thanks @straight-shoota)EventLoop::FileDescriptormodule (#14639, thanks @straight-shoota)Crystal::Tracingfor 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::MatchOptionsoverload forString#index!(#14462, thanks @HertzDevil)StringPool#get?(#14508, thanks @HertzDevil)pkg_confignames forpcre2andpcre(#14584, thanks @straight-shoota)Time::Error(#14743, thanks @Blacksmoke16)compiler
-Osand-Ozto optimize binary size (#14463, thanks @ysbaddaden)tools
Bugfixes
lang
ifbodies inside macro expressions (#14505, thanks @HertzDevil)->inside certain comma-separated lists (#14506, thanks @HertzDevil)Selectnodes' macro interpolation (#14510, thanks @HertzDevil)Expressions#to_s(#14511, thanks @HertzDevil)stdlib
Enumerable#to_aandEnumerable#tallyproperly retain return type ofT(#14447, thanks @Blacksmoke16)IndexErrorin#[]?(Range)(#14444, thanks @HertzDevil)Set#to_a(&)(#14519, thanks @meatball133)Hash#rehashto reset@first(#14606, thanks @straight-shoota)NamedTuple#from(#14790, thanks @HertzDevil)NamedTuple.newwhen using key with a hyphen (#14785, thanks @Blacksmoke16)#fsyncand#flock_*onIO::FileDescriptor(#14432, thanks @HertzDevil)IO::FileDescriptor#tty?return false for NUL on Windows (#14509, thanks @HertzDevil)IO::FileDescriptorecho and raw mode methods (#14529, thanks @HertzDevil)File.symlinkon Windows (#14522, thanks @HertzDevil)IO#same_content?accepting prefix on second stream (#14664, thanks @straight-shoota)File#read_atfor large offsets on Windows (#14708, thanks @HertzDevil)IO::FileDescriptor.newfor closed fd (#14697, thanks @straight-shoota)IO::Delimitedreading into limited slice with peek (#14772, thanks @straight-shoota)Compress::Gzipextra field (#14550, thanks @kojix2)Socket#closeerror handling on Windows (#14517, thanks @HertzDevil)HTTP::StaticFileHandler(#14546, thanks @alexkutsan)SOCK_CLOEXEC) (#14632, thanks @carlhoerberg)SOCK_CLOEXECwithFD_CLOEXECfallback (#14672, thanks @ysbaddaden)Socket#connecttimeout type restriction (#14755, thanks @straight-shoota)Socket#connecton Windows (#14756, thanks @straight-shoota)BigRational#format(#14525, thanks @meatball133)printf("%e")andprintf("%g")(#14695, thanks @straight-shoota)GC.mallocforgc_noneto clear memory (#14746, thanks @straight-shoota)falsevalue (#14779, thanks @dammer)System.retry_with_bufferwith stack buffer (#14615, thanks @straight-shoota)Socket&FileDescriptoron Windows (#14634, thanks @ysbaddaden)dup3andpipe2to setO_CLOEXECwhen available (#14673, thanks @ysbaddaden)retry_with_bufferwhen big buffer is necessary (#14622, thanks @BlobCodes)Process.runwith closed IO (#14698, thanks @straight-shoota)strerror_roverstrerrorfor thread-safe errno (#14764, thanks @ysbaddaden)String#subraiseIndexErrorif index is equal to size (#14458, thanks @HertzDevil)libpcre2version detection not working for-RC{N}versions (#14478, thanks @Frityet)Regex#inspectwith non-literal-compatible options (#14575, thanks @straight-shoota)-(#14739, thanks @HertzDevil)compiler
target_machinefor every program (#14694, thanks @straight-shoota)ReferenceStorage(T)non-atomic ifTis non-atomic (#14730, thanks @HertzDevil)crystal_formatters.pyfor Python 3 (#14665, thanks @zw963)Crystal::Path#to_macro_idfor global path (#14490, thanks @straight-shoota)Class#===on metaclass (#11162, thanks @makenowjust)tools
HOST_TRIPLEandTARGET_TRIPLE(#14570, thanks @straight-shoota)#[]operator call (#14526, thanks @HertzDevil)Chores
stdlib
Range#reverse_each(#14709, thanks @yxhuvud)WaitGrouptodocs_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 : StringinTCPSocketandAddrinfo(#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_RPATHand delay-load helper (#14598, thanks @HertzDevil)Performance
stdlib
Hashfor 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_readand#system_writeforFileDescriptorandSocket(#14626, thanks @straight-shoota)#evented_*methods (#14627, thanks @straight-shoota)IO#read_byteinstead of#read_charinHTTP::ChunkedContent(#14548, thanks @straight-shoota)Threadowns 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::IocptoCrystal::IOCP(#14662, thanks @straight-shoota)EventLoop.create(#14661, thanks @straight-shoota)typedeclarations for void pointers withaliasinlibxml2(#14494, thanks @straight-shoota)JSON::Any#sizeto use two branches instead of three (#14533, thanks @meatball133)Speccontext 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_buffercalling#to_slice(#14614, thanks @straight-shoota)UNIXSocket.pairasCrystal::System::Socket.socketpair(#14675, thanks @ysbaddaden)Pointer.new(Int)(#14683, thanks @straight-shoota)IOCP::OverlappedOperation(#14723, thanks @straight-shoota)IOCP::OverlappedOperationinternalizehandleandwait_for_completion(#14724, thanks @straight-shoota)compiler
Program#size_tandTarget#size_bit_width(#14442, thanks @ysbaddaden)Crystal::Select::WhenwithCrystal::When(#14497, thanks @HertzDevil)Documentation
stdlib
Set#proper_superset_of?(#14516, thanks @meatball133)Indexable#[]?(#14721, thanks @meatball133)WeakRefby removingref.valuecall (#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::Writerwithextra(#14788, thanks @straight-shoota)Pointer::Appender(#14719, thanks @straight-shoota)normalize/regex_spec(#14545, thanks @straight-shoota)Infrastructure
src/VERSIONinupdate-changelogandrelease-update(#14547, thanks @straight-shoota)shell.nixusellvmPackages.bintoolswith wrapper for rpath config (#14583, thanks @straight-shoota)src/SOURCE_DATE_EPOCHto release tree (#14574, thanks @straight-shoota)boehmgcpackage from nixpkgs inshell.nix(#14591, thanks @straight-shoota)shell.nix(#14590, thanks @straight-shoota)pkg-configname inshell.nix(#14593, thanks @straight-shoota)infrastructure(#14781, thanks @straight-shoota)SetShouldExitin Powershell wrapper (#13769, thanks @straight-shoota)primitives_specwith the interpreter on CI (#14438, thanks @HertzDevil)shards.pdbon Windows (#14415, thanks @HertzDevil)