mirror of
https://github.com/upscayl/upscayl.git
synced 2026-04-03 03:00:13 -04:00
3.9 KiB
3.9 KiB
Changelog v4+
All notable changes to this project on v4+ will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
v4.0.0 - 2022-07-22
Added
- Jest as default unit testing framework, with sample test suite for
main. - Integrated Electron preload pattern.
- NPM scripts:
watch-testto run Jest in watch mode.next-rc,next-patch,next-minor&next-majorfor quick package version number advance.
Changed
- Webpack will now take the module path alias from
tsconfig.jsonand set it for you thanks totsconfig-paths-webpack-plugin. Manually set up in Webpack config is no longer needed. tsconfignow configured to useES2020features, with module resolution set toNode16to match the NodeJS version used by Electron.- Migrated to the new
createRootAPI introduced in Reactv18. - Some APIs changed in Electron
mainentry script:mainWindownow useloadFileAPI instead ofloadURL.- Replaced
app.on('ready')withapp.whenReady()to align with syntax from Electron official quick start guide.
electron-buildernow configured to builduniversaldmgfor mac, 32 & 64 bitexefor Windows.- Moved
electron-builder, Webpack & Webpack-related packages tooptionalDependencies. - Revamped
README. - Starting from this version, the maintenance schedule will be on a monthly update basis to keep the package dependencies up to date and keep the development going.
Fixed
- Allow to use
import defaultstatement on non ES modules (e.g. React, lodash) by enablingesModuleInteropintsconfig. #14
Removed
- Mocha in favour of Jest.
- Spectron as it ahs been deprecated. See - Spectron Deprecation Notice
Updates on package dependencies
Added
@types/jest,jest,ts-jest,eslint-plugin-jest- Jest supporteslint-config-airbnb-typescript- Enhance Airbnb's rules in TypeScriptts-config-paths-webpack-plugin- Loadtsconfigpath alias into Webpack config
Updated
- Major version updates:
react&react-dom-17.0.1->18.2.0@types/react-17.0.0->18.0.15@types/react-dom-17.0.0->18.0.6@typescript-eslint/eslint-plugin&@typescript-eslint/parser-4.11.0->5.30.7electron-11.1.1->19.0.9eslint-config-airbnb-18.2.1->19.0.4copy-webpack-plugin-7.0.0->11.0.0css-loader-5.0.1->6.7.1electron-builder-22.9.1->23.1.0html-webpack-plugin-4.5.0->5.5.0style-loader-2.0.0->3.3.1ts-loader-8.0.12->9.3.1ts-config-paths-3.9.0->4.0.0
- Minor & patch version updates:
eslint-import-resolver-webpack-0.13.0->0.13.2eslint-plugin-import-2.22.1->2.26.0eslint-plugin-jsx-a11y-6.4.1->6.6.1eslint-plugin-react-7.21.5->7.30.1eslint-plugin-react-hoots-4.2.0->4.6.0lodash-4.17.20->4.17.21webpack-5.11.0->5.73.0webpack-cli-4.3.0->4.10.0
Removed
-
react-router,react-router-dom,@types/react-router,@types/react-router-dom- Not being used in any part of the boilerplate
-
@types/mocha,mocha,ts-node- Replaced by@types/jest,jest&ts-jest -
spectron- Deprecated package; No replacement