Crystal
詳細情報
| タイトル | Crystal |
|---|---|
| URL | https://crystal-lang.org/ |
| バージョン | ver 1.18.2 |
| 更新日 | 2025/10/22 |
| 追加日 | 2016/02/08 |
| 種別 | フリーソフト |
| 説明 | Ruby風のシンタックス&静的な型を持つプログラミング言語 |
レビュー
レビューはありません。
スクリーンショット
スクリーンショットはありません。
更新グラフ
バージョン履歴
1.18.2
Bugfixes
stdlib
-
(files) [regression] Revert type restriction for
IO#read_bytes(#16231, thanks @straight-shoota) -
(runtime) Fix
Fiber::ExecutionContext.default_workers_countto avoid taking into account unsupported values (#16227, thanks @Sija)
Infrastructure
- Changelog for 1.18.2 (#16243, thanks @matiasgarciaisaia)
1.18.1
Bugfixes
stdlib
-
(networking) [regression] Revert adding type restrictions on
HTTP::WebSocket#sendetc. (#16218, thanks @straight-shoota)
compiler
- (parser) [regression] Fix allow space after base type in enum def (#16217, thanks @straight-shoota)
Infrastructure
- Changelog for 1.18.1 (#16224, thanks @matiasgarciaisaia)
1.18.0
Features
lang
- Support
ProcPointers of lib funs with parameter types (#16089, thanks @HertzDevil) - (annotations) Print deprecation warning on types and aliases (#15962, thanks @ysbaddaden)
- (annotations) Print deprecation warnings on deprecated method argument (#15999, thanks @ysbaddaden)
-
(macros) [breaking] Expand empty
(Named)TupleLiteralto(Named)Tuple.newinstead of{}(#16108, thanks @spuun) -
(macros) Add
ArrayLiteral#*,StringLiteral#*andTupleLiteral#*(#16154, #16206, thanks @jneen,
1.17.1
Bugfixes
tools
- (docs-generator) [regression] Revert "Handle doc locations when file is in parent directory" (#15996, thanks @Blacksmoke16)
Infrastructure
- Changelog for 1.17.1 (#16009, thanks @straight-shoota)
1.17.0
Breaking changes
stdlib
- Make
Colorize.on_tty_only!the default behavior (#15881, thanks @HertzDevil) - (concurrency) Rename execution contexts + improve their docs (#15936, thanks @ysbaddaden)
-
(files) Refactor
IO.pipeblocking mode (#15823, thanks @ysbaddaden) -
(files) Fix: set
IO::Stapled.pipeblocking args to nil, as perIO.pipe(#15925, thanks @ysbaddaden) -
(networking) Refactor
Socketblocking mode (#15804, thanks @ysbaddaden) -
(runtime) Let the event loop decide the blocking mode of
File(#15930, thanks <
1.16.3
Bugfixes
stdlib
-
(runtime) Fix
Crystal::EventLoop::LibEventandFiberExecutionContextintegration (#15759, backported from #15743, thanks @ysbaddaden)
compiler
-
(codegen) Add fallback if
__crystal_raise_cast_failedis missing (#15769, backported from #15762, thanks @HertzDevil) -
(semantic) [regression] Remove type binding on
TforPointer(T)#value=(#15757, backported from #15751, thanks @HertzDevil)
Infrastructure
- Changelog for 1.16.3 (#15758, thanks @straight-shoota)
1.16.2
Bugfixes
stdlib
-
(numeric) Fix show
unit_separatorin#humanize_byteswith empty prefix (#15717, backported from #15683, thanks @straight-shoota) -
(runtime)
CRYSTAL_LOAD_DEBUG_INFO=1fails with-Dexecution_context(#15715, backported from #15704, thanks @ysbaddaden) -
(runtime) Fix
-Dtracingraises math overflows on fiber sleep (#15725, backported from #15722, thanks @ysbaddaden) -
(runtime) Fix
Fiber::ExecutionContext::Isolated#waitmust suspend fiber (#15723, backported from #15720, thanks @ysbaddaden) - (runtim
1.16.1
Bugfixes
stdlib
- (runtime) Correctly transfer FD ownership in polling event loop (#15650, thanks @ysbaddaden)
-
(runtime) Fix error message when
PollDescriptorcan't transfer fd (#15663, thanks @ysbaddaden) -
(runtime) Fix
libgcpkg-config name for version discovery (#15636, thanks @straight-shoota) -
(serialization) [regression] Fix link
bcryptwithlibxml2on Windows (#15651, thanks @straight-shoota)
compiler
-
(cli) [regression] Fix
crystal evalread from stdin (#15655, thanks @straig
1.16.0
Features
lang
- Support
Slice.literalin the interpreter (#15531, thanks @HertzDevil) - Support
Slice.literalwith inferred element type (#15529, thanks @HertzDevil) -
(macros) Error on
TypeNode#instance_vars,#has_inner_pointers?macros in top-level scope (#15293, thanks @straight-shoota) -
(macros) Support
sizeofandalignofinside macros for stable types (#15497, thanks @HertzDevil)
stdlib
- Fix
Box(Pointer).boxto not allocate pointer storage on the heap (#15562, thanks @ysbaddaden) - (collection)
1.15.1
Bugfixes
stdlib
-
(networking) Disable directory path redirect when
directory_listing=false(#15393, thanks @straight-shoota) -
(runtime) [regression] abstract
EventLoop::Polling#system_addinvalid signature (#15380, backported from #15358, thanks @straight-shoota) -
(system) [regression] Fix GC
sig_suspend,sig_resumeforgc_none(#15382, backported from #15349, thanks @ysbaddaden)
Documentation
stdlib
-
(system) Fix code example in
Process::Status#exit_codedocs (#15381, b
1.15.0
Breaking changes
lang
- Allow constants to start with non-ascii uppercase and titlecase (#15148, thanks @nanobowers)
Features
lang
-
(macros) Crystal
Notoperators do not need parens for stringification (#15292, thanks @Blacksmoke16) -
(macros) Add
MacroIf#is_unless?AST node method (#15304, thanks @Blacksmoke16)
stdlib
-
(collection) Add
Iterator(T).empty(#15039, thanks @spuun) -
(collection) Add
Enumerable#find_value(#14893, thanks @jgaskins) - (concurrency)