Skip to content

Commit 4ff2217

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

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.MD

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

313
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)