From 7be98b0cfb6cdedaae5e8d60f352aafb2ec7f1ba Mon Sep 17 00:00:00 2001 From: Bo Lingen Date: Mon, 25 Oct 2021 22:15:39 -0500 Subject: [PATCH] chore(version): 3.0.0 --- changelog.md | 21 +++++++++++++++++++++ package.json | 1 + 2 files changed, 22 insertions(+) diff --git a/changelog.md b/changelog.md index 9997129..640fca9 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,24 @@ +## [`3.0.0`](https://github.com/citycide/tablemark/compare/v2.0.0...v3.0.0) (2021-10-26) + +###### FEATURES + +* rewrite in TypeScript as ESM ([feb3dd1](https://github.com/citycide/tablemark/commit/feb3dd1)) +* require node 14.16+ ([21b6d9e](https://github.com/citycide/tablemark/commit/21b6d9e)) + + +###### BREAKING CHANGES + +* support for node <14.16 has been dropped. +* tablemark must be used as an ES module and is no longer available as common js. +* the shape of the options object to the `tablemark` function is simplified: + * `options.stringify` → `options.toCellText` + * `options.wrap.width` → `options.wrapWidth` + * `options.wrap.gutters` → `options.wrapWithGutters` +* a `RangeError` is thrown instead of a `TypeError` when +an invalid alignment is specified. + +--- + ## [`2.0.0`](https://github.com/citycide/tablemark/compare/v1.2.0...v2.0.0) (2019-07-25) diff --git a/package.json b/package.json index 0d4e9b4..f960815 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "name": "tablemark", + "version": "3.0.0", "description": "Generate markdown tables from a list of objects or JSON data.", "author": "Bo Lingen (https://github.com/citycide)", "license": "MIT",