Skip to content

Releases: david-yz-liu/memory-viz

v0.3.1 - 2024-08-02

03 Aug 02:46
Compare
Choose a tag to compare

🐛 Bug fixes

  • Ensured built package files under dist/ were correctly updated

🔧 Internal changes

  • Updated most package dependencies

v0.3.0 - 2024-08-02

02 Aug 21:26
38efc5c
Compare
Choose a tag to compare

NOTE: this release did not contain updated built files (under dist/). Users should install v0.3.1 instead.

✨ Enhancements

  • Changed the filePath argument in the MemoryViz CLI to be optional and added --output option.

🐛 Bug fixes

  • Fixed issue where object boxes would be drawn on top of stack frames in diagrams with large left margins.

🔧 Internal changes

  • Moved global style attributes to CSS embedded in generated SVGs.

v0.2.0 - 2024-06-28

28 Jun 23:08
Compare
Choose a tag to compare

🚨 Breaking changes

  • Changed the name attribute to type when drawing objects.
  • Removed the isClass and stack_frame attributes and embedded them as the types .class and .frame.
  • Renamed the input for blank objects from BLANK to .blank.
  • Created new type .blank-frame to denote blank stack frames.
  • Replaced seed configuration option with general configuration option roughjs_config.

✨ Enhancements

  • Created a CLI for MemoryViz.
  • Added --height and --width options to MemoryViz CLI.
  • Added --roughjs_config option to MemoryViz CLI.

🐛 Bug fixes

  • Fixed a bug where box fill colours would cover box text, and changed the implementation of hide style option.
  • Removed double quotes when rendering objects of type None.
  • Removed double quotes when rendering objects that are not of type str.

📚 Documentation and demo website changes

  • Added documentation page for the MemoryViz CLI.

🔧 Internal changes

  • Added a changelog and pull request template.
  • Modified roughjs import to be compatible with Jest's moduleNameMapper config option.
  • Added instructions on the memory-viz/README.md for running the test suite.
  • Fix CI build action for demo website.
  • Added data type and manual layout tests for the draw function.
  • Updated file paths for example files under docs to import the correct file.
  • Added style and automatic layout tests for the draw function.
  • Updated documentation, tests, and examples to reflect the isClass attribute being optional and set to false by default.
  • Removed unused imports in demo_C.js.
  • Added type interfaces and type annotations to style.ts.
  • Added DrawnEntity type annotations to source code files.
  • Adopted Commander.js library for the MemoryViz CLI.
  • Added autofix.ci to the CI workflow.

v0.1.0 - 2024-04-16

01 May 01:04
Compare
Choose a tag to compare

Initial release to NPM. This project is still in experimental stages, and is subject to change!