Skip to content

Latest commit

 

History

History
252 lines (138 loc) · 8.29 KB

CHANGELOG.md

File metadata and controls

252 lines (138 loc) · 8.29 KB

Changelog of the Jest Coverage Comment

Release Date: 2024-04-30

Changes

  • Handle case when testsuites is not the root element of the JUnit xml file, thanks to @JakeFDev for contribution

Release Date: 2024-01-30

Changes

  • Change node16 to node20, thanks to @kagankan for contribution

Release Date: 2023-11-23

Changes

  • Take right serverUrl in non github.com environments like selfhosted github, e.g. link to lines uses then the correct link, thanks to @c0un7-z3r0 for contribution

Release Date: 2023-03-13

Changes

  • Remove summary error in annotations when provide one of junitxml-path / coverage-path / multiple-files / multiple-junitxml-files and not provide coverage-summary-path which have default value

Release Date: 2023-01-07

Changes

  • Support pull_request_target event to add comments, thanks to @chirag-madlani for contribution

Release Date: 2022-12-03

Changes

  • Support matrix with individual comments. When you run in a matrix, and you want that every job will post a comment, you can use the unique-id-for-comment: ${{ matrix.node-version }}. This will post a comment for every job, and will update them on every run.

Release Date: 2022-10-31

Changes

  • Huge thanks to @paescuj for contribution. Many internal things such:
    • Consistent usage of terms and letter casing
    • Fix typos and enhance formatting in README.md
    • Use single quotes whenever possible
    • Use JSDoc to describe the functions, so the descriptions are displayed in IDE

Release Date: 2022-10-20

Changes

  • Fix failing the action when the event type is not pull_request/push. Now it will just post warning message if you try to comment (and not fail the whole action). If you just using an output of the action you will be able to run this action on events like schedule/workflow_dispatch etc
  • Add full CHANGELOG.md (current file with all history). Those whos use dependabot now will be able to see the changes directly in the PR

Release Date: 2022-10-15

Changes

  • Support multiple junitxml files
- name: Jest coverage comment
  uses: MishaKav/jest-coverage-comment@main
  with:
    multiple-junitxml-files: |
      My-Title-1, ./coverage_1/junit.xml
      My-Title-2, ./coverage_2/junit.xml

image

Release Date: 2022-10-15

Changes

  • Fix errors for old junit format old versions like 10 of jest-junit do not provide a summary for the errors field. Calculate it manually.

Release Date: 2022-10-13

Changes

  • Fix error when reading coverage txt
  • Improve warnings when a comment is too long
  • Remove unrelevant suggestions from the warning

Release Date: 2022-09-10

Changes

  • Swap branch and functions (typo)

Release Date: 2022-08-19

Changes

  • Add ability to remove links from report add new properties:
    • remove-links-to-files
    • remove-links-to-lines

it will significantly reduce comment length which is useful in large reports

image

Release Date: 2022-08-10

Changes

  • Add support for istanbul report (remove extra slash on folders)

Release Date: 2022-08-10

Changes

  • support multiple files for mono repo projects image

Release Date: 2022-06-29

Changes

  • fix changed files (when the first commit comes in push evnet, it fails to compare it with head commit)

Release Date: 2022-06-28

Changes

  • remove strip colors

Release Date: 2022-06-17

Changes

  • Prevent total line from being treated as folder + correct spellings
  • Big thanks for @paescuj for the PR

Release Date: 2022-05-17

Changes

  • Fix empty folders on changed files (the report show empty folders even they don't contain files)

Release Date: 2022-05-14

Changes

  • Fix head of base commit, sometimes it fails the actions with error
    The head commit for this ${eventName} event is not ahead of the base commit.

Release Date: 2022-04-27

Changes

  • Add comment to report when no files changed: \ report-only-changed-files is enabled. No files were changed during this commit :)

Release Date: 2022-04-23

Changes

  • show elapsed time in minutes when it's more than 60 seconds
  • If the elapsed time is more than 1 minute, it will show it in a different format (555.0532s > 9m 15s), the output format will be the same as junit.xml (555.0532s).

Release Date: 2022-04-01

Changes

  • Report only changed files image

Release Date: 2022-03-31

Changes

  • add full coverage report

image

Release Date: 2022-03-22

Changes

  • add support for junit.xml

    image

Release Date: 2022-03-21

Changes

  • Update main Readme, use the latest @main version instead @v1 in the example workflows.

Release Date: 2022-03-21

Changes