+
Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jul 18, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@biomejs/biome@2.1.3

Patch Changes

  • #7057 634a667 Thanks @mdevils! - Added the rule noVueReservedKeys, which prevents the use of reserved Vue keys.

    It prevents the use of Vue reserved keys such as those starting with # @biomejs/biome (like $el, $data, $props) and keys starting with _` in data properties, which can cause conflicts and unexpected behavior in Vue components.

    Invalid example
    <script>
    export default {
      data: {
        $el: "",
        _foo: "bar",
      },
    };
    </script>
    <script>
    export default {
      computed: {
        $data() {
          return this.someData;
        },
      },
    };
    </script>
    Valid examples
    <script>
    export default {
      data() {
        return {
          message: "Hello Vue!",
          count: 0,
        };
      },
    };
    </script>
    <script>
    export default {
      computed: {
        displayMessage() {
          return this.message;
        },
      },
    };
    </script>
  • #6941 734d708 Thanks @JamBalaya56562! - Added @eslint-react/no-nested-component-definitions as a rule source for noNestedComponentDefinitions. Now it will get picked up by biome migrate --eslint.

  • #6463 0a16d54 Thanks @JamBalaya56562! - Fixed a website link for the useComponentExportOnlyModules linter rule to point to the correct URL.

  • #6944 e53f2fe Thanks @sterliakov! - Fixed #6910: Biome now ignores type casts and assertions when evaluating numbers for noMagicNumbers rule.

  • #6991 476cd55 Thanks @denbezrukov! - Fixed #6973: Add support for parsing the :active-view-transition-type() pseudo-class

    :active-view-transition-type(first second) {
    }
  • #6992 0b1e194 Thanks @ematipico! - Added a new JSON rule called noQuickfixBiome, which disallow the use of code action quickfix.biome inside code editor settings.

  • #6943 249306d Thanks @JamBalaya56562! - Fixed @vitest/eslint-plugin source url.

  • #6947 4c7ed0f Thanks @JamBalaya56562! - Fixed ESLint migration for the rule prefer-for from eslint-plugin-solid to Biome's useForComponent.

  • #6976 72ebadc Thanks @siketyan! - Fixed #6692: The rules noUnusedVariables and noUnusedFunctionParameters no longer cause an infinite loop when the suggested name is not applicable (e.g. the suggested name is already declared in the scope).

  • #6990 333f5d0 Thanks @rvanlaarhoven! - Fixed the documentation URL for lint/correctness/noUnknownPseudoClass

  • #7000 4021165 Thanks @harxki! - Fixed #6795: noUnassignedVariables now correctly recognizes variables used in JSX ref attributes.

  • #7044 b091ddf Thanks @ematipico! - Fixed #6622, now the rule useSemanticElements works for JSX self-closing elements too.

  • #7014 c4864e8 Thanks @siketyan! - Fixed #6516: The biome migrate command no longer break the member list with trailing comments.

  • #6979 29cb6da Thanks @unvalley! - Fixed #6767: useSortedClasses now correctly removes leading and trailing whitespace in className.

    Previously, trailing spaces in className were not fully removed.

    // Think we have this code:
    <div className="text-sm font-bold            " />
    
    // Before: applied fix, but a trailing space was preserved
    <div className="font-bold text-sm " />
    
    // After: applied fix, trailing spaces removed
    <div className="font-bold text-sm" />
  • #7055 ee4828d Thanks @dyc3! - Added the nursery rule useReactFunctionComponents. This rule enforces the preference to use function components instead of class components.

    Valid:

    function Foo() {
      return <div>Hello, world!</div>;
    }

    Invalid:

    class Foo extends React.Component {
      render() {
        return <div>Hello, world!</div>;
      }
    }
  • #6924 2d21be9 Thanks @ematipico! - Fixed #113, where the Biome Language Server didn't correctly update the diagnostics when the configuration file is modified in the editor. Now the diagnostics are correctly updated every time the configuration file is modified and saved.

  • #6931 e6b2380 Thanks @arendjr! - Fixed #6915: useHookAtTopLevel no longer hangs when rules call themselves recursively.

  • #7012 01c0ab4 Thanks @siketyan! - Fixed #5837: Invalid suppression comments such as biome-ignore-all-start or biome-ignore-all-end no longer causes a panic.

  • #6949 48462f8 Thanks @fireairforce! - Support parse import defer(which is a stage3 proposal). The syntax look like this:

    import defer * as foo from "<specifier>";
  • #6938 5feb5a6 Thanks @vladimir-ivanov! - Fixed #6919 and #6920:
    useReadonlyClassProperties now does checks for mutations in async class methods.

    Example:

    class Counter3 {
      private counter: number;
      async count() {
        this.counter = 1;
        const counterString = `${this.counter++}`;
      }
    }
  • #6942 cfda528 Thanks @sterliakov! - Fixed #6939. Biome now understands this binding in classes outside of methods.

@biomejs/backend-jsonrpc@2.0.10

@biomejs/cli-darwin-arm64@2.1.3

@biomejs/cli-darwin-x64@2.1.3

@biomejs/cli-linux-arm64@2.1.3

@biomejs/cli-linux-arm64-musl@2.1.3

@biomejs/cli-linux-x64@2.1.3

@biomejs/cli-linux-x64-musl@2.1.3

@biomejs/cli-win32-arm64@2.1.3

@biomejs/cli-win32-x64@2.1.3

@biomejs/wasm-bundler@2.1.3

@biomejs/wasm-nodejs@2.1.3

@biomejs/wasm-web@2.1.3

@github-actions github-actions bot force-pushed the changeset-release/main branch 28 times, most recently from 2bd8eeb to ddd0430 Compare July 25, 2025 08:14
@github-actions github-actions bot force-pushed the changeset-release/main branch 2 times, most recently from 5a7f684 to 354df8f Compare July 26, 2025 11:24
@github-actions github-actions bot force-pushed the changeset-release/main branch 12 times, most recently from 7a44795 to ecfdb5c Compare July 29, 2025 12:26
@github-actions github-actions bot force-pushed the changeset-release/main branch from ecfdb5c to 1e8e89e Compare July 29, 2025 13:07
@ematipico ematipico merged commit 018d188 into main Jul 29, 2025
@ematipico ematipico deleted the changeset-release/main branch July 29, 2025 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载