PackageTrack
Sign in Get early access

index_generator

Automatically generate index / barrel / library files with all the export needed for your library.

4.1.2 17K downloads/mo #2342 most downloaded on pub.dev BreX900/index_generator

What this package is like to depend on

Last release 10 months ago

27 Oct 2025

Release timing varies

gaps range from 2 weeks to 1.6 years

Nearly every release is documented

notes for 22 of 23 stable releases

1 version withdrawn

withdrawn after publishing

5 years old

24 releases · first in 2021

2 releases in the last 12 months

see the full history below

Release timeline

24 releases · Apr 2021 to Oct 2025
2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 24
  1. 4.1.2 27 Oct 2025
    Release notes
    • build: bumped build dependency to ^4.0.0
    • build: removed mek_data_class dependency
    Open source →
  2. 4.1.1 27 Oct 2025 withdrawn

    Nothing published for this version

  3. 4.1.0 03 Aug 2025
    Release notes
    • feat: Enabled package-style imports by use_package_support key
    • feat: Allows setting a custom directory for the generated index file by output_path key
    • feat: Added support to build_runner package, but you must enable it. Required minimum build package to ^3.0.0
    • feat: Added option to remove library name by include_library key
    • fix: sort export entries on show and hide keywords
    Open source →
  4. 4.0.1 04 Jan 2025
    Release notes
    • docs: updated documentation
    Open source →
  5. 4.0.0 04 Jan 2025
    Release notes
    • refactor!: In the index_generator field, default_name has been renamed to default_file_name and indexes to libraries
    • refactor!: In the indexes/libraries field, path has been renamed to directory_path, name to file_name and library to name
    • feat!: The default library name is now empty. You can enter the library name in the library generation settings using the name field
    • build: bumped dart_style dependency to ^3.0.0
    • build: bumped dart sdk constraints to ^3.0.0
    Open source →
  6. 3.4.1 10 Jun 2023
    Release notes
    • chore: update dart sdk constraints
    Open source →
  7. 3.4.0 14 Apr 2023
    Release notes
    • chore: Update dependencies
    • feat: export index_generator executable
    Open source →
  8. 3.4.0+1 10 Jun 2023
    Release notes
    • docs: add topics to pubspec.yaml
    Open source →
  9. 3.3.3 11 Oct 2022
    Release notes
    • Revert wrong defaultName keyword to default_name in yaml file
    Open source →
  10. 3.3.2 06 Sep 2022
    Release notes
    • Fix the search for the yaml file within the project. Now correctly find the index_generator.yaml file
    Open source →
  11. 3.3.1 22 Aug 2022
    Release notes

    What's Changed

    New Contributors

    Full Changelog: https://github.com/BreX900/index_generator/commits/3.3.1

    Open source →
    Release notes
    • fix export dart core libraries
    Open source →
  12. 3.3.0 29 Jun 2022
    Release notes
    • feat can disable printing generated code disclaimer
    • feat added the comments field to the indexes to be able to add the comments or copyright to the library
    • feat added the docs field to the indexes to be able to add the documentation to the library
    • fix file library name when target a lib folder
    Open source →
  13. 3.2.0 02 May 2022

    Nothing published for this version

  14. 3.2.0+1 02 May 2022
    Release notes
    • Now you can set the page size via page_width.
    • Now the generated code is formatted.
    Open source →
  15. 3.1.0 10 Jan 2022
    Release notes
    • Added support for exporting dart core libraries
      • Please change from 'library/file' to 'package:library/file.dart'. (The old version remains supported)
    Open source →
  16. 3.0.0 30 Sep 2021
    Release notes

    STABLE RELEASE

    • Improve filters, now support a Glob expression
    • Improve exports fields:
      • You can show a specific class or methods.
      • You can hide a specific class or methods.

    BREAKING CHANGES

    • The exports field now support a list of structure data with package, showm hide fields.
    • Filters now support a Glob expression
    • Filters now is separated in include and exclude fields
    • The folders keyboard is removed in favour of include keyboard
    Open source →
  17. 2.1.0 24 Sep 2021
    Release notes
    • Improved handling of yaml file parsing errors using json_serializable
    • Added the ability to export other libraries, see the field exports
    • Fix #1 : Now LF is always used for the newline character. You can replace the newline character in the yaml using the line_break field

    BREAKING CHANGES

    • Now you have to start the index generator by writing only index_generator without:main
    • Removed the ability to create an index file without the library name
    • In the yaml file the export field has changed to folders
    Open source →
  18. 2.0.3 02 Jul 2021
    Release notes
    • Added an extra line at the end of the index file
    Open source →
  19. 2.0.2 16 Jun 2021
    Release notes
    • Fixed library name when it is missing in pubspec but index name is present
    Open source →
  20. 2.0.1 09 Jun 2021
    Release notes
    • Now the path of the export folders is relative to the path of the index
    Open source →
  21. 2.0.0 09 Jun 2021
    Release notes
    • Now you can define export folders (use export key)

    Breaking changes:

    • Renamed folders key to indexes in yaml file
    • Renamed index_name key to default_name in yaml file
    • Renamed index_name key in indexes to name in yaml file
    Open source →
  22. 1.0.1 02 May 2021
    Release notes
    • Add warning line in index
    Open source →
  23. 1.0.0 26 Apr 2021
    Release notes
    • Add Null Safety
    Open source →
  24. 0.0.1 25 Apr 2021
    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