Skip to content

v7.0.2

Choose a tag to compare

@github-actions github-actions released this 31 May 04:51
Immutable release. Only release title and notes can be modified.

[7.0.2] - 2026-05-31

✨ Features

  • 219f88b — ✨ [feat] (plugin) Update JsonSchemaValidatorPlugin type to extend ESLint.Plugin
    ✨ [feat] (validator) Enhance schema migration logging and error handling

  • 2145624 — ✨ [feat] (config) Improve flat presets, cache defaults, and release metadata

✨ [feat] Scope recommended validation to structured data files

  • Add shared flat config file patterns for JSON, YAML, TOML, Vue, Markdown, Astro, and Svelte schema-bearing files.

  • Apply the recommended rule only to the structured file targets covered by the base config.

  • Rename flat config entries to stable plugin-style names such as json-schema-validator-2/base and json-schema-validator-2/recommended.

⚡️ [perf] Use standard cache directories for schema downloads

  • Resolve the default schema cache under node_modules/.cache/eslint-plugin-json-schema-validator-2 when available.

  • Fall back to a workspace-local .cache directory when package-level cache placement is not usable.

  • Remove the older package-local cached schemastore path from ignore and package metadata handling.

🏷️ [refactor] Tighten exported plugin metadata and public types

  • Expose explicit plugin, config, processor, metadata, and rule shapes for the default export.

  • Preserve ESLint plugin compatibility with a satisfies check while avoiding TypeDoc links to private implementation types.

  • Add processor metadata so ESLint and editor tooling can identify the frontmatter processor.

🐛 [fix] Address Sonar and release-readiness warnings

  • Use a localeCompare-backed comparator for sorted metadata assertions.

  • Add missing Copilot repository instructions so full lint no longer warns about the absent instructions file.

  • Keep rule metadata aligned with the package namespace and documentation URLs.

🧪 [test] Expand config, metadata, and cache coverage

  • Verify flat config names, recommended rule wiring, plugin metadata, processor metadata, and rule metadata.

  • Cover default cache directory behavior for node_modules cache placement and workspace fallback.

  • Update integration expectations for scoped recommended config behavior.

📝 [docs] Document preset behavior and cache location

  • Refresh getting-started and user-guide docs for the recommended config scope.

  • Document the new default cache location and fallback behavior.

  • Update no-invalid docs to reflect current schema cache behavior.

🧹 [chore] Verify release gate

  • npm run release:verify

🧹 Chores

  • e5bc4e6 — Release v7.0.2

  • ff699d1 — Update github agent instruction paths