diff --git a/changelog.md b/changelog.md index 71a5ae3..6134d11 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## [1.0.0] - 2020-09-11 + +## Improved text measurement in SVG documents +- better heuristic for text width when no rendering context is available +- better text measurement when rendering context is available + ## [0.10.0] - 2020-08-31 ### New features diff --git a/dist/nomnoml.js b/dist/nomnoml.js index 6be1761..bf47dc4 100644 --- a/dist/nomnoml.js +++ b/dist/nomnoml.js @@ -224,7 +224,7 @@ var nomnoml; })(nomnoml || (nomnoml = {})); var nomnoml; (function (nomnoml) { - nomnoml.version = '0.10.0'; + nomnoml.version = '1.0.0'; function fitCanvasSize(canvas, rect, zoom) { canvas.width = rect.width * zoom; canvas.height = rect.height * zoom; diff --git a/package-lock.json b/package-lock.json index 5c0ee7b..6eb8735 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "nomnoml", - "version": "0.10.0", + "version": "1.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 23c085c..4ec1454 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nomnoml", - "version": "0.10.0", + "version": "1.0.0", "description": "The sassy UML renderer that generates diagrams from text", "homepage": "http://www.nomnoml.com", "author": "Daniel Kallin ", diff --git a/src/nomnoml.ts b/src/nomnoml.ts index 216849b..f1afc88 100644 --- a/src/nomnoml.ts +++ b/src/nomnoml.ts @@ -13,7 +13,7 @@ interface Nomnoml { namespace nomnoml { - export var version = '0.10.0' + export var version = '1.0.0' export interface SetFont { (config: Config, isBold: string, isItalic?: string): void