This chapter describes the changes coming with each new version of pygount.
Version 1.8.0, 2024-05-13
Add all available counts and percentages to JSON format (issue
[#122](https://github.com/roskakori/pygount/issues/122) <https://github.com/roskakori/pygount/issues/122>_).
In particular, this makes available the codeCount, which is similar to
the already existing sourceCount but does exclude lines that contain
only strings. You can check their availability by validating that the
formatVersion is at least 1.1.0.
The documentation about ":ref:How to count code" has more information
about the available counts and the ways they are computed.
Pygount 2.0 will probably introduce some breaking changes in this area,
which can already be previewed and discussed at issue
[#152](https://github.com/roskakori/pygount/issues/152) <https://github.com/roskakori/pygount/issues/152>_.
Version 1.7.0, 2024-05-13
Fix analysis with
FIPS <https://en.wikipedia.org/wiki/Federal_Information_Processing_Standards>_
mode by changing computation of hash for duplicate detection from MD5 to
SHA256. As side effect, reasonably modern machines should receive a
(probably unnoticeable) minor performance boost (contributed by Matthew
Vine, issue [#137](https://github.com/roskakori/pygount/issues/137) <https://github.com/roskakori/pygount/issues/137>_).
Add command line option --merge-embedded-languages to merge embedded
languages into their base language. For example, "HTML+Django/Jinja" counts
as "HTML" (issue [#105](https://github.com/roskakori/pygount/issues/105) <https://github.com/roskakori/pygount/issues/105>_).
Add Python 3.12 and made it the main version for CI (issue
[#145](https://github.com/roskakori/pygount/issues/145) <https://github.com/roskakori/pygount/issues/145>_).
Version 1.6.1, 2023-07-02
Fixed missing check for seekable file handles (issue
[#114](https://github.com/roskakori/pygount/issues/114) <https://github.com/roskakori/pygount/issues/114>_).
Fixed the ReadTheDocs documentation build by switching to the built-in
alabaster Sphinx theme (issue
[#116](https://github.com/roskakori/pygount/issues/116) <https://github.com/roskakori/pygount/issues/116>_).
Version 1.6.0, 2023-06-26
Add support for analysis of remote git URL's in addition to local files
(contributed by Rojdi Thomallari, issue
... (truncated)
Commits
79b061f Merge pull request #153 from roskakori/122-add-code-count-to-json-output
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pygount from 1.6.1 to 1.8.0.
Release notes
Sourced from pygount's releases.
Changelog
Sourced from pygount's changelog.
... (truncated)
Commits
79b061f
Merge pull request #153 from roskakori/122-add-code-count-to-json-output7763db2
#122 Clean up documentationba28621
#122 Clean up title7a50372
#122 Add code and string count to JSON format5f67839
#122 Add script to build gource movie10b1ae3
Merge pull request #151 from roskakori/149-bump-year-to-202418b8dd6
Merge pull request #150 from roskakori/137-fix-analysis-with-fips-mode2e9a1d6
#149 Bump year to 2024f0fb320
#137 Add missing change description9d645b6
Merge pull request #148 from roskakori/105-add-option-to-merge-embedded-langu...You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show