Releases: padiazg/go-crap
Release list
v0.5.0
go-crap v0.5.0 Release
go-crap a CLI tool that calculates the CRAP score for Go projects.
Installation
Download the appropriate binary for your platform below, or:
Install the pre-built binary with version info stamped via ldflags:
curl -fsSL https://padiazg.github.io/go-crap/install.sh | shOr install from source:
go install github.com/padiazg/go-crap@v0.5.0use Homebrew
brew tap padiazg/go-crap
brew install go-crapChangelog
Features
- 34b195b: feat(install): replace go install with curl installer for pre-built binaries (@padiazg)
- 5205cd9: feat(report): add CRAP summary and baseline engine (@padiazg)
- 0115cf0: feat(report): baseline diff display in all formatters (@padiazg)
- 5fe4f7d: feat(report): show baseline deltas in all formatters (@padiazg)
- c1a8ae7: feat: add --timeout flag to scan command (#40) (@matiasinsaurralde)
- 12d2b5a: feat: exclude test files by default (@padiazg)
Bug fixes
- 58403de: fix(coverage): preserve partial coverage on test failure (@padiazg)
- 95cb47f: fix: deduplicate merged cover profile entries by block position (@padiazg)
- 5339e20: fix: remove coverage profile temp files after successful scan (@matiasinsaurralde)
- f1c9861: fix: summary uses filtered entries instead of full list (@padiazg)
Others
- ebe9d53: Add --coverage-profile flag to scan command (#42) (@mem)
- 827d908: Added documentation for Github readme CRAP badge (@padiazg)
- 0f947f5: Added more permissions to crap.yaml workflow (@padiazg)
- 4382112: Bump actions/checkout from 4 to 7 (@dependabot[bot])
- 3b365f6: Bump actions/github-script from 7 to 9 (@dependabot[bot])
- 90a65eb: Bump actions/setup-go from 5 to 7 (#44) (@dependabot[bot])
- 65a285e: Bump actions/setup-python from 6 to 7 (@dependabot[bot])
- 471d59c: Bump actions/upload-artifact from 4 to 7 (@dependabot[bot])
- 29f2ab7: Bump github.com/jedib0t/go-pretty/v6 from 6.8.1 to 6.8.2 (@dependabot[bot])
- f6482f3: Bump github.com/jedib0t/go-pretty/v6 from 6.8.2 to 6.8.3 (@dependabot[bot])
- 8f855d8: add --fail-regression-ignore-covered flag (@padiazg)
- cf029a0: add ignore fully covered functions from crap regresion check (@padiazg)
- 1b4c195: added COMMENTER_PAT and permissions (@padiazg)
- 7694029: added back github-token (@padiazg)
- 9bc98f6: added community standard docs (@padiazg)
- 846bb85: added pull_request_target to crap workflow (@padiazg)
- 5ab528f: added tests to Spash function (@padiazg)
- 43366d7: fieldalignment fixes (@padiazg)
- 007427e: fix baseline comparisson report (@padiazg)
- af1db3f: fix crap ci workflow to fetch baseline (@padiazg)
- 6782de7: fix crap reporting ci workflow to generate baseline properly (@padiazg)
- c489fc3: fix fieldalignment (@padiazg)
- a0aa9f5: fix fmt issues (@padiazg)
- 3f61a95: fix fmt issues (@padiazg)
- f1d941f: fix fmt issues (@padiazg)
- 851ddc4: fix format issue (@padiazg)
- ab5eb71: fix linting issue (@padiazg)
- fc0c398: fix linting issues (@padiazg)
- 0f21286: make ci workflow recover baseline from last push to master (@padiazg)
- abd1999: refactor(coverage): store coverage profile path in ModuleCoverage (@padiazg)
- 6e91ef6: refactored report/json tests (@padiazg)
- c917126: removed explicit github-token (@padiazg)
- efed621: replaced COMMENTER_PAT with GITHUB_TOKEN (@padiazg)
- eafaa80: set v0.5.0 release date (@padiazg)
- afe6b2a: shrinked crap score back to under baseline (@padiazg)
- 38910dd: update documentation (@padiazg)
- 1303b20: updated CI workflow to use the new baseline comparison feature (@padiazg)
- 9d397a8: updated changelog (@padiazg)
- 6c15d90: updated docs (@padiazg)
- 84620a3: updated docs for coverage recovery (@padiazg)
- 3864e35: updated documentation (@padiazg)
- a93beb0: workflow cleanup (@padiazg)
Full Changelog: v0.4.1...v0.5.0
v0.4.1
go-crap v0.4.1 Release
go-crap a CLI tool that calculates the CRAP score for Go projects.
Installation
Download the appropriate binary for your platform below, or:
use Go
go install github.com/padiazg/go-crap@v0.4.1use Homebrew
brew tap padiazg/go-crap
brew install go-crapChangelog
Bug fixes
- 2be145f: bugfix: If total entries > 25 but crappy (filtered above threshold) has < 25 items, crappy[:25] panics with slice bounds out of range. (@padiazg)
Others
- 843da3b: AI run to kill mutants (@padiazg)
- dced5e2: Applied project templating standards (@padiazg)
- bc98305: Bump actions/deploy-pages from 4 to 5 (@dependabot[bot])
- 0aa27f7: Bump actions/download-artifact from 4 to 8 (@dependabot[bot])
- 7f27010: Bump actions/setup-python from 5 to 6 (@dependabot[bot])
- a5476fe: Bump actions/upload-pages-artifact from 3 to 5 (@dependabot[bot])
- c857e33: Bump github.com/jedib0t/go-pretty/v6 from 6.7.10 to 6.8.1 (#23) (@dependabot[bot])
- e463c5a: Bump github.com/stretchr/testify from 1.10.0 to 1.11.1 (@dependabot[bot])
- a183c4d: Bump goreleaser/goreleaser-action from 5 to 7 (@dependabot[bot])
- b39f157: added permission request at crap.yaml (@padiazg)
- 1db981f: batch-1: Typos & embarrassment fixes (@padiazg)
- dff4ed8: batch-2: Logic bugs (@padiazg)
- d99e9e3: batch-3: DRY refactors (@padiazg)
- 97fc668: batch-4: Dead code removal (@padiazg)
- cfa9db4: batch-5: CI & project config (@padiazg)
- 69261fb: batch-6: Community files (@padiazg)
- 19ebb60: batch-7: Test gaps (@padiazg)
- 7758aca: batch-8: Doc comment cleanup (@padiazg)
- 2c85f25: bump golangci-lint config version (@padiazg)
- e14f71e: bump golangci-lint-action to v9 (@padiazg)
- 4ddfa0a: bump golangci-lint-action@v6 to v.1.65.0 (@padiazg)
- 043b062: code cleanup, small refactor and added test coverage (@padiazg)
- e684c8a: fix for linting issues (@padiazg)
- bc756b9: fixed cmd/scan mutants (@padiazg)
- 9aa54ed: go fix riun results (@padiazg)
- cb2e5e0: kill mutants for cmd (@padiazg)
- c038eaf: kill mutants for intenal/scan (@padiazg)
- b763eeb: kill mutants for internal/complexity (@padiazg)
- 3a0c4ce: kill mutants for internal/merge (@padiazg)
- ef4ff9d: kill mutants for internal/report (@padiazg)
- 5b08e4e: kill mutants from internal/coverage (@padiazg)
- 63357b5: kill mutants from internal/mutation (@padiazg)
- 9560737: shows warning when tests fails making coverage is unavailable (#24) (@padiazg)
- 38de37f: updated changelog (@padiazg)
- f21d6a8: updated docs to v0.0.4 (@padiazg)
Full Changelog: v0.4.0...v0.4.1
v0.4.0
go-crap v0.4.0 Release
go-crap a CLI tool that calculates the CRAP score for Go projects.
Installation
Download the appropriate binary for your platform below, or:
use Go
go install github.com/padiazg/go-crap@v0.4.0use Homebrew
brew tap padiazg/go-crap
brew install go-crapChangelog
Others
- f762334: Merge branch 'master' into fix/effectivecrap-sorting-unreliable-coverage (@padiazg)
- b19d41a: Merge pull request #10 from padiazg/feat/sarif-output-format (@padiazg)
- 0ba9bf6: Merge pull request #11 from padiazg/feat/mutation-report (@padiazg)
- 1298bc6: Merge pull request #12 from padiazg/feat/mutation-report (@padiazg)
- 7e09d04: Merge pull request #12 from padiazg/feat/mutation-report (@padiazg)
- 7dfdc59: Merge pull request #13 from padiazg/fix/effectivecrap-sorting-unreliable-coverage (@padiazg)
- 0b810ac: added mutation test report support to crap score (@padiazg)
- 659bdc6: updated documentation (@padiazg)
Full Changelog: v0.3.0...v0.4.0
v0.3.0
go-crap v0.3.0 Release
go-crap a CLI tool that calculates the CRAP score for Go projects.
Installation
Download the appropriate binary for your platform below, or:
use Go
go install github.com/padiazg/go-crap@v0.3.0use Homebrew
brew tap padiazg/go-crap
brew install go-crapChangelog
Others
- 7a7cf04: Added known-issues documentation (@padiazg)
- 44fc2a9: Added references to readme.md (@padiazg)
- 2ee4f63: Added sarif and pr-comment output formats (@padiazg)
- 8ad4851: Fixed some errata, added missing instalation method (@padiazg)
- ec89343: Merge pull request #7 from padiazg/doc/known-issues (@padiazg)
- b62bc62: Merge pull request #8 from padiazg/doc/errate-v0.2.0a (@padiazg)
- 581ba7e: Merge pull request #9 from padiazg/docs/fix-excluded-content (@padiazg)
- f7be089: added integration instructons for various ci workflows (@padiazg)
- bd0185e: added pr-comment example to the ci workflow (@padiazg)
- 18c45e6: added push as crap-pr-comment trigger (@padiazg)
- f3b8c66: added push as pr-comment trigger (@padiazg)
- 955ef53: final change before merging (@padiazg)
- 84d16af: fix on worklow run list (@padiazg)
- 120b227: fix/added excluded content, fixed ignore rule (@padiazg)
- 68986be: fixed pr template (@padiazg)
- f76d654: more errata and format normalization (@padiazg)
- 036bbd9: pr comment will run only on PR (@padiazg)
- 5069d15: refactored crap workflow (@padiazg)
- 7a78b19: updated ci workflows rules (@padiazg)
- 5ec4026: updated documentation (@padiazg)
Full Changelog: v0.2.0...v0.3.0
v0.2.0
go-crap v0.2.0 Release
go-crap a CLI tool that calculates the CRAP score for Go projects.
Installation
Download the appropriate binary for your platform below, or:
use Go
go install github.com/padiazg/go-crap@v0.2.0use Homebrew
brew tap padiazg/go-crap
brew install go-crapChangelog
Features
Bug fixes
- e65f868: fix: Correct coverage path matching in CI environments (@padiazg)
- 6b0cb5d: fix: add -coverpkg flag to avoid covdata tool error (@padiazg)
Others
- 0f30e0a: Added debug lines (@padiazg)
- 2f11931: Added logging feature (@padiazg)
- f49f84b: Merge pull request #3 from padiazg/chore/modernize-and-cleanup (@padiazg)
- 3228ef7: Merge pull request #4 from padiazg/release/v0.2.0 (@padiazg)
- 68e5f9b: add missing sample file (@padiazg)
- ed7c331: added logger interface & dummy logger, reduced max CRAP to ~20 by adding tests or refactoring to reduce CC (@padiazg)
- 53282b5: disable cache for setup-go at ci workflow (@padiazg)
- ab7617e: fine-tuned ci trigger (@padiazg)
- 2679da7: fix coverage not recovered properly leading to incorrect scoring (@padiazg)
- c2204a8: improved GH output format (@padiazg)
- 9528b67: modernize code, add templates (@padiazg)
- cc5a07d: refactor: Replace
runCoverToolwith in-process profile parsing (@padiazg) - 3f48348: remove
-coverpkg=./...from coverage test (@padiazg) - 5fa4824: stick ci go version to go.mod version (@padiazg)
- 3561d7f: updated pull request template (@padiazg)
Full Changelog: v0.1.0...v0.2.0
v0.1.0
go-crap v0.1.0 Release
go-crap a CLI tool that calculates the CRAP score for Go projects.
Installation
Download the appropriate binary for your platform below, or:
use Go
go install github.com/padiazg/go-crap@v0.1.0use Homebrew
brew tap padiazg/go-crap
brew install go-crapChangelog
Others
- 12c79c2: added analytics tracking, removed auto-generates site files (Patricio Diaz padiazg@gmail.com)
- 33c7bf9: added debug commands to docs generation ci (Patricio Diaz padiazg@gmail.com)
- abe341c: added license info (Patricio Diaz padiazg@gmail.com)
- 3c0e169: added release script to CI (Patricio Diaz padiazg@gmail.com)
- ac7556f: first release candidate (Patricio Diaz padiazg@gmail.com)
- 821e8f2: fix to docs generation ci (Patricio Diaz padiazg@gmail.com)
- a8478e8: fixed getting-started explanmation for result status (Patricio Diaz padiazg@gmail.com)
- de2e227: fixed typo in readme (Patricio Diaz padiazg@gmail.com)
- 30c56ea: unignore docs content (Patricio Diaz padiazg@gmail.com)
- 5c09763: updated docs gen ci (Patricio Diaz padiazg@gmail.com)
- 4e587b8: updated docs generation ci script (Patricio Diaz padiazg@gmail.com)
- 2d1e816: updated trgigger for docs ci script (Patricio Diaz padiazg@gmail.com)
Full Changelog: ...v0.1.0