Skip to content

Latest commit

 

History

History
163 lines (94 loc) · 4.05 KB

changelog.md

File metadata and controls

163 lines (94 loc) · 4.05 KB

Changelog

[1.7.0] - 2024-12-14

  • Add data-compartment attribute to SVG output for identifying the compartment index when building interactivity.

[1.6.3] - 2024-12-01

  • Fix bug when running nomnoml-cli with input files in the same directory.

[1.6.2] - 2023-06-26

  • Fix bug where hash character was interpreted as a directive in the middle of a line

[1.6.1] - 2023-05-21

  • Restore parser behavior where comments are only supported at the start of a line

[1.6.0] - 2023-05-16

  • Rewritten parser
  • Chain multiple associations on a single line
  • Supply id separately from node display name
  • Removed Weightless Edge feature "[a] _ [b]"

[1.5.3] - 2022-12-19

  • Fix a bug with unsupported variables names in some runtimes
  • upgrade dependencies

[1.5.2] - 2022-06-02

  • Fix a bug in SVG rendering of association diamonds

[1.5.1] - 2022-04-13

  • Fix a bug where SVGs did not include their source in the desc tag
  • Fix a bug where table nodes produced invalid SVG

[1.5.0] - 2022-04-11

  • SVG output is generated with a proper element hierarchy

[1.4.0] - 2021-05-12

  • ball and socket connections for expressing required and provided interfaces

[1.3.1] - 2020-11-05

  • fix bug where bundles were incompatible with Node 12

[1.3.0] - 2020-11-04

  • More options to style text
  • Style node titles with title=bold,italic,left
  • Style node bodys with body=bold,italic,left
  • Nicer database graphics
  • More descriptive compilation errors
  • Switch to Graphre (a forked version of Dagre)
  • Support Webpack

Webapp

  • Folders in file system view
  • Always as for filename when saving a #view url graph
  • Improved file system view

[1.2.0] - 2020-10-07

  • Fixed layout bug when using HIDDEN nodes
  • Fixed bug where SVG attributes were not properly escaped
  • New association type _> that creates a shorter (weightless) edge
  • New directive #gravity: 0 that makes every association weightless
  • Type definitions included (typescript .d file)
  • Drop ES3 support and target ES5 explicitly

[1.1.1] - 2020-09-21

  • Fix bug when setting background color with #background:

[1.1.0] - 2020-09-14

  • Node name is attached to SVG shapes with a data-name attribute. Can be used for interactive diagrams.

[1.0.1] - 2020-09-11

  • Tweaked the text measurement heuristic for better handling of long texts.

[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

  • 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

[0.8.0] - 2020-07-09

  • #background directive to specify background color

[0.7.3] - 2020-07-08

  • fixed incomplete rendering when edges extended outside bounding box

[0.7.2] - 2020-05-14

  • upgraded dependencies

[0.7.1] - 2020-04-26

  • fixed bug in compileFile()

[0.7.0] - 2020-04-26

  • expose compileFile to allow usage in a NodeJS environment

[0.6.2] - 2019-10-27

  • fix bug where SVG output did not get the correct text color

[0.6.1] - 2019-07-22

  • upgrade Lodash to fix a security vulnerability

[0.6.0] - 2019-05-25

  • fixed crash when two relations had the same start and end

[0.5.0] - 2019-05-01

  • improved text centering in SVG output

[0.4.0] - 2019-04-26

Library

  • dagre library upgraded to 0.8.4
  • version published as a nomnoml.version property
  • ie/edge support for downloading png images
  • when new code results in parsing error, render last successful code.

Known regressions

  • self referential associations are broken