From 9d27841c72633ad206ceed81fcefb00781b7d7d2 Mon Sep 17 00:00:00 2001 From: skanaar Date: Wed, 26 Aug 2020 17:00:13 +0200 Subject: [PATCH] v0.9.0 --- changelog.md | 4 ++++ dist/nomnoml.js | 2 +- package-lock.json | 2 +- package.json | 2 +- src/nomnoml.ts | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/changelog.md b/changelog.md index e1130e5..dd682f5 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ # Changelog +## [0.9.0] - 2020-08-26 + +- fixed bug where labels could extend outside bounding box + ## [0.8.0] - 2020-07-09 - #background directive to specify background color diff --git a/dist/nomnoml.js b/dist/nomnoml.js index 6a7c334..63cb844 100644 --- a/dist/nomnoml.js +++ b/dist/nomnoml.js @@ -272,7 +272,7 @@ var nomnoml; nomnoml.render(graphics, config, layout, measurer.setFont); return { config: config }; } - nomnoml.version = '0.8.0'; + nomnoml.version = '0.9.0'; function draw(canvas, code, scale) { return parseAndRender(code, nomnoml.skanaar.Canvas(canvas), canvas, scale || 1); } diff --git a/package-lock.json b/package-lock.json index d613607..5ea2264 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "nomnoml", - "version": "0.8.0", + "version": "0.9.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 4fe6514..5ebb7cb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nomnoml", - "version": "0.8.0", + "version": "0.9.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 31404cc..1a17e65 100644 --- a/src/nomnoml.ts +++ b/src/nomnoml.ts @@ -49,7 +49,7 @@ namespace nomnoml { return { config: config } } - export var version = '0.8.0' + export var version = '0.9.0' export function draw(canvas: HTMLCanvasElement, code: string, scale: number): { config: Config } { return parseAndRender(code, skanaar.Canvas(canvas), canvas, scale || 1)