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_count to 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#send etc. (#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)TupleLiteral to (Named)Tuple.new instead of {} (#16108, thanks @spuun)
  • (macros) Add ArrayLiteral#*, StringLiteral#* and TupleLiteral#* (#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.pipe blocking mode (#15823, thanks @ysbaddaden)
  • (files) Fix: set IO::Stapled.pipe blocking args to nil, as per IO.pipe (#15925, thanks @ysbaddaden)
  • (networking) Refactor Socket blocking 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::LibEvent and FiberExecutionContext integration (#15759, backported from #15743, thanks @ysbaddaden)

compiler

  • (codegen) Add fallback if __crystal_raise_cast_failed is missing (#15769, backported from #15762, thanks @HertzDevil)
  • (semantic) [regression] Remove type binding on T for Pointer(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_separator in #humanize_bytes with empty prefix (#15717, backported from #15683, thanks @straight-shoota)
  • (runtime) CRYSTAL_LOAD_DEBUG_INFO=1 fails with -Dexecution_context (#15715, backported from #15704, thanks @ysbaddaden)
  • (runtime) Fix -Dtracing raises math overflows on fiber sleep (#15725, backported from #15722, thanks @ysbaddaden)
  • (runtime) Fix Fiber::ExecutionContext::Isolated#wait must 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 PollDescriptor can't transfer fd (#15663, thanks @ysbaddaden)
  • (runtime) Fix libgc pkg-config name for version discovery (#15636, thanks @straight-shoota)
  • (serialization) [regression] Fix link bcrypt with libxml2 on Windows (#15651, thanks @straight-shoota)

compiler

  • (cli) [regression] Fix crystal eval read from stdin (#15655, thanks @straig
(省略されました)
1.16.0

Features

lang

  • Support Slice.literal in the interpreter (#15531, thanks @HertzDevil)
  • Support Slice.literal with 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 sizeof and alignof inside macros for stable types (#15497, thanks @HertzDevil)

stdlib

  • Fix Box(Pointer).box to 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_add invalid signature (#15380, backported from #15358, thanks @straight-shoota)
  • (system) [regression] Fix GC sig_suspend, sig_resume for gc_none (#15382, backported from #15349, thanks @ysbaddaden)

Documentation

stdlib

  • (system) Fix code example in Process::Status#exit_code docs (#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 Not operators 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)
(省略されました)