Skip to content

Commit c1b6b3a

Browse files
committed
bump version to 4.1.4
1 parent 6f3cc49 commit c1b6b3a

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

CHANGELOG.MD

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
## Subroutine 4.1.4
2+
3+
Fields using the time/timestamp/datetime will now default back to the old behavior, and use
4+
a `precision:` option to opt-in to the new behavior from `v4.1.1`.
5+
6+
`precision: :seconds` will retain the old behavior of always parsing to a new Time object
7+
with floored sub-second precision, even more forcefully than before as it would have parsed whatever you passed to it. (This is the default, now.)
8+
9+
`precision: :high` will now use the new functionality of re-using Time objects when they
10+
are passed in, or if not parsing exactly the provided string as to a Time object.
11+
112
## Subroutine 4.1.1
213

314
Fields using the time/timestamp/datetime caster will now return exactly the passed in value

lib/subroutine/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module Subroutine
44

55
MAJOR = 4
66
MINOR = 1
7-
PATCH = 3
7+
PATCH = 4
88
PRE = nil
99

1010
VERSION = [MAJOR, MINOR, PATCH, PRE].compact.join(".")

0 commit comments

Comments
 (0)