Skip to content

Latest commit

 

History

History
700 lines (487 loc) · 45.8 KB

CHANGELOG.md

File metadata and controls

700 lines (487 loc) · 45.8 KB

Changelog

v0.62.1 - 2024-09-02

Other Changes

  • docs(README): use k1LoW/octocov-action@v1 by @azu in #408

v0.62.0 - 2024-07-10

Breaking Changes 🛠

  • Always count by LOC when merging multiple coverage. by @k1LoW in #395

Other Changes

  • Fix lint warn by @k1LoW in #396
  • chore(deps): bump google.golang.org/grpc from 1.64.0 to 1.64.1 by @dependabot in #393

v0.61.1 - 2024-07-03

Other Changes

  • Update go version by @k1LoW in #389

v0.61.0 - 2024-07-02

Breaking Changes 🛠

  • Update go-github-actions by @k1LoW in #384

New Features 🎉

  • Support wildcard paths in coverage.paths: by @k1LoW in #388

Other Changes

  • chore(deps): bump the dependencies group with 5 updates by @dependabot in #372
  • chore(deps): bump the dependencies group with 3 updates by @dependabot in #375
  • chore(deps): bump the dependencies group with 10 updates by @dependabot in #377
  • Use goreleaser v2 by @k1LoW in #378
  • chore(deps): bump the dependencies group with 4 updates by @dependabot in #379
  • chore(deps): bump docker/build-push-action from 5 to 6 in the dependencies group by @dependabot in #380
  • chore(deps): bump the dependencies group with 5 updates by @dependabot in #381
  • chore(deps): bump golang.org/x/image from 0.17.0 to 0.18.0 by @dependabot in #382
  • chore(deps): bump the dependencies group across 1 directory with 7 updates by @dependabot in #386

v0.60.0 - 2024-05-24

Breaking Changes 🛠

  • All numbers are displayed rounded down to one decimal place. by @k1LoW in #371

Other Changes

  • chore(deps): bump the dependencies group with 2 updates by @dependabot in #363
  • chore(deps): bump the dependencies group with 4 updates by @dependabot in #365
  • Bump up go version by @k1LoW in #367
  • chore(deps): bump the dependencies group with 7 updates by @dependabot in #366
  • chore(deps): bump the dependencies group with 7 updates by @dependabot in #369

v0.59.3 - 2024-04-24

v0.59.2 - 2024-04-24

Fix bug 🐛

  • Fix typo by @sapuri in #361

Other Changes

  • chore(deps): bump the dependencies group with 6 updates by @dependabot in #356
  • chore(deps): bump github.com/expr-lang/expr from 1.16.3 to 1.16.4 in the dependencies group by @dependabot in #359
  • chore(deps): bump the dependencies group with 3 updates by @dependabot in #360

v0.59.1 - 2024-04-09

Other Changes

  • chore(deps): bump the dependencies group with 5 updates by @dependabot in #352
  • chore(deps): bump the dependencies group with 6 updates by @dependabot in #354
  • chore(deps): bump the dependencies group with 11 updates by @dependabot in #355
  • Update go version by @k1LoW in #357

v0.59.0 - 2024-03-11

Breaking Changes 🛠

  • Mitigate conditions for local coverage display. by @k1LoW in #351

Other Changes

  • chore(deps): bump the dependencies group with 3 updates by @dependabot in #346
  • Update go and pkg version by @k1LoW in #349
  • Migrate to AWS SDK Go V2 by @furusax0621 in #348
  • chore(deps): bump the dependencies group with 9 updates by @dependabot in #350

v0.58.1 - 2024-02-26

Fix bug 🐛

  • Fix typo by @furusax0621 in #345

Other Changes

  • chore(deps): bump the dependencies group with 1 update by @dependabot in #339
  • Update artifact-action by @k1LoW in #338
  • Fix dependabot schedule by @k1LoW in #341
  • chore(deps): bump the dependencies group with 1 update by @dependabot in #342
  • chore(deps): bump the dependencies group with 2 updates by @dependabot in #343
  • chore(deps): bump the dependencies group with 4 updates by @dependabot in #344

v0.58.0 - 2024-02-14

Breaking Changes 🛠

  • Fix statement type coverage calculation by @furusax0621 in #327

Other Changes

  • Enable dependabot and update Go version by @k1LoW in #326
  • chore(deps): bump docker/setup-qemu-action from 2 to 3 by @dependabot in #329
  • chore(deps): bump docker/login-action from 2 to 3 by @dependabot in #330
  • chore(deps): bump docker/setup-buildx-action from 2 to 3 by @dependabot in #331
  • chore(deps): bump actions/setup-go from 4 to 5 by @dependabot in #332
  • chore(deps): bump the dependencies group with 6 updates by @dependabot in #337
  • chore(deps): bump actions/checkout from 3 to 4 by @dependabot in #333
  • chore(deps): bump docker/build-push-action from 2 to 5 by @dependabot in #335

v0.57.0 - 2024-02-08

Breaking Changes 🛠

  • Support coverage.exclude: for excluding files from coverage reports by @k1LoW in #323

Other Changes

  • Fix CD pipeline by @k1LoW in #320
  • Update pkgs by @k1LoW in #324

v0.56.4 - 2024-01-25

Other Changes

  • Update gocloc by @k1LoW in #318

v0.56.3 - 2024-01-24

Fix bug 🐛

  • Fix path handling for Windows by @k1LoW in #315

v0.56.2 - 2024-01-23

New Features 🎉

  • Support Windows by @k1LoW in #313

v0.56.1 - 2024-01-22

Other Changes

v0.56.0 - 2024-01-22

New Features 🎉

  • Improving readability of benchmark scores by @k2tzumi in #308

Other Changes

  • Bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 by @dependabot in #309

v0.55.2 - 2023-12-28

Other Changes

  • Bump github.com/go-git/go-git/v5 from 5.5.2 to 5.11.0 by @dependabot in #306

v0.55.1 - 2023-12-19

Other Changes

  • Bump golang.org/x/crypto from 0.14.0 to 0.17.0 by @dependabot in #304

v0.55.0 - 2023-11-29

Breaking Changes 🛠

  • mv pkg/* to ./ by @k1LoW in #303

v0.54.6 - 2023-11-03

Fix bug 🐛

  • Identify the region of the bucket by @k1LoW in #301

Other Changes

  • Bump golang.org/x/image from 0.5.0 to 0.10.0 by @dependabot in #299

v0.54.5 - 2023-10-26

Other Changes

  • Bump google.golang.org/grpc from 1.53.0 to 1.56.3 by @dependabot in #295

v0.54.4 - 2023-10-24

Fix bug 🐛

  • octocov ls-files and octocov view should run locally as much as possible. by @k1LoW in #293

Other Changes

  • Make clear the error message of if section by @k1LoW in #292

v0.54.3 - 2023-10-17

Other Changes

  • Swap table XY if custom metrics have many columns. by @k1LoW in #289

v0.54.2 - 2023-10-12

Other Changes

  • docs: add the installation guide with aqua by @suzuki-shunsuke in #286
  • Bump golang.org/x/net from 0.7.0 to 0.17.0 by @dependabot in #288

v0.54.1 - 2023-10-02

Fix bug 🐛

  • Fix report of custom metrics by @k1LoW in #284

v0.54.0 - 2023-09-30

Breaking Changes 🛠

  • Always override existing environment variables with the prefix OCTOCOV_ by @k1LoW in #282

Fix bug 🐛

  • Delete/Minimize previous comments all by @k1LoW in #280

v0.53.0 - 2023-09-30

Breaking Changes 🛠

  • Update linter setting by @k1LoW in #277

New Features 🎉

  • Support if: section for three metrics by @k1LoW in #279

Other Changes

  • Remove title if three metrics are not mesured by @k1LoW in #278

v0.52.2 - 2023-09-29

Other Changes

  • Allow to merge no coverages reports by @k1LoW in #274

v0.52.1 - 2023-09-24

Other Changes

  • Update JSON schema for custom metrics by @k1LoW in #272

v0.52.0 - 2023-09-23

New Features 🎉

  • Support metadata for custom metrics by @k1LoW in #270

v0.51.6 - 2023-09-06

Fix bug 🐛

  • swap fileA and fileB results because it was reversed by @rajyan in #268

v0.51.5 - 2023-09-06

Fix bug 🐛

  • Fix diff metrics table (panic: runtime error: invalid memory address or nil pointer dereference) by @k1LoW in #266

v0.51.4 - 2023-09-03

Other Changes

  • Enhance validation related to custom metrics (e.g., key uniqueness) by @k1LoW in #264

v0.51.3 - 2023-09-03

Breaking Changes 🛠

  • If the value of custom metric is determined to be an integer, the metric is displayed as an integer by @k1LoW in #261

v0.51.2 - 2023-09-03

New Features 🎉

  • Support for multiple custom metrics from one environment variable. by @k1LoW in #259

Other Changes

  • Update CREDITS by @k1LoW in #260

v0.51.1 - 2023-09-02

Other Changes

  • Add asset for linux arm64 by @k1LoW in #256

v0.51.0 - 2023-09-02

Breaking Changes 🛠

  • Show custom metrics reports in pull requests and summaries by @k1LoW in #249

New Features 🎉

  • Collect custom metrics by @k1LoW in #247
  • Show custom metrics reports in output of octocov by @k1LoW in #252
  • Add JSON Schema for custom metrics by @k1LoW in #254

Other Changes

  • Add to README about custom metrics. by @k1LoW in #255

v0.50.1 - 2023-08-22

Fix bug 🐛

  • Fix private central ( Use ?raw=true URL ) by @k1LoW in #242

v0.50.0 - 2023-08-21

New Features 🎉

  • Only display badges if the central mode repository is private by @k1LoW in #241

Other Changes

  • Add govluncheck by @k1LoW in #239

v0.49.0 - 2023-07-19

  • Support timeout: and set default timeout by @k1LoW in #237
  • Update lint setting by @k1LoW in #238

v0.48.0 - 2023-07-12

  • Support GITHUB_PULL_REQUEST_NUMBER for detecting pull request number by @k1LoW in #233

v0.47.4 - 2023-06-23

  • Fix panic when adding codeToTestRatio for the first time by @rajyan in #231

v0.47.3 - 2023-05-30

  • Bump github.com/cloudflare/circl from 1.1.0 to 1.3.3 by @dependabot in #228

v0.47.2 - 2023-03-14

  • Fix DetectCurrentBranch by @k1LoW in #225

v0.47.1 - 2023-02-19

  • Fix CI by @k1LoW in #222

v0.47.0 - 2023-02-18

  • Update go and pkgs version by @k1LoW in #219
  • Bump golang.org/x/net from 0.6.0 to 0.7.0 by @dependabot in #221

v0.46.0 - 2022-11-11

v0.45.3 - 2022-11-09

  • Fix build pipeline of docker image by @k1LoW in #212

v0.45.2 - 2022-11-09

  • Fix SA1019 by @k1LoW in #206
  • Add badgen command for generating SVG badge by @k1LoW in #210
  • Fix badgen by @k1LoW in #211

v0.45.1 - 2022-11-03

  • Fix config central.reReport: by @k1LoW in #204

v0.45.0 - 2022-11-03

  • Support mackerel:// datastore by @k1LoW in #199
  • Add central.reReport: for re-reporting code metrics by @k1LoW in #201
  • Fix time unit of test execution time for Mackerel by @k1LoW in #202
  • Add doc about central.reReport: by @k1LoW in #203

v0.44.1 - 2022-10-19

  • Update README about summary: by @k1LoW in #194
  • Fix FuzzyFindByFile by @k1LoW in #198

v0.44.0 (2022-10-12)

v0.43.2 - 2022-10-11

  • Add *.hideFooterLink by @k1LoW in #178
  • [BREAKING] Fix building Config.Coverage.Paths by @k1LoW in #180

v0.43.1 - 2022-10-10

  • Fix changelog by @k1LoW in #175
  • Should always be able to report to GitHub Actions Job Summaries by @k1LoW in #177

v0.43.0 - 2022-10-08

  • Use tagpr by @k1LoW in #173
  • Support for inserting code metrics report to body of pull request by @k1LoW in #172

v0.42.1 (2022-09-28)

  • When only summary is used, the comment setting is nil #171 (k1LoW)

v0.42.0 (2022-09-18)

v0.41.1 (2022-09-01)

  • Fix build flags in build for linux #165 (k1LoW)

v0.41.0 (2022-09-01)

v0.40.1 (2022-04-18)

v0.40.0 (2022-04-17)

  • Fix the name of storing report data in the Artifact in the case of changing the repository: section. #154 (k1LoW)
  • Separate comment for each repository name #153 (k1LoW)

v0.39.2 (2022-04-11)

  • Fix handling of branch with slash in name #151 (k1LoW)

v0.39.1 (2022-04-03)

v0.39.0 (2022-04-03)

v0.38.2 (2022-03-16)

v0.38.2 (2022-03-16)

v0.38.1 (2022-03-13)

  • When detecting prefix, only files under the working directory are targeted. #145 (k1LoW)
  • Fix: panic when targeting a file with no coverage data. #144 (k1LoW)

v0.38.0 (2022-02-19)

  • [BREAKING] Remove all enable: section #143 (k1LoW)
  • When merging coverage reports, if any one of them is not a TypeLOC, it should be TypeMerged. #142 (k1LoW)

v0.37.1 (2022-02-11)

  • [BREAKING] Revert "coverage.Gocover return LOC coverage (not statement count)" #141 (k1LoW)

v0.37.0 (2022-02-11)

  • [BREAKING] coverage.Gocover return LOC coverage (not statement count) #140 (k1LoW)

v0.36.0 (2022-02-10)

  • Add octocov init for generating .octocov.yml #139 (k1LoW)
  • Not shrinking report data in some datastores #138 (k1LoW)

v0.35.0 (2022-02-07)

v0.34.0 (2022-02-03)

  • [BREAKING] Minimize previous coverage report comments instead of deleting them #135 (k1LoW)
  • Add test for pkg/badge #134 (k1LoW)

v0.33.3 (2022-01-21)

  • Fix the counting non codes #133 (k1LoW)
  • Fix the counting of metrics when merging. #132 (k1LoW)

v0.33.2 (2022-01-21)

v0.33.1 (2022-01-16)

v0.33.0 (2022-01-15)

  • Replace io/ioutil #129 (k1LoW)
  • Additional commits to #127 #128 (k1LoW)
  • [BREAKING] Add --report to octocov command. If --report is specified, only that report file is loaded. #127 (k1LoW)
  • Update pkgs #126 (k1LoW)
  • Support another SimpleCov format #125 (k1LoW)
  • Add log for debug #124 (k1LoW)

v0.32.0 (2022-01-12)

  • [BREAKING] If env CI is not set, octocov command only displays metrics #123 (k1LoW)
  • [BREAKING] Add octocov migrate-bq-table and remove option --create-bq-table #122 (k1LoW)
  • [BREAKING] Add octocov badge and remove --*-badge #121 (k1LoW)

v0.31.0 (2021-12-29)

  • Measuring test execution time by identifying steps of GitHub Actions from timestamp of multiple coverage report files #120 (k1LoW)
  • [BREAKING] Support multiple coverage report files #119 (k1LoW)
  • Support for merging ratios #118 (k1LoW)
  • Support for merging coverages #117 (k1LoW)
  • Fix coverage count #116 (k1LoW)
  • Fix coverage NumStmt (Cobertura, LCOV, SimpleCov) #115 (k1LoW)
  • [BREAKING] Change ratio.Ratio struct #114 (k1LoW)
  • Fix coverage count #113 (k1LoW)
  • Update pkgs #112 (k1LoW)

v0.30.0 (2021-12-08)

  • If the condition in the *.acceptable: section is not met, add an error message to the comment of the pull request. #111 (k1LoW)
  • Use os.DirFS instead of k1LoW/osfs #110 (k1LoW)
  • Update packages and Go #109 (k1LoW)

v0.29.0 (2021-11-18)

  • Update acceptable section logic #108 (k1LoW)
  • Add value is_default_branch in the if: section #107 (k1LoW)
  • Fully implemented the github datastore. #106 (k1LoW)
  • Use k1LoW/go-github-client #105 (k1LoW)

v0.28.3 (2021-11-01)

v0.28.2 (2021-10-30)

  • Fix the bug of getting reports for diff #103 (k1LoW)

v0.28.1 (2021-10-30)

  • Fix root dir of Code to Test Ratio #102 (k1LoW)

v0.28.0 (2021-10-30)

  • [BREAKING] Support code metrics for each application in the monorepo #101 (k1LoW)
  • Fix report comment #100 (k1LoW)

v0.27.1 (2021-10-28)

  • Fix handle coverage.yml of Clover format #99 (k1LoW)

v0.27.0 (2021-10-28)

  • [BREAKING] Add central.badges.datastores: section instead of central.badges: #98 (k1LoW)
  • Add octocov logo #97 (k1LoW)

v0.26.1 (2021-10-26)

  • Check if a job is related to a opened pull request in CommentConfigReady() #96 (k1LoW)

v0.26.0 (2021-10-26)

  • Add value is_pull_request in the if: section #95 (k1LoW)
  • Add central.if: section #94 (k1LoW)

v0.25.0 (2021-10-22)

  • Add comment.if: section #93 (k1LoW)
  • [BREAKING] enable: true can be omitted if any other parameters are set. #92 (k1LoW)
  • fix(error): improve execution time violation message #91 (rizalgowandy)
  • Add diff.if: section #90 (k1LoW)

v0.24.0 (2021-10-18)

v0.23.3 (2021-10-17)

  • Fix Cloud Storage (gcs) client creation using default application credentials #88 (dragon3)

v0.23.2 (2021-10-15)

v0.23.1 (2021-10-14)

  • If the prefix is ".", convert it to "". #86 (k1LoW)

v0.23.0 (2021-10-14)

  • [BREAKING] Fix handle coverage file path #85 (k1LoW)
  • Fix handle filepath of cobertura #84 (k1LoW)

v0.22.2 (2021-10-13)

  • Fix ls-files path detection #83 (k1LoW)

v0.22.1 (2021-10-12)

  • Fix file path relativization process of coverage #82 (k1LoW)

v0.22.0 (2021-10-12)

  • Fix markdown table when long branch name #81 (k1LoW)
  • Detect root path using env GITHUB_WORKSPACE #80 (k1LoW)

v0.21.1 (2021-10-12)

  • Fix nil pointer dereference when no code coverage metrics #79 (k1LoW)

v0.21.0 (2021-10-11)

  • Add Getting Started #78 (k1LoW)
  • [BREAKING] Fix config #77 (k1LoW)
  • Fix ls-files file detection #76 (k1LoW)
  • [BREAKING] Change each file path in the coverage report to be relative to git root #75 (k1LoW)

v0.20.1 (2021-09-27)

  • Fix: panic: assignment to entry in nil map #74 (k1LoW)
  • If report.path:, save the full report data #73 (k1LoW)
  • Add report.path: to save the report local path. #72 (k1LoW)

v0.20.0 (2021-09-22)

  • Comment report using diff #71 (k1LoW)
  • Output code metrics report to STDOUT when octocov command is executed. #70 (k1LoW)
  • Add octocov diff #69 (k1LoW)

v0.19.0 (2021-09-17)

  • Fix title #68 (k1LoW)
  • Add code coverage report of changed files to comment on pull request. #67 (k1LoW)

v0.18.1 (2021-09-15)

v0.18.0 (2021-09-15)

  • Flush the block coverages from the report to handle Error 413 (Request Entity Too Large)!!1 error. #64 (k1LoW)
  • Add octocov ls-files #63 (k1LoW)
  • [BREAKING] Add octocov dump instead of --dump #62 (k1LoW)

v0.17.2 (2021-09-13)

  • Fix paintLine when TypeStmt #61 (k1LoW)

v0.17.1 (2021-09-13)

v0.17.0 (2021-09-13)

  • Added octocov cat to check line-by-line coverage of source code. #58 (k1LoW)
  • Change TypeStatement to TypeStmt #57 (k1LoW)
  • Include coverage per block in the report #56 (k1LoW)
  • Use cobra default completion #55 (k1LoW)
  • Fix testdata dir #54 (k1LoW)
  • Use github.com/k1LoW/osfs #53 (k1LoW)

v0.16.0 (2021-08-24)

  • Support OCTOCOV_ prefix environment variables #52 (k1LoW)

v0.15.2 (2021-08-24)

v0.15.1 (2021-08-24)

v0.15.0 (2021-08-18)

  • Support GOOGLE_APPLICATION_CREDENTIALS_JSON #49 (k1LoW)
  • Add trivy-action #48 (k1LoW)

v0.14.0 (2021-08-09)

  • Fix BigQuery query error #47 (k1LoW)
  • [BREAKING] Support multi datastores on central mode and change config format #46 (k1LoW)
  • [BREAKING] Support multi datastores and change config format. #45 (k1LoW)

v0.13.0 (2021-08-05)

v0.12.1 (2021-07-02)

  • Avoid incorrectly parsing other report formats. #34 (k1LoW)

v0.12.0 (2021-07-02)

  • Support Cobertura XML format #33 (k1LoW)
  • Allow no code coverage report #32 (k1LoW)
  • Add comment.hideFooterLink section #31 (k1LoW)

v0.11.0 (2021-06-13)

  • Update central mode report format #30 (k1LoW)
  • Add comment: for commenting report to pull request #29 (k1LoW)

v0.10.0 (2021-06-02)

  • Support measure parallel/multi tests execution time #28 (k1LoW)

v0.9.0 (2021-05-30)

  • Add push.if: section and central.push.if: section #27 (k1LoW)
  • Add push: for support self push badges #26 (k1LoW)

v0.8.0 (2021-05-26)

  • Add testExecutionTime.acceptable: ( and fix typo ) #25 (k1LoW)

v0.7.3 (2021-05-24)

v0.7.2 (2021-05-24)

v0.7.1 (2021-05-24)

  • Skip measuring test execution time when fail to detect test time #22 (k1LoW)
  • Add backoff logic to GetStepExecutionTimeByTime #21 (k1LoW)

v0.7.0 (2021-05-23)

  • Support test execution time #20 (k1LoW)
  • Add gh.Gh and inject gh.Gh to datastore.Github #19 (k1LoW)
  • Support self git push in central mode #18 (k1LoW)
  • Fix option name #17 (k1LoW)

v0.6.1 (2021-05-12)

v0.6.0 (2021-05-12)

  • Fix pkg/badge field names #14 (k1LoW)
  • [BREAKING]Support code to test ratio #13 (k1LoW)

v0.5.0 (2021-05-11)

v0.4.0 (2021-05-10)

  • Support datastore.if: section #11 (k1LoW)

v0.3.1 (2021-05-10)

v0.3.0 (2021-05-08)

  • [BREAKING] Update coverage.badge #9 (k1LoW)

v0.2.0 (2021-05-07)

  • Add central mode #8 (k1LoW)
  • Enable Clover parser #7 (k1LoW)
  • Fix lcov does not set file name #6 (k1LoW)
  • Change default report path #5 (k1LoW)
  • Fix default datastore.github.path: #4 (k1LoW)
  • Use k1LoW/octocov-action #3 (k1LoW)

v0.1.1 (2021-05-05)

  • Resolve permission error when creating a directory. #2 (k1LoW)
  • Fix octocov completion interface #1 (k1LoW)

v0.1.0 (2021-05-04)