Releases: spenserblack/gengo
Directory File Source
This release adds a new Directory
file source. This can be used from the library with gengo::Directory
, and activated in the CLI with the -d
or --directory
flag. This file source is currently considered to be in beta status, and may be missing features that would make it user-friendly. Feature requests and bug reports would be highly appreciated.
What's Changed
New Features
- Add
Directory
file source by @spenserblack in #232
Full Changelog: v0.8.1...v0.8.2
0.8.1 - Hacktoberfest Contributions
This release includes hacktoberfest contributions, adding support for 2 new languages. Thank you to all participants! 🎃
What's Changed
🎃 Hacktoberfest Contributions
- Support Swift by @vinayakhegde1 in #222
- Support GDScript by @alexpalade in #234
Other Changes
- Fix doc comment for
FileSource::state
by @spenserblack in #224 - Increase
gix
version range by @spenserblack in #229
New Contributors
- @vinayakhegde1 made their first contribution in #222
- @alexpalade made their first contribution in #234
Full Changelog: v0.8.0...v0.8.1
0.8.0
This breaks the FileSource
trait significantly, but the tradeoff is improved performance.
What's Changed
💥 Breaking changes
- Parallelize fetching file contents by @spenserblack in #210
- Use shared state to reduce expensive clones by @spenserblack in #218
New Languages
- Add support for Windows Batch files by @spenserblack in #213
- Add Arduino language by @spenserblack and @Sh4rk-Byte in #214
Fixes
- Sort CLI output by size and name by @spenserblack in #217
Full Changelog: v0.7.1...v0.8.0
0.7.1 - Fixing a major performance mistake
This release fixes a mistake that seriously impacted performance for repositories with many files. Who broke performance?! (It was me, @spenserblack 🙇)
With this release, at least when checked in a local dev environment, time taken to analyze the Linux repo dropped from roughly 90 seconds to 5-12 seconds.
What's Changed
Other Changes
- Stop cloning the index state by @spenserblack in #200
- Skip index entries that aren't files by @spenserblack in #201
Full Changelog: v0.7.0...v0.7.1
0.7.0
What's Changed
💥 Breaking changes
- Change
Gengo
to take a genericFileSource
by @spenserblack in #191 - Make
Builder
take aFileSource
by @spenserblack in #194
New Languages
- add Odin support by @spsandwichman in #192
Fixes
- Mark the contents of
tests/fixtures
as vendored by @spenserblack in #181 - fix: Stop making files called
node_modules
vendored by @spenserblack in #182 - Detect
.h
as C by default by @spenserblack in #183 - Improve documentation detection by @spenserblack in #186
Other Changes
- Use simplified document for crates.io readme by @spenserblack in #180
New Contributors
- @spsandwichman made their first contribution in #192
Full Changelog: v0.6.0...v0.7.0
0.6.0
💥 Breaking
This release drops submodule support. What this means is that submodules will no longer be part of the statistics. Unless you include vendored files in your reports (--all
if running the executable), you probably won't notice the change. #174 has more details for why submodules are no longer analyzed by default.
What's Changed
- Bump actions/checkout from 3 to 4 by @dependabot in #173
- Bump docker/build-push-action from 3 to 4 by @dependabot in #172
- Bump the serde group with 1 update by @dependabot in #171
- Drop submodule support by @spenserblack in #175
Full Changelog: v0.5.2...v0.6.0
0.5.2
This release comes with compilation optimizations to reduce the number of sub-dependencies, courtesy of @Byron and gix 0.53.
What's Changed
- Sort CLI outputs by @spenserblack in #169
- upgrade
gix
to v0.53 by @Byron in #170
Full Changelog: v0.5.1...v0.5.2
0.5.1 - Docker Image
What's Changed
- Add Jinja-like language by @spenserblack in #166
- Support .Env language by @spenserblack in #167
- Add
poetry.lock
to TOML filenames by @spenserblack in #168 - Dockerize by @spenserblack in #97
Full Changelog: v0.5.0...v0.5.1
0.5.0 - Major Performance Boost
First of all, a big thanks to @Byron for contributing major performance improvements! 🚀
💥 Breaking
.gitattributes
are now read from the revision, not the local file (#157). This means that, if you want your.gitattributes
to affect language statistics, you will need to commit your changes, first.- Removed/changed some types (#157).
Other
- Submodules can now be traversed (#157). They're marked as vendored (#164), but their statistics can be included by using
--all
.
What's Changed
- Support HolyC by @spenserblack in #145
- Support Ren'Py by @spenserblack in #146
- Support Jsonnet by @spenserblack in #147
- Simplify error message for missing repository by @spenserblack in #151
- Support ATS by @pykenny in #152
- Vastly improve performance by @Byron in #157
- Bump actions/checkout from 3 to 4 by @dependabot in #161
- Bump regex from 1.9.4 to 1.9.5 by @dependabot in #160
- Bump clap from 4.4.0 to 4.4.2 by @dependabot in #159
- Mark submodules as vendored by default by @spenserblack in #164
New Contributors
Full Changelog: v0.4.1...v0.5.0
0.4.1
What's Changed
- Support Fortran legacy/modern by @jake-87 in #135
- Add
Analysis::summary
method by @spenserblack in #139 - Document built-in languages by @spenserblack in #141
- Add
Analysis::summary_with
method by @spenserblack in #143 - Implement
Serialize
onLanguage
by @spenserblack in #144
Full Changelog: v0.4.0...v0.4.1