Skip to content

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 04 Oct 23:58
· 515 commits to main since this release

1.0.0 (2022-10-04)

⚠ BREAKING CHANGES

  • node: node version 17 is no longer supported.
  • node 12 is no longer supported.
  • node: node ^13 || ^15 are no longer supported.
  • Support for node 10 has been removed. Node >= 12 is now required.
  • formatters: Formatting functions have been removed (except formatIso8601). Use
    @softwareventures/format-timestamp instead.

Features

  • after: add after function (ee8d7e3)
  • afterorequal: add afterOrEqual function (590812b)
  • before: add before function (b937f8b)
  • beforeorequal: add beforeOrEqual function (dddc3f1)
  • compare: add compare function (a2cf530)
  • create new project (a6f5274)
  • create Timestamp type (c7d456a)
  • dayofweek: add dayOfWeek function (d77d64c)
  • drop support for node 12 (872312f)
  • drop support for node 12 (c6a317a)
  • earliest: add earliest functions (03fce78)
  • equal: add equal function (ff06339)
  • format: add general purpose format function (1dff01b)
  • formatiso8601: add formatIso8601 function (fa14233)
  • formatters: remove formatters in favour of @softwareventures/format-timestamp package (16c15a8)
  • fromreferenceseconds: add fromReferenceSeconds function (e18d96d)
  • istimestamp: add isTimestamp function (b26791f)
  • latest: add latest functions (6f49f88)
  • monthname: add monthName function (54517da)
  • node: drop support for node ^13 || ^15 (43a98f1)
  • node: drop support for node 17 (877a331)
  • normalize: add normalize function as an alias for timestamp (daad5d0)
  • notequal: add notEqual function (e42fd68)
  • now: add now function (80d29b1)
  • padday: add padDay function (d04b449)
  • padhours: add padHours function (ce4f916)
  • padminutes: add padMinutes function (c2e310d)
  • padmonth: add padMonth function (30cbad4)
  • padseconds: add padSeconds function (1502642)
  • padyear: add padYear function (485b3ac)
  • parseiso8601: add parseIso8601 function (8c2c7c5)
  • sideeffects: set sideEffects: false to improve tree shaking (01a1839)
  • timestamp: add timestamp constructor function (6313810)
  • timestampoptions: add TimestampOptions type (6b2d35d)
  • toreferenceseconds: add toReferenceSeconds function (42f8f34)

Bug Fixes

  • deps: update dependency @softwareventures/date to v2 (#19) (ae9743a)
  • deps: update dependency @softwareventures/iterable to v2 (#20) (457d09f)
  • deps: update dependency @softwareventures/nullable to v2 (#21) (f6b33eb)
  • deps: update dependency @softwareventures/ordered to v1 (#13) (b4b9c9f)
  • deps: update dependency @softwareventures/time to v1.0.0 (aff929d)
  • fix duplicate import (1f1a4b4)
  • now: fix now function not setting time of day (9e9fc1b)