Releases: nkappler/ctxmenu
Version 2.0.0
I've been working on this update for over a year now, so I think it is time to publish something.
Not all of the desired changes have made it to this version, but it is a large milestone for me and the hassle of managing the refactoring branch and smaller fixes to the main branch has grown to a point where it is quite some overhead.
Changes and Fixes
This update mainly reworks a lot of internal stuff, making the code more readable, more maintainable and generally better structured.
This has also lead to a smaller file size of the library.
Attribute handling has been vastly improved, with several small bugs fixed
A bug in the onBeforeHide and onBefore callback implementation has been fixed.
Automated Test 🎉
This version adds a lot of automated tests. Up until now, tests were mostly manual.
The build infrastructure has also been vastly improved, so the dev experience is much smoother and any
update will run the tests automatically before being published.
⚠️ Braking Changes
The API for attaching and updating menus has changed, where the third argument is now a config object instead of just the onBeforeShow callback.
Support for the new config object has been added in 1.7, deprecating the old method signature.
The deprecated implementation has now been removed. (See 1c8e789)
Full Changelog: v1.7.0...v2.0.0
v1.7.0
New Features:
implement #49 - reworked lifecycle events
implement #52 - added possibility to customize via HTML attributes (class
, id
, name
, data-attributes, etc.)
Full Changelog: v1.6.2...v1.7.0
1.6.2
What's Changed
- fix #50 correctly displays submenu at the bottom of the viewport by @Mahenintsoa in #51
New Contributors
- @Mahenintsoa made their first contribution in #51
Full Changelog: v1.6.1...v1.6.2
1.6.1
fixed a bug where the css stylesheet could be appended to the document head more than once.
Full Changelog: v1.6.0...v1.6.1