All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
TODO
0.3.0 (2021-03-25)
- Compatibility with Crystal 1.0
0.2.2 (2019-09-26)
- Compatibility with Crystal 0.31
0.2.1 (2018-11-05)
- Compatibility with Crystal 0.27
0.2.0 (2018-08-07)
- Add
cast(raw : S, target_type : T.class = String)
/cast?
methods to casts Type easily. - Add
to_array
/to_hash
/to_string
methods.
- Split all methods to each file by type, it is not to accpets all Type.
- Rename
raise_error!
tocast_error!
- Fix duplicate to_xxx methods during multi-call
generate!
method
- to_uint8
- to_uint16
- to_uint (alias to to_uint32)
- to_uint64
Monkey Patching list:
- UInt8/UInt16/UInt32/UInt64
0.1.0 (2018-07-24)
First beta version.
Provides methods:
- to_int8
- to_int16
- to_int (alias to to_int32)
- to_int64
- to_float32
- to_float64
- to_bool
- to_time(location : Time::Location? = nil, formatters : Array(String)? = nil)
- to_string (alias to to_s in Crystal).
Monkey Patching list:
- String
- Int8/Int16/Int32/Int64
- Float32/Float64
- Bool
- Time
- JSON::Any
- YAML::Any