Open
Conversation
✅ Deploy Preview for termisu canceled.
|
|
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.



This PR contains the following updates:
1.19.1→1.20.0Release Notes
crystal-lang/crystal (crystal)
v1.20.0Compare Source
Security
stdlib
HTTP::Serveris no longer vulnerable to request smuggling (GHSA-wqh5-7w63-pm68)Features
lang
#selectand#rejecttoHashLiteralandNamedTupleLiteral(#16558, thanks @Blacksmoke16)stdlib
OptionParser(#16770, thanks @Qard)OpenSSL::BIO(#16646, thanks @ysbaddaden)IO#read_greedy(#16535, thanks @BlobCodes)FileUtils#rm_f(#12832, thanks @zw963)IO::PrefixSuffixBufferfor capturing truncated streams (#16774, thanks @straight-shoota)Sec-WebSocket-Protocolchecks toHTTP::WebSocket::Protocol(#16600, #16671, thanks @antondalgren, @straight-shoota)Sec-WebSocket-ProtocoltoHTTP::WebSocketHandler(#16574, thanks @antondalgren)HTTP::Response#content_typeand#content_lengthas convenient accessors (#16712, thanks @CTC97)OAutherror in payload (#16634, #16828, thanks @jgaskins, @Sija)Fiber::ExecutionContext::ThreadPool(#15885, #16750, thanks @ysbaddaden)Pointer#align_upand#align_down(#16585, thanks @BlobCodes)recordmacro (#16172, #16834, thanks @Vici37, @ysbaddaden)Crystal::Lock(#16768, thanks @ysbaddaden)FdLockon all targets (#16569, thanks @ysbaddaden)Process.newwithargsinstead ofcommand, args(#16681, thanks @straight-shoota)Process.run(args)withoutcommand(#16739, thanks @straight-shoota)Process.run?(#16738, thanks @straight-shoota)Process.capture(#16773, thanks @straight-shoota)StringScanner#scan,#check, and#skipoverloads forInt(#16557, thanks @jneen)StringScanner#peek_behind(#16593, thanks @jneen)StringScanner(#16595, thanks @jneen)StringScanner#inspect(#16594, thanks @jneen)compiler
moldorlld) (#16696, thanks @straight-shoota)@[TargetFeature]annotation (#16717, #16835, thanks @stakach, @ysbaddaden)ProcNotationwith empty arg parenthesis:() ->(#16741, thanks @straight-shoota)tools
--base-pathforcrystal docs(#16091, thanks @matiasgarciaisaia)Bugfixes
stdlib
UInt32(#16730, thanks @kojix2)HTTP::Headers#merge!to not wrap key (#16624, thanks @straight-shoota)forward_missing_toinHTTP::Headers(#16637, thanks @straight-shoota)Socket::IPAddressIPv4 address in IPv6 with zone identifier (#16813, thanks @straight-shoota)Indexable#range_to_index_and_countwith unsigned integers (#16597, thanks @jneen)Float32#absto returnFloat32(#16655, thanks @straight-shoota)EventLoop#open(#16636, thanks @kojix2)Thread.sleepis invalid when duration >= 1 minute (#16629, thanks @ysbaddaden)Sync::ConditionVariablecan hang forever (#16677, thanks @ysbaddaden)Pointer#to_swith lib typedefs (#16687, thanks @straight-shoota)Process#waiton Windows (#16766, thanks @ysbaddaden)xmlFreefor string pointer fromxmlNodeGetContent(#16688, thanks @toddsundsted)Dir.globmatching wildcard with dot directory (#16604, thanks @straight-shoota)Fiber.currentaccess on segfault handler (#16612, thanks @bcardiff)Process#waitto not close@inputbefore waiting (#16620, #16638, thanks @straight-shoota, @ysbaddaden)System.cpu_countreturnsInt32(#16648, thanks @straight-shoota)Process.new(args)etc. supportEnumerable(String)args (#16784, thanks @straight-shoota)String#scanzero-width matches with multibyte characters (#16684, thanks @error256)compiler
unreachablefor inlinedNoReturnreturns (#16690, thanks @kojix2)declare_funattribute copy (#16708, thanks @kojix2)|delimiter in macro context (#16672, #16716, thanks @toddsundsted, @straight-shoota)tools
ProcNotationwith parens around argument type (#16753, thanks @straight-shoota)@lineonly on write (#16762, thanks @straight-shoota)Chores
stdlib
@[Experimental]annotation to new Process API (#16816, thanks @straight-shoota)Performance
stdlib
System::Time.monotonicon Windows (#16555, thanks @straight-shoota)Refactor
stdlib
OpenSSL::BIO(#16640, thanks @ysbaddaden)Slice.literalforfast_floatwhen supported, part 2 (#16261, thanks @HertzDevil)Mutexin favor toSync::Mutex(#16737, #16759, #16802, thanks @ysbaddaden)Crystal::System::EnvwithSync::RWLock(UNIX) (#16591, thanks @ysbaddaden)System::Process.make_env_blockintoSystem::Env(win32) (#16605, thanks @ysbaddaden)System.wstr_literalfor env names on Win32 (#16669, thanks @kojix2)ExecutionContext::Parallel(#16719, thanks @ysbaddaden)EventLoop::IOCPinstead ofSystem::IOCP(#16765, thanks @ysbaddaden)Fiber::ExecutionContext::Parallel::Scheduler(#16732, thanks @ysbaddaden)Mutexuse cases withSync::Mutex(#16783, thanks @ysbaddaden)with_envhelper over mutatingENVin specs (#16608, thanks @ysbaddaden)shell: truefromProcess.runcalls (#16781, thanks @ysbaddaden)Pointer.new(Int)indlfcn(#16691, thanks @kojix2)Process.newoverloads (#16782, thanks @straight-shoota)compiler
DelimiterState#open_countto initialize with0(#16771, thanks @straight-shoota)tools
Formattercode for simplification (#16745, thanks @straight-shoota)Documentation
stdlib
ENVdocumentation (#16592, #16599, thanks @ysbaddaden)thread_localmacro exposesThreadclass in stdlib docs (#16714, thanks @ysbaddaden)Fiber::ExecutionContext(#16602, thanks @ysbaddaden)Pointer.newconstructor from API docs (#16734, thanks @ysbaddaden)Process.run& co (#16618, thanks @straight-shoota)Specs
stdlib
Fiber#resumable?spec must run in concurrent context (#16731, thanks @ysbaddaden)Process.run(shell: true)withPATH(#16617, thanks @straight-shoota)compiler
Crystal::Config.path=for spec helper (#16613, thanks @straight-shoota)assert_syntax_errorto useexpect_raises(#16711, thanks @straight-shoota)ProcNotation(#16742, thanks @straight-shoota)spec/syntax_spec.cr(#16749, thanks @straight-shoota)MacroVarsyntax inside literals (#16778, thanks @straight-shoota)Linkannotation spec (#16710, thanks @kojix2)tools
Infrastructure
devenv.lock(#16426, #16588, #16658, #16673, #16775, #16586, #16623, thanks @github-actions)ENV.[]=ingenerate_windows_zone_names(#16606, thanks @straight-shoota)Lint/SpecFocus(#16740, thanks @straight-shoota)update-devenvworkflow (#16587, thanks @straight-shoota)prekinstead ofpre-commit(#16653, thanks @straight-shoota)fail-fast: falseto all matrix strategies (#16656, thanks @straight-shoota)lintworkflow on all files whendevenv.lockwas changed (#16682, thanks @straight-shoota)nixpkgsinlintworkflow (#16706, thanks @straight-shoota)1ca7d21(#16727, thanks @renovate)Configuration
📅 Schedule: (UTC)
🚦 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.