Skip to content

Releases: kiforks/prettier-config

v2.0.2

11 May 19:49
47e61c8

Choose a tag to compare

Patch Changes

  • #19 1d8f2d8 Thanks @kiforks! - 🧹 Internal
    • Opt the CI and release workflows in to running JavaScript-based GitHub
      Actions on Node 24 via FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true. Silences
      the deprecation warning that actions/checkout@v4 and
      actions/setup-node@v4 print on every run about Node 20 being phased out
      in September 2026. No package consumer behaviour changes — purely a build
      pipeline hygiene patch.

v2.0.1

11 May 19:43
8d605dd

Choose a tag to compare

Patch Changes

  • #15 34c3b98 Thanks @kiforks! - 🔒 Security

    • Added a verify npm script (npm run format && npm test) and called it
      explicitly from .github/workflows/release.yml right before the release
      step. If formatting or tests regressed on main between PR merge and the
      release run, the publish step never starts — the registry can't see a
      broken build.

    🧹 Internal

    • The pre-push husky hook now also runs npm run format after validating
      the branch name. Pre-commit lint-staged only covers staged files, so this
      catches stray unformatted files that were committed without staging or via
      --no-verify. Combined with the existing CI job and the new release-time
      verify step, the project has three independent layers of formatting
      validation.
    • Resynced package-lock.json version field from 1.0.4 to 2.0.0 — the
      v2 publish bumped package.json but changesets/action doesn't run
      npm install after changeset version, so the lockfile was stuck on the
      old version.

v2.0.0

11 May 19:17
68e993b

Choose a tag to compare

Major Changes

  • #8 40b26d8 Thanks @kiforks! - Modernize the package — bump dependencies to latest, drop Node 20 support,
    and add a snapshot test suite.

    💥 Breaking changes

    • Node 20 no longer supported. engines.node raised from >=20.8.1 to >=22.22.1.
    • Prettier 3.4–3.7 no longer supported. Peer dependency prettier narrowed from ^3.4.0 to ^3.8.0.

    📦 Dependencies

    • Prettier → 3.8.3
    • @ianvs/prettier-plugin-sort-imports → 4.7.1
    • @prettier/plugin-oxc → 0.1.4 (required transitively by the sort-imports plugin's parser getters even when unused)
    • prettier-plugin-ember-template-tag → 2.1.5 (same reason)

    🔒 Security

    • Patched transitive vulnerabilities in brace-expansion, minimatch, and picomatch.

    🧪 Quality

    • Added a fixture-based snapshot test suite using the native Node test runner (zero deps, no Vitest/Jest). Each test case lives in its own folder following tests/fixtures/{category}/{category}-{rule}/{category}-{rule}.{input,expected}.{ext}. Coverage targets every rule declared in index.js: all eight base Prettier options, every one of the ~22 importOrder groups, every one of the 24 attributeGroups, and the HTML → Angular parser override. CI runs the suite on a Node 22.x / 24.x matrix.
    • Two new npm scripts: npm test and npm run test:update-snapshots (regenerates expected.* files when the config is intentionally changed).

    🧹 Internal

    • Removed dead lodash, @types/lodash, and npm-run-all devDependencies.
    • Dropped the unused prerelease npm script.
    • Modernized the husky 9 pre-commit hook.

[1.0.4] - 2025-10-10

10 Oct 14:45
90bf4ee

Choose a tag to compare

[1.0.4] - 2025-10-10 Pre-release
Pre-release

🔄 Updates

  • Dependencies
    Updated Prettier and related plugins to their latest versions for improved compatibility and performance.

    🔗 PR #7 by @kiforks


1.0.3

12 Feb 21:08
4017327

Choose a tag to compare

1.0.3 Pre-release
Pre-release

🛠 Fixes

  • Import Ordering
    Fixed import ordering by removing duplicate values for better maintainability.
    🔗 PR #6 by @kiforks

[1.0.2] - 2024-12-21

19 Dec 22:22
227e950

Choose a tag to compare

[1.0.2] - 2024-12-21 Pre-release
Pre-release

🔄 Updates

  • Prettier Configuration
    Updated the quoteProps rule to use the as-needed setting for improved consistency in object property quoting.
    🔗 PR #5 by @kiforks

[1.0.1] - 2024-12-19

19 Dec 19:27
c14f24f

Choose a tag to compare

[1.0.1] - 2024-12-19 Pre-release
Pre-release

🔄 Updates

  • Changelog and PR Template
    Updated the changelog format and pull request template to follow best practices for clarity and consistency.
    🔗 PR #2 by @kiforks

[1.0.0] - 2024-12-10

10 Dec 20:03
60bba83

Choose a tag to compare

Category Description
Major Changes - Released the final version of the configuration.