Skip to content

Releases: sumup-oss/foundry

v10.0.0

28 Apr 17:36
22ee64f

Choose a tag to compare

Major Changes

  • #1205 b0f581d Thanks @connor-baer! - Dropped support for Node <24.

  • #1206 7ee1259 Thanks @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 730cac2 Thanks @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 1243441 Thanks @hilleer! - Upgraded to Biome 2.4. Run biome migrate --write to migrate your biome.jsonc config file.

  • #1203 1243441 Thanks @hilleer! - Replaced the arrow-body-style, no-unused-expressions, import-x/no-cycle, and import-x/no-deprecated ESLint rules with their Biome equivalents.

Minor Changes

  • #1145 77bb7ae Thanks @connor-baer! - Removed warnings about missing or unsupported ESLint plugins to speed up linting.

v10.0.0-next.0

28 Apr 07:38
53a52bc

Choose a tag to compare

v10.0.0-next.0 Pre-release
Pre-release

Major Changes

  • #1203 1243441 Thanks @hilleer! - Replaced the arrow-body-style, no-unused-expressions, import-x/no-cycle, and import-x/no-deprecated ESLint rules with their Biome equivalents.

  • #1207 730cac2 Thanks @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 b0f581d Thanks @connor-baer! - Dropped support for Node <24.

  • #1203 1243441 Thanks @hilleer! - Upgraded to Biome 2.4. Run biome migrate --write to migrate your biome.jsonc config file.

  • #1206 7ee1259 Thanks @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 77bb7ae Thanks @connor-baer! - Removed warnings about missing or unsupported ESLint plugins to speed up linting.

v9.0.6

16 Jan 09:25
a795e65

Choose a tag to compare

Patch Changes

  • #1181 a47f744 Thanks @connor-baer! - Included prerelease versions of Circuit UI's Stylelint plugin in the peer dependency range."

v9.0.5

17 Oct 11:40
2739b15

Choose a tag to compare

Patch Changes

v9.0.4

17 Oct 09:40
bc0febd

Choose a tag to compare

Patch Changes

  • #1158 a0d4974 Thanks @connor-baer! - Fail on unknown commands and show a helpful error message for the removed foundry run command.

v9.0.3

14 Oct 15:17
399e6ca

Choose a tag to compare

Patch Changes

v9.0.2

26 Sep 13:27
b9782ff

Choose a tag to compare

Patch Changes

v9.0.1

24 Sep 22:08
f04ccb7

Choose a tag to compare

Patch Changes

v9.0.0

24 Sep 16:01
855294e

Choose a tag to compare

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 711986c Thanks @connor-baer! - Dropped support for Node 18. The supported versions are ^20.19 || >=22.

  • #1066 abc85b1 Thanks @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 904b0e8 Thanks @connor-baer! - Replaced Prettier with Biome as the code formatter. Remove the prettier.config.js and .prettierignore files from your project.

  • #1116 e313ea4 Thanks @connor-baer! - Upgraded to Biome v2.2. Biome v2 added type-aware linting rules, monorepo support, and plugins powered by GritQL.

  • #1134 0a11c3e Thanks @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 ed35ec2 Thanks @connor-baer! - Switched from stylelint-config-recess-order to Biome's CSS property sorting.

  • #1116 e313ea4 Thanks @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 e313ea4 Thanks @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 dc35606 Thanks @connor-baer! - Removed the foundry run command. Instead, call tools like Biome, ESLint, and Stylelint directly. For example:

    -foundry run eslint . --fix
    +eslint . --fix

Minor Changes

v9.0.0-next.1

23 Sep 14:19
8af5582

Choose a tag to compare

v9.0.0-next.1 Pre-release
Pre-release

Patch Changes