Skip to content

Releases: spf13/cast

v1.9.2

02 Jun 13:38
v1.9.2
40e8e07
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.9.1...v1.9.2

v1.9.1

01 Jun 15:01
v1.9.1
cb5df5f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.9.0...v1.9.1

v1.9.0

01 Jun 11:34
v1.9.0
a79ffed
Compare
Choose a tag to compare

Notable new features 🎉

  • Casting from type aliases is now supported for basic types
  • Added generic functions: To/ToE, Must, ToNumber/ToNumberE
  • Increased test coverage
  • Converting float numbers from string is now supported

What's Changed

New Contributors

Full Changelog: v1.8.0...v1.9.0

v1.8.0

02 May 12:18
v1.8.0
01004f2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.7.1...v1.8.0

v1.7.1

18 Dec 10:10
@bep bep
487df00
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.7.0...v1.7.1

v1.7.0

06 Aug 19:13
@bep bep
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.6.0...v1.7.0

v1.6.0

28 Nov 09:54
@bep bep
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.5.1...v1.6.0

v1.5.1

15 May 08:31
@bep bep
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.5.0...v1.5.1

v1.5.0: Misc number fixes

11 May 13:59
@bep bep
Compare
Choose a tag to compare
  • Add support for json.Number
  • Enable integer and float conversion of time.Weekday and time.Month values
  • Allow nil in ToFloat* (which gets it in line with the rest)
  • Trim trailing zero decimals from string numbers, e.g. 10.0 before any int parsing.
  • Remove some test duplication
  • Replace testify with quicktest

v1.4.1

15 Aug 17:48
@bep bep
8807572
Compare
Choose a tag to compare
Fix date parse for "2016-03-06 15:28:01 +0900"