From 7c1e609768e4a151875621da4e0e3bacf8613319 Mon Sep 17 00:00:00 2001 From: skanaar Date: Fri, 28 Aug 2020 10:15:46 +0200 Subject: [PATCH] v0.10.0 --- changelog.md | 11 +++++++++++ dist/nomnoml.js | 2 +- package-lock.json | 2 +- package.json | 2 +- src/nomnoml.ts | 2 +- 5 files changed, 15 insertions(+), 4 deletions(-) diff --git a/changelog.md b/changelog.md index dd682f5..71a5ae3 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,16 @@ # Changelog +## [0.10.0] - 2020-08-31 + +### New features +- Table is a new classifier type that displays its compartments in a uniform grid. + Set the first row-break with a double pipe `||`. +- Non-boxy shapes are laid out properly. Ellipses, rhombuses, and cylinders (, , and ) no longer intersect awkwardly with the arrows. + +### Bug fixes +- fixed bug where SVG did not support bold text +- fixed bug where SVG did not track lineWidth in push/pop of graphic state + ## [0.9.0] - 2020-08-26 - fixed bug where labels could extend outside bounding box diff --git a/dist/nomnoml.js b/dist/nomnoml.js index 586c234..17b6c34 100644 --- a/dist/nomnoml.js +++ b/dist/nomnoml.js @@ -252,7 +252,7 @@ var nomnoml; nomnoml.render(graphics, config, layout, measurer.setFont); return { config: config }; } - nomnoml.version = '0.9.0'; + nomnoml.version = '0.10.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 5ea2264..71a2e14 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "nomnoml", - "version": "0.9.0", + "version": "0.10.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 5ebb7cb..fc44ff6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nomnoml", - "version": "0.9.0", + "version": "0.10.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 1a17e65..5ab12dd 100644 --- a/src/nomnoml.ts +++ b/src/nomnoml.ts @@ -49,7 +49,7 @@ namespace nomnoml { return { config: config } } - export var version = '0.9.0' + export var version = '0.10.0' export function draw(canvas: HTMLCanvasElement, code: string, scale: number): { config: Config } { return parseAndRender(code, skanaar.Canvas(canvas), canvas, scale || 1)