- Revision number: hotfix fixed
- Minor Version Number: Releases a backward compatible version with new features
- Major version number: Contains breaking updates and new features, not in the release cycle
2024-10-15
#52 (Thanks to wjp980108 for the feedback)
- 🪲 Fix the
config.check-origin-specified-files-url
2024-09-19
#50 (Thanks to Jolie for the feedback)
- 🪲 Fix the syntax error of the expression
[...new Set(config.checkOriginSpecifiedFilesUrl)] || []
in TypeScript.
2024-08-09
#43 (Thanks to Banana-energy for the suggestion)
- 🪲 Fixed the issue where the worker value was not cleared when
unCheckVersion({closeWorker: true})
was called, causing it to not work properly when reassigned.
2023-11-02
#35 (Thank you for the suggestion, fickleness-youth)
- 💄 Optimization: The fetch request parameter for real-time checking of updates in a specified file address's content can be enhanced by adding
{method: "HEAD", cache: "no-cache"}
. This configuration instructs the server to only return the response headers without the actual response body, allowing for faster retrieval of ETag or Last-Modified information.
2023-07-03
- 🆕 Another method for real-time detection of web application version: By leveraging the browser's cache negotiation mechanism, it checks whether the content of the specified file address has been updated to determine if a new version is available.
- Added
checkOriginSpecifiedFilesUrl
configuration option: After setting this property, the version will be monitored by "checking whether the specified file has been updated" instead of "managing the version number". Pass in a list of file addresses to be monitored, usually the index.html file under a domain name (string array type). - Added
checkOriginSpecifiedFilesUrlMode
configuration option: Supports two modes: 'one' / 'all'. 'one' means that if the content of one of the file addresses in the list changes, it will prompt for an update; 'all' means that it will prompt for an update only when the content of all file addresses in the list changes. (Only effective when checkOriginSpecifiedFilesUrl is configured) - Added
enable
configuration option: Whether to enable version monitoring. With this configuration option, version monitoring can be enabled only in specified environments (default is true). - Added
clearIntervalOnDialog
configuration option: Whether to clear the timer when the new version prompt dialog appears.
- Added
- 💄 update README.md and README.zh-CN.md
2023-06-06
- 💄 update .npmignore file list
2023-06-06
- 🪲 fix .npmignore file filtering out jest.config.ts file
2023-06-06
- 🪲 fix .npmignore file filtering out utils folder
2023-06-05
- 💄 optimize the size of npm packages, and filter files that do not need to be packaged through .npmignore files
2023-02-13
- 🆕 lark-message-config added
headerBgColor
variable, support set card header's background color, default is turquoise. available values: blue、wathet、turquoise(default)、green、yellow、orange、red、carmine、violet、purple、indigo、grey - 💄 update README.md and README.zh-CN.md
2023-02-05
- 🆕 generate-version-file added the
EXTERNAL_PATH
environment variable, which supports passing in the path of a file. It is recommended to use it when a large amount of additional information needs to be written intoversion.json
. WhenEXTERNAL
andEXTERNAL_PATH
are set at the same time, the priority is lower than that ofEXTERNAL
- 💄 update README.md and README.zh-CN.md
2023-02-04
- 🆕 generate-version-file add EXTERNAL env,can be used to display richer content when customizing the popup UI. Such as current version updates or other information
- 💄 update README.md and README.zh-CN.md
2023-01-17
- 🆕 the checkVersion method adds immediate to support immediate version monitoring when visiting the home page, and then polling at custom longer intervals (reducing the number of requests to the server)
- 🆕 new version monitoring pop-up window allows closing function: cancelButtonText is used to customize button text; CancelMode enumerates the frequency of the next update after canceling the update; CancelUpdateAndStopWorker is used to set whether to close the worker at the same time when canceling the update
- 🆕 new callback functions for version monitoring: onRefresh for confirming refresh; onCancel for canceling the callback after refresh
- 💄 update README.md and README.zh-CN.md API
2022-12-03
- 🆕 add unCheckVersion function, to support that real-time monitor of the version to be terminated when need. #15
- 🪲 fix checkVersion function be called multiple, will create multiple worker processes.
- 💄 update README.md and README.zh-CN.md
2022-11-08
- 🪲 fix setDeployInfoInMainCard is true in send-lark-message.config, remark no display #12
2022-11-07
- 💄 send-lark-message.config add new field setDeployInfoInMainCard to support deploy info display in main card #12
2022-08-21
- 🆕 Supports sending deployment messages to enterprise WeChat bots #8
- 💄 Update README.md and README.zh-CN.md documentation
2022-07-28
- 🆕 Send lark message supports incoming runtime fields #3
2022-07-15
- 🆕 Support custom version update pop-up theme #1