PackageTrack
Sign in Get early access

import_rules

A lint plugin for the Dart analyzer that enforces custom import rules in your projects, enabling everything from simple allow/disallow lists to complex module dependency constraints.

0.0.8 8.5K downloads/mo #3138 most downloaded on pub.dev fujidaiti/import_rules

What this package is like to depend on

Last release 3 months ago

07 May 2026

Ships fairly regularly

a new release about every 5 weeks

Nearly every release is documented

notes for 8 of 8 stable releases

Nothing withdrawn

no release was ever pulled

9 months old

8 releases · first in 2025

8 releases in the last 12 months

see the full history below

Release timeline

8 releases · Nov 2025 to May 2026
2026
Release Pre-release

Releases

latest 8
  1. 0.0.8 07 May 2026
    Release notes

    What's Changed

    • chore(env): Set up Prettier by @fujidaiti in #17
    • chore(deps): Bump the dependencies group with 2 updates by @dependabot[bot] in #22
    • chore(deps): Bump the dependencies group with 2 updates by @dependabot[bot] in #23

    Full Changelog: v0.0.7...v0.0.8

    Open source →
    Release notes
    • Support analyzer v13.
    Open source →
  2. 0.0.7 14 Feb 2026
    Release notes

    Add a global and per-rule severity option to change the severity level of rule violation reports.

    Open source →
    Release notes
    • Add a global and per-rule severity field to change the severity level of rule violation reports.
    Open source →
  3. 0.0.6 18 Jan 2026
    Release notes

    chore(deps): Bump the dependencies group with 2 updates (#9)

    * chore(deps): Bump the dependencies group with 2 updates

    Bumps the dependencies group with 2 updates: [analysis_server_plugin](https://github.com/dart-lang/sdk/tree/main/pkg) and [analyzer](https://github.com/dart-lang/sdk/tree/main/pkg).

    Updates `analysis_server_plugin` from 0.3.4 to 0.3.7
    - [Changelog](https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/dart-lang/sdk/commits/0.3.7.0/pkg)

    Updates `analyzer` from 9.0.0 to 10.0.1
    - [Changelog](https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/dart-lang/sdk/commits/HEAD/pkg)

    Updates `analyzer` from 9.0.0 to 10.0.1
    - [Changelog](https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/dart-lang/sdk/commits/HEAD/pkg)

    ---
    updated-dependencies:
    - dependency-name: analysis_server_plugin
    dependency-version: 0.3.7
    dependency-type: direct:production
    update-type: version-update:semver-patch
    dependency-group: dependencies
    - dependency-name: analyzer
    dependency-version: 10.0.1
    dependency-type: direct:production
    update-type: version-update:semver-major
    dependency-group: dependencies
    - dependency-name: analyzer
    dependency-version: 10.0.1
    dependency-type: direct:production
    update-type: version-update:semver-major
    dependency-group: dependencies
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

    * bump version

    ---------

    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: fujidaiti <[email protected]>

    Open source →
    Release notes
    • Support analyzer v10.
    Open source →
  4. 0.0.5 09 Jan 2026
    Release notes

    chore(pkg): bumped analyzer version (#7)

    Co-authored-by: Yev Velizhenkov <[email protected]>

    Open source →
    Release notes
    • Support analyzer v9.
    Open source →
  5. 0.0.4 25 Nov 2025
    Release notes

    feat(pkg): Refresh stale cached rules when rules file changes (#5)

    * feat: Add automatic config reload on file modification

    Implement timestamp-based cache invalidation to detect when import_rules.yaml
    or analysis_options.yaml has been modified. The plugin now automatically reloads
    rules without requiring IDE restart.

    Changes:
    - Add configFilePath and modificationStamp fields to Config class
    - Update ConfigParser to capture file metadata when loading
    - Implement cache validation logic that checks modification timestamps
    - Handle FileSystemException when config files are deleted

    Benefits:
    - Users can modify rules and see changes immediately
    - Gracefully handles file deletion and inaccessibility
    - Minimal performance impact (fast timestamp comparison)

    🤖 Generated with [Claude Code](https://claude.com/claude-code)

    Co-Authored-By: Claude <[email protected]>

    * update readme

    * format

    * bump to 0.0.4

    ---------

    Co-authored-by: Claude <[email protected]>

    Open source →
    Release notes
    • feat(pkg): Refresh stale cached rules when rules file changes (#5)
      • Restarting the analysis server is no longer required after modifying the rules file.
    Open source →
  6. 0.0.3 22 Nov 2025
    Release notes
    • Fix broken image links in README.md.
    Open source →
  7. 0.0.2 22 Nov 2025
    Release notes
    • Just fix README.md.
    Open source →
  8. 0.0.1 22 Nov 2025
    Release notes
    • Initial version.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive