Releases: sumup-oss/foundry
v10.0.0
Major Changes
-
#1205
b0f581dThanks @connor-baer! - Dropped support for Node <24. -
#1206
7ee1259Thanks @connor-baer! - Upgraded to Stylelint 17. We expect that most users should be able to upgrade without any changes, but the migration guide should be a useful resource if you encounter problems. -
#1207
730cac2Thanks @connor-baer! - Upgraded to ESLint 10. We expect that most users should be able to upgrade without any changes, but the migration guide should be a useful resource if you encounter problems. -
#1203
1243441Thanks @hilleer! - Upgraded to Biome 2.4. Runbiome migrate --writeto migrate yourbiome.jsoncconfig file. -
#1203
1243441Thanks @hilleer! - Replaced thearrow-body-style,no-unused-expressions,import-x/no-cycle, andimport-x/no-deprecatedESLint rules with their Biome equivalents.
Minor Changes
- #1145
77bb7aeThanks @connor-baer! - Removed warnings about missing or unsupported ESLint plugins to speed up linting.
v10.0.0-next.0
Major Changes
-
#1203
1243441Thanks @hilleer! - Replaced thearrow-body-style,no-unused-expressions,import-x/no-cycle, andimport-x/no-deprecatedESLint rules with their Biome equivalents. -
#1207
730cac2Thanks @connor-baer! - Upgraded to ESLint 10. We expect that most users should be able to upgrade without any changes, but the migration guide should be a useful resource if you encounter problems. -
#1205
b0f581dThanks @connor-baer! - Dropped support for Node <24. -
#1203
1243441Thanks @hilleer! - Upgraded to Biome 2.4. Runbiome migrate --writeto migrate yourbiome.jsoncconfig file. -
#1206
7ee1259Thanks @connor-baer! - Upgraded to Stylelint 17. We expect that most users should be able to upgrade without any changes, but the migration guide should be a useful resource if you encounter problems.
Minor Changes
- #1145
77bb7aeThanks @connor-baer! - Removed warnings about missing or unsupported ESLint plugins to speed up linting.
v9.0.6
Patch Changes
- #1181
a47f744Thanks @connor-baer! - Included prerelease versions of Circuit UI's Stylelint plugin in the peer dependency range."
v9.0.5
Patch Changes
- #1160
e94fb2cThanks @connor-baer! - Respect the package's module type to determine the config file extensions duringfoundry init.
v9.0.4
Patch Changes
- #1158
a0d4974Thanks @connor-baer! - Fail on unknown commands and show a helpful error message for the removedfoundry runcommand.
v9.0.3
Patch Changes
- #1156
12e2ef7Thanks @connor-baer! - Fixed creating hidden files when initializing Foundry config files.
v9.0.2
Patch Changes
- #1146
05f6b5cThanks @connor-baer! - Fixed reading the options when runningfoundry init.
v9.0.1
Patch Changes
- #1143
290bca4Thanks @connor-baer! - Migrated tolistr2internally to remove vulnerable sub-dependencies.
v9.0.0
Foundry v9 upgrades to ESLint v9, including its new flat configuration system, replaces Prettier with Biome v2.2 as the default formatter, and makes the switch to ESM. Read the new migration guide on how to upgrade.
Major Changes
-
#1115
711986cThanks @connor-baer! - Dropped support for Node 18. The supported versions are^20.19 || >=22. -
#1066
abc85b1Thanks @connor-baer! - Migrated to ESLint's new flat config. Foundry now exports language, environment, and framework-specific configs that can be combined and customized using ESLint's default config format:Before
// .eslintrc.js module.exports = require('@sumup-oss/foundry/eslint')({ /* custom overrides */ });
After
// eslint.config.mjs import { defineConfig, configs, files } from "@sumup-oss/foundry/eslint"; import react from 'eslint-plugin-react'; export default defineConfig([ configs.ignores, configs.javascript. // Extend a config to override the files and/or rules { files: [...files.typescript, /* custom file glob */], extends: [configs.typescript], languageOptions: { parserOptions: { projectService: true, tsconfigRootDir: import.meta.dirname, }, }, rules: { /* custom rules */ } }, // Framework-specific ESLint plugins aren't bundled with Foundry. // Import and extend them manually, placing the Foundry config last. { extends: [react.configs.recommended, configs.react], }, ]);
-
#1043
904b0e8Thanks @connor-baer! - Replaced Prettier with Biome as the code formatter. Remove theprettier.config.jsand.prettierignorefiles from your project. -
#1116
e313ea4Thanks @connor-baer! - Upgraded to Biome v2.2. Biome v2 added type-aware linting rules, monorepo support, and plugins powered by GritQL. -
#1134
0a11c3eThanks @connor-baer! - Updated the supported ESLint and Stylelint plugin version ranges to drop support for plugins that don't support ESLint's new flat config and declare support for the latest plugin versions. -
#1133
ed35ec2Thanks @connor-baer! - Switched fromstylelint-config-recess-orderto Biome's CSS property sorting. -
#1116
e313ea4Thanks @connor-baer! - Replaced many ESLint rules with their Biome equivalents. Biome implements some rules with slight differences or different configuration options which may lead to different lint results. -
#1116
e313ea4Thanks @connor-baer! - Enabled Biome's import sorting assist. Imports are sorted by their proximity to the current file, with absolute imports preceding relative ones. -
#1132
dc35606Thanks @connor-baer! - Removed thefoundry runcommand. Instead, call tools like Biome, ESLint, and Stylelint directly. For example:-foundry run eslint . --fix +eslint . --fix
Minor Changes
-
#1138
7c88f07Thanks @connor-baer! - Upgraded to lint-staged v16. -
#1043
904b0e8Thanks @connor-baer! - Added support for generating an.editorconfigfile when runningfoundry initto ensure consistent code formatting across many supported code editors and file types.
v9.0.0-next.1
Patch Changes
-
#1135
95ec974Thanks @connor-baer! - Relaxed some CSS lint rules. -
#1136
ef2aee5Thanks @connor-baer! - Included the JavaScript lint config in the TypeScript lint config. -
#1136
ef2aee5Thanks @connor-baer! - Included the React lint config in the Next.js lint config.