New Features
- [#3] Added
default-detach.preDetach(cancellable) anddefault-detach.detachedhooks that fire on every detachment, manual or automatic. - [#3] Added a module API at
game.modules.get('default-detach').apiwithadd,remove, andlist.addandremovetake a kind ofapportype;listtakes no arguments and returns both auto-detach lists. - [#3] API changes to an auto-detach list now re-render the config dialog if it is open.
- [#3] The apps tab lists detachable applications declared by ATLAS-registered modules at ready, without opening them first.
Changes
- [#4] Release zips are now packaged from
dist/, shipping the built bundle and its assets instead of the repository sources. - [#4] Switched to a rollup build that ships a single minified
default-detach.mjswith extracted CSS. - [#5] Config dialog rows now have a bottom divider line, colored from an ATLAS custom property.
- Added a .gitattributes pinning tracked text files to CRLF, then renormalized every tracked text file against it.
- Added standalone eslint, prettier, and stylelint configs plus VS Code and i18n-ally settings, then reformatted every file they cover.
- Bumped the verified Foundry compatibility version to 14.366.
- Re-enabled the eslint
no-undefrule for.mjsfiles and declaredgetDocumentClassas a global. - Removed the hardcoded color fallbacks from the ATLAS custom properties in the stylesheet.
- Repointed every localization call site from the
DEFAULT_DETACHkey root toDEFAULTDETACH. - The settings menu button and config dialog save button now pull their labels from the shared ATLAS.Common localization keys instead of module-local duplicates.
- Updated the MIT license copyright holder to 3 Death Saves.
What's Changed
Full Changelog: release-1.1.0...release-1.2.0
Installation: To manually install this release, use the following manifest URL: https://github.com/Sayshal/default-detach/releases/download/release-1.2.0/module.json