From 4bc05c863570e84b88b517c976f39e28b6a5886c Mon Sep 17 00:00:00 2001 From: Marcos Date: Fri, 24 Jan 2020 10:09:21 +0100 Subject: [PATCH] release: 1.0.0 version BREAKING CHANGE RELEASE. Due to some deps upgrade, backwards support to node<8 has been dropped. --- CHANGELOG.md | 22 ++++++++++++++++------ README.md | 4 ++++ package.json | 2 +- 3 files changed, 21 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a971e58..3161b5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,33 +1,43 @@ # Datetoken Change Log + All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [1.0.0 - 2020-01-24] + +- BREAKING CHANGE: support node versions >= 8.10 +- Dependency upgrades + ## [0.2.7 - 2019-10-03] + - Raised intransitive depedencies version to fix security issues ## [0.2.5 - 2019-06-10] + - Raised intransitive depedencies version ## [0.2.4 - 2019-01-29] + - Fixed invalid tokens interpreted as "now" ## [0.2.3 - 2019-01-17] + - Added token JSON representation ## [0.2.0 - 2019-01-14] + - Renamed "tokentodate" to "tokenToDate" - Added features: - + Chainable modifiers after snap modifiers - + Partial Pratt parser + - Chainable modifiers after snap modifiers + - Partial Pratt parser - Dropped features: - + TokenModifier element + - TokenModifier element ## [0.1.2 - 2018-11-29] + - Limit dateutil dependency versions ## [0.1.1 - 2018-10-19] -- Hello world! - - +- Hello world! diff --git a/README.md b/README.md index bd048a0..033a9d0 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,10 @@ As you may have noticed, token follow a pattern: - Being today _15 Jan 2018_, the result range should be: _2018-01-01 00:00:00 / 2018-01-31 23:59:59_ +## Compatibilty + +- For node>=8.10 use datetoken==1.x.x +- Otherwise use datetoken==0.x.x ## Installing diff --git a/package.json b/package.json index 8a9a3c8..bffac6b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "datetoken", - "version": "0.2.7", + "version": "1.0.0", "description": "Parse relative datetime tokens into date objects", "main": "./lib/index.js", "types": "./lib/index.d.ts",