diff --git a/CHANGELOG.md b/CHANGELOG.md index d4c1ea43..5b7ad9f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,60 @@ # Changelog +## Version 2.1.2 + +### Features + +- Added a version select to mods in the mod pack view. [#1245]() +- Added upload progress with a cancel button for mods and saves in the web interface. [#1242]() +- Added `instance.restart_after_crash` and `instance.crash_retry_attempts` to restart instances that crash after running for at least 10 minutes. [#1251]() +- Plugins can add actions to the dropdown menus on the controller, host, instance and user pages. [#1243]() +- Added mod upload to the mod pack view. [#1246]() +- Added name search and row selection to the saves table, with buttons to download, transfer or delete the selected saves. [#1253]() +- Added the Clusterio logo as the web interface favicon, with `controller.favicon_url` to replace it. [#1260]() +- Added the page name to the browser tab title. [#1260]() +- Added the bind address and public URL to the controller page. [#1260]() +- Added `plugins.waitFor`, `plugins.checkInstalled` and `plugins.checkEnabled` to the plugin load context so plugins can wait for another plugin to load and get the value its entrypoint returned. [#1232]() +- The web interface now restores the scroll position when navigating back/forward, reloading the page or returning to it. [#1247]() + +### Fixes + +- Fixed proxy stream downloads by a slow receiver being closed while above the minimum transfer speed. [#1237]() +- Fixed failed mod uploads in the web interface not showing an error. [#1242]() +- Fixed a cancelled save upload leaving a temporary file in the instance saves folder. [#1242]() +- Fixed the cluster name not being HTML escaped in the page title. [#1260]() + +### Changes + +- Replaced chalk with Node's built-in `util.styleText`. Factorio output colours in the terminal now respect `NO_COLOR`. [#1233]() +- Replaced the winston-daily-rotate-file dependency with a built-in log file transport. Log file names are unchanged. The `.*-audit.json` files in the log directories are no longer used and can be deleted. [#1234]() +- `@types/yauzl` and `@types/yazl` are no longer installed with `@clusterio/lib`, which also drops `@types/node` from server installs. [#1235]() +- Reduced the size of the web interface by about 100 KB by keeping yauzl, browserify-zlib and the assert polyfill out of it. [#1236]() +- Renamed the save Copy button to Duplicate and shortened the save buttons to Load, Upload and Create. [#1260]() +- Moved Load scenario into the instance control button and Create template into the More menu. [#1260]() +- Restyled the user page settings to match the role page, with the status switches on one row and an unsaved changes bar for roles and bans. [#1260]() +- Removed the padding and rounded corners around the online players table. [#1260]() +- Plugins now load concurrently instead of one at a time in plugin list order. [#1232]() + +### Breaking Changes + +- `lib.ZipArchive.zipfile` is now private and archive entries are typed as `lib.ZipEntry` instead of yauzl's `Entry`. Use `ZipArchive.openStream`/`openRawStream` to read entries. TypeScript plugins that relied on `@types/node` coming in through `@clusterio/lib` need to list it in their own devDependencies. [#1235]() +- `ModInfo.fromModFile` has been moved to `ModStore.readModInfo`. [#1236]() +- Replaced controller.transfer_min_progress (KiB per 30 seconds) with controller.transfer_min_speed, the speed in KiB/s that is never closed for moving too slowly, defaulting to 64. Configs on the old default move to the new one, other values are converted. [#1237]() + +### Meta + +- Added `scripts/prepare_release.mts`, which bumps the package versions, adds the changelog and commits and tags a release. [#1240]() + +### Contributors + +Many thanks to the following for contributing to this release: +[@bbassie]() + +### Statistics + +Commits: 56 Pull Requests: 19 Files Changed: 105 Additions: +4,328 Deletions: -1,710 + + ## Version 2.1.1 ### Features diff --git a/packages/controller/package.json b/packages/controller/package.json index 8a66c52d..731f57c8 100644 --- a/packages/controller/package.json +++ b/packages/controller/package.json @@ -1,6 +1,6 @@ { "name": "@clusterio/controller", - "version": "2.1.1", + "version": "2.1.2", "description": "Implementation of Clusterio controller", "homepage": "https://github.com/clusterio/clusterio#readme", "author": "Hornwitser ", diff --git a/packages/create/package.json b/packages/create/package.json index 2cfca34a..2107944d 100644 --- a/packages/create/package.json +++ b/packages/create/package.json @@ -1,6 +1,6 @@ { "name": "@clusterio/create", - "version": "2.1.1", + "version": "2.1.2", "description": "Installer for clusterio", "homepage": "https://github.com/clusterio/clusterio#readme", "author": "Hornwitser ", diff --git a/packages/ctl/package.json b/packages/ctl/package.json index 642777d4..1e630666 100644 --- a/packages/ctl/package.json +++ b/packages/ctl/package.json @@ -1,6 +1,6 @@ { "name": "@clusterio/ctl", - "version": "2.1.1", + "version": "2.1.2", "description": "Clusterio command line management tool", "homepage": "https://github.com/clusterio/clusterio#readme", "author": "Hornwitser ", diff --git a/packages/host/package.json b/packages/host/package.json index 404547b7..5998851d 100644 --- a/packages/host/package.json +++ b/packages/host/package.json @@ -1,6 +1,6 @@ { "name": "@clusterio/host", - "version": "2.1.1", + "version": "2.1.2", "description": "Implementation of Clusterio host server", "homepage": "https://github.com/clusterio/clusterio#readme", "author": "Hornwitser ", diff --git a/packages/lib/package.json b/packages/lib/package.json index 20d547af..a397c58c 100644 --- a/packages/lib/package.json +++ b/packages/lib/package.json @@ -1,6 +1,6 @@ { "name": "@clusterio/lib", - "version": "2.1.1", + "version": "2.1.2", "description": "Shared library for Clusterio", "homepage": "https://github.com/clusterio/clusterio#readme", "author": "Hornwitser ", diff --git a/packages/web_ui/package.json b/packages/web_ui/package.json index f5b761e4..0f9f0a26 100644 --- a/packages/web_ui/package.json +++ b/packages/web_ui/package.json @@ -1,6 +1,6 @@ { "name": "@clusterio/web_ui", - "version": "2.1.1", + "version": "2.1.2", "description": "Clusterio web interface implementation", "homepage": "https://github.com/clusterio/clusterio#readme", "author": "Hornwitser", diff --git a/plugins/global_chat/package.json b/plugins/global_chat/package.json index 8f7d62e5..1847e27d 100644 --- a/plugins/global_chat/package.json +++ b/plugins/global_chat/package.json @@ -1,6 +1,6 @@ { "name": "@clusterio/plugin-global_chat", - "version": "2.1.1", + "version": "2.1.2", "description": "Clusterio plugin forwarding between Factorio servers", "homepage": "https://github.com/clusterio/clusterio#readme", "author": "Hornwitser ", diff --git a/plugins/player_auth/package.json b/plugins/player_auth/package.json index 6ae9aacf..988a03b0 100644 --- a/plugins/player_auth/package.json +++ b/plugins/player_auth/package.json @@ -1,6 +1,6 @@ { "name": "@clusterio/plugin-player_auth", - "version": "2.1.1", + "version": "2.1.2", "description": "Clusterio plugin authenticating logged in players to the web interface", "homepage": "https://github.com/clusterio/clusterio#readme", "author": "Hornwitser ", diff --git a/plugins/player_sync/package.json b/plugins/player_sync/package.json index 27f0cb52..70ac8927 100644 --- a/plugins/player_sync/package.json +++ b/plugins/player_sync/package.json @@ -1,6 +1,6 @@ { "name": "@clusterio/plugin-player_sync", - "version": "2.1.1", + "version": "2.1.2", "description": "Clusterio plugin forwarding between Factorio servers", "homepage": "https://github.com/clusterio/clusterio#readme", "author": "Danielv ", diff --git a/plugins/research_sync/package.json b/plugins/research_sync/package.json index 42c9e6bf..41baf745 100644 --- a/plugins/research_sync/package.json +++ b/plugins/research_sync/package.json @@ -1,6 +1,6 @@ { "name": "@clusterio/plugin-research_sync", - "version": "2.1.1", + "version": "2.1.2", "description": "Clusterio plugin for synchronizing research between Factorio servers", "homepage": "https://github.com/clusterio/clusterio#readme", "author": "Hornwitser ", diff --git a/plugins/statistics_exporter/package.json b/plugins/statistics_exporter/package.json index ed6ea8b0..37ed944d 100644 --- a/plugins/statistics_exporter/package.json +++ b/plugins/statistics_exporter/package.json @@ -1,6 +1,6 @@ { "name": "@clusterio/plugin-statistics_exporter", - "version": "2.1.1", + "version": "2.1.2", "description": "Clusterio plugin for gathering statistics from Factorio servers", "homepage": "https://github.com/clusterio/clusterio#readme", "author": "Hornwitser ", diff --git a/plugins/subspace_storage/package.json b/plugins/subspace_storage/package.json index 5c492c01..14f21fc0 100644 --- a/plugins/subspace_storage/package.json +++ b/plugins/subspace_storage/package.json @@ -1,6 +1,6 @@ { "name": "@clusterio/plugin-subspace_storage", - "version": "2.1.1", + "version": "2.1.2", "description": "Clusterio plugin for sharing storage between Factorio servers", "homepage": "https://github.com/clusterio/clusterio#readme", "author": "Hornwitser ",