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 2025Releases
latest 24-
4.1.227 Oct 2025Release notes
Open source →- build: bumped
builddependency to^4.0.0 - build: removed
mek_data_classdependency
- build: bumped
-
4.1.127 Oct 2025 withdrawnNothing published for this version
-
4.1.003 Aug 2025Release notes
Open source →- feat: Enabled package-style imports by
use_package_supportkey - feat: Allows setting a custom directory for the generated index file by
output_pathkey - feat: Added support to
build_runnerpackage, but you must enable it. Required minimumbuildpackage to^3.0.0 - feat: Added option to remove library name by
include_librarykey - fix: sort export entries on
showandhidekeywords
- feat: Enabled package-style imports by
-
4.0.104 Jan 2025 -
4.0.004 Jan 2025Release notes
Open source →- refactor!: In the
index_generatorfield,default_namehas been renamed todefault_file_nameandindexestolibraries - refactor!: In the
indexes/librariesfield,pathhas been renamed todirectory_path,nametofile_nameandlibrarytoname - feat!: The default library name is now empty. You can enter the library name in the library generation settings using
the
namefield - build: bumped
dart_styledependency to^3.0.0 - build: bumped dart sdk constraints to
^3.0.0
- refactor!: In the
-
3.4.110 Jun 2023 -
3.4.014 Apr 2023 -
3.4.0+110 Jun 2023 -
3.3.311 Oct 2022 -
3.3.206 Sep 2022Release notes
Open source →- Fix the search for the yaml file within the project. Now correctly find the index_generator.yaml file
-
3.3.122 Aug 2022Release notes
Open source →What's Changed
New Contributors
Full Changelog: https://github.com/BreX900/index_generator/commits/3.3.1
-
3.3.029 Jun 2022Release notes
Open source →- feat can disable printing generated code
disclaimer - feat added the
commentsfield to theindexesto be able to add the comments or copyright to the library - feat added the
docsfield to theindexesto be able to add the documentation to the library - fix file library name when target a
libfolder
- feat can disable printing generated code
-
3.2.002 May 2022Nothing published for this version
-
3.2.0+102 May 2022Release notes
Open source →- Now you can set the page size via
page_width. - Now the generated code is formatted.
- Now you can set the page size via
-
3.1.010 Jan 2022Release notes
Open source →- Added support for exporting dart core libraries
- Please change from 'library/file' to 'package:library/file.dart'. (The old version remains supported)
- Added support for exporting dart core libraries
-
3.0.030 Sep 2021Release notes
Open source →STABLE RELEASE
- Improve filters, now support a Glob expression
- Improve
exportsfields:- You can show a specific class or methods.
- You can hide a specific class or methods.
BREAKING CHANGES
- The
exportsfield now support a list of structure data withpackage,showmhidefields. - Filters now support a Glob expression
- Filters now is separated in
includeandexcludefields - The
folderskeyboard is removed in favour ofincludekeyboard
-
2.1.024 Sep 2021Release notes
Open source →- 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_breakfield
BREAKING CHANGES
- Now you have to start the index generator by writing only
index_generatorwithout:main - Removed the ability to create an index file without the library name
- In the yaml file the
exportfield has changed tofolders
- Improved handling of yaml file parsing errors using
-
2.0.302 Jul 2021 -
2.0.216 Jun 2021Release notes
Open source →- Fixed library name when it is missing in pubspec but index name is present
-
2.0.109 Jun 2021 -
2.0.009 Jun 2021Release notes
Open source →- Now you can define export folders (use
exportkey)
Breaking changes:
- Renamed
folderskey toindexesin yaml file - Renamed
index_namekey todefault_namein yaml file - Renamed
index_namekey inindexestonamein yaml file
- Now you can define export folders (use
-
1.0.102 May 2021 -
1.0.026 Apr 2021 -
0.0.125 Apr 2021