0.5.0
This release contains new features, bug fixes and documentation improvements. This is an alpha version.
npm package: 0.5.0
See also the Changelog file.
Breaking Changes
- the UMD bundle is no more provided in the npm package. See #266 for more details.
Highlights
In addition to the functional changes listed later, this release includes several internal changes that will be useful in the future:
- Simplify the build and reduce the number of dependencies. This makes
maxGraph
easier to maintain and evolution will be easier to implement Storybook
internal improvements started in v0.4.1 by using Storybook v7:- Storybook stories can now be written in TypScript. Since the introduction of Storybook, many problems remained in stories written in JavaScript, and they were difficult to spot. Stories written in TypeScript will make it easier to spot these problems, so users can expect a better demo.
- On the development front, Storybook now works with Vite. This provides developers with a better experience (faster start-up and updating), making stories easier to create, modify and correct.
- It is now possible to build a static version of Storybook. It will be possible to publish the demo on GitHub Pages, making it available to all users for evaluation.
- Prepare a website and the documentation
- The website structure has been initialized. It will be built with Docusaurus.
- This is a first step to later migrate the former
mxGraph
documentation and adapt it tomaxGraph
Stay tune, lots of thing are ready to be implemented in 2024 ✨.
What's Changed
🎉 New Features
- feat(types): improve partial-autocomplete and type inference by @M0hammedImran in #265
🐛 Bug Fixes
- fix(robustness): prevent errors when a plugin is not loaded by @tbouffard in #272
📝 Documentation
- docs: improve instructions for setting up a dev environment by @wayland in #262
- docs: build the user documentation with Docusaurus by @tbouffard in #264
- docs: improve the migration guide from mxGraph by @tbouffard in #271
- docs: remove extra "markdown-page" page by @tbouffard in #274
⚙️ Refactor
- refactor: simplify the code of
ts-example
by @tbouffard in #255
🛠 Chore
- chore: build with Node 18 by @tbouffard in #263
- ci: use macos-13 in GitHub workflows by @tbouffard in #269
- chore!: only include ESM in the npm package by @tbouffard in #266
- chore: clean before pack by @tbouffard in #270
- chore: use npm workspaces by @tbouffard in #273
- ci: update modified files that trigger workflow execution by @tbouffard in #280
New Contributors
- @wayland made their first contribution in #262
- @M0hammedImran made their first contribution in #265
Full Changelog: v0.4.1...v0.5.0