github crystal-lang/crystal 1.4.0

latest releases: 1.12.2, 1.12.1, 1.12.0...
2 years ago

Language

Standard Library

Collection

Crypto

  • Add support for Bcrypt algorithm version 2b (#11595, thanks @docelic)

Files

Macros

Networking

Numeric

Runtime

Serialization

  • Allow passing instance method or conditional expressions to option ignore_serialize on JSON::Field (#11804, thanks @cyangle)
  • Implement Iterator.from_json and #to_json (#10437, thanks @wonderix)

Specs

System

Text

Time

Compiler

Codegen

  • (performance) Codegen: Do not always request value for Proc#call (#11675, thanks @HertzDevil)

Debugger

Generics

  • Resolve non-type free variables in return type restrictions (#11861, thanks @HertzDevil)
  • Fix recursive pointerof detection with generic splat type variables (#11811, thanks @HertzDevil)

Interpreter

Parser

Semantic

  • (breaking-change) Drop skip_abstract_def_check flag support (#9217, thanks @makenowjust)
  • Add error when instance variable is inherited from module and supertype (#11768, thanks @straight-shoota)
  • Check file-private types for abstract defs and recursive structs (#11838, thanks @HertzDevil)
  • Fix: Prevent eager instance_sizeof on structs (#11856, thanks @mattrberry)
  • Fix: Do not consider global Path in def parameter restriction as free variable (#11862, thanks @HertzDevil)

Tools

Playground

Other

Don't miss a new crystal release

NewReleases is sending notifications on new releases.