Latest version | 0.7.7 |
---|---|
Minimum Core | 0.8.6 |
Compatible Core | 9 |
Last updated | 2 years ago |
Created | 3 years ago |
Authors |
|
Languages |
English 日本語 |
Systems | All systems |
Project source | Project URL |
Module developers have no way of issuing changelogs or important warnings in a clean and streamlined way. This module adds a non intrusive way for users to get important informations.
You can chose the level of importance you want to see
With four options
Once you close the window you will not get notified again for the current version of the module
If you accidentaly closed a popup and want to check all your changelogs just click the show all changelogs button in Changelogs settings
Any changelog and warning will be shown
Only updates with new features (and above) will be shown
Only updates with breaking changes (and above) will be shown
Only for emergencies, this is for module developers to issue critical messages
Purple: Critical Red: Breaking Yellow: Major Blue: Minor
Including a changelog is very simple, just call the libChangelogs.register()
in the libChangelogsReady
hook. Since changelogs is registered on a custom hook you don't need to check if the module is active before you register your changelog
/**
* @param {string} moduleId The package identifier, i.e. the 'id' field in your module/system/world's manifest.json
* @param {string} html The html to be inserted into the changelog
* @param {string} warnLevel The level of warning to be displayed.
*
* The possible types are:
*
* - critical:
* Only use for emergencies, something went wrong or the update requires immidiate action from the user. This warning level CANNOT be disable by the user
* - breaking:
* A breaking change that requires action from the user but will not cause issues if left unattended (eg. a new feature that requires some manual configuration changes).
* - major:
* One or more Major features have been added to the module, let the user know what they do or link to other resources.
* - minor:
* Minor bugfixes or changes that won't impact the user experience with your module (this is the default option).
* **/
libChangelogs.register(moduleId, html, warnLevel="minor")
Hooks.once('libChangelogsReady', function() {
libChangelogs.register("yourmoduleid","THIS UPDATE BREAKS EVERYTHING","critical")
})
To install this package, open your Foundry Setup screen and navigate to your Module tab and click the Install Module button.
From there, you can either search for the package unique name: lib-changelogs or copy its manifest URL:
And paste it to the input box at the bottom of your window.
You can install this package directly to your Forge account.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Advertisement cookies are used to deliver visitors with customized advertisements based on the pages they visited before and analyze the effectiveness of the ad campaign.