v2.0.0-alpha.24
·
64 commits
to master
since this release
Features
- Added
FactorioIconcomponent for showing icons from the game in the web UI. #875 - Added
useDefaultModPackhook to the web UI. #875 - Added types for the exported metadata for mod packs. #526
- Added config value validation beyond simple type checks. #856
- Added config staging to allow setting many values at once. #856
- Added a warning when attempting to set player autosave slots lower than autosave slots. #855
- Added
controller.authSecretas the type of config fieldcontroller.auth_secretwas inconsistent. #856 - Added support for the
node:prefix in import statements in web UI code. #881 - Added config validation to load plugin to error when save patching or script commands are disabled #884
Fixes
- Fixed host printing a deprecation warning on startup. #855
- Fixed exported prototype metadata missing localised_name. #875
- Fixed headless download option in installer failing with
TypeError: callback is not a function. #860 - Fixed controller crashing if a host attempted to download a mod that had been deleted from the controller's filesystem while the controller was running. #860
Changes
- Made the
useAccount,useModPacks,useMods,useRoles,useSaves,useSystems,useUsersand related hooks in the web UI available to plugins. #875 - Exported prototypes are now based on the
defines.prototypesmapping from the game. #875 - Removed usage of fs-extra. #860
Breaking Changes
- Removed
useExportManifestfrom the web UI. Use.exportManifeston a mod pack from one of theuseModPackhooks instead. #875 - Replaced the 8
use<Type>Metadatahooks in the web UI such asuseItemMetadatawithuseExportPrototypeMetadata. #875 .item-<name>css classes are no longer created in the web UI, and will not render icons from the game. Use theFactorioIconcomponent instead and pass it a prototype fromuseExportPrototypeMetadata. #875- Renamed
useLocalehook in web UI touseExportLocalewhich now requires the mod pack to load the exported locale from as an argument. #875 - Fluids are no longer merged with items in the exported prototype metadata for mod packs. #875
Meta
- Changelog entries are now parsed with a script from pull request descriptions. #871
Many thanks to the following for contributing to this release:
@Cooldude2606
@Hornwitser