## v1.20.2

Released: 2026-08-07

## v1.20.1

Released: 2026-08-07

### Bug Fixes
- fix(reporter): report test.fail() expected failures as Passed in Azure (2aeb932)
- fix(reporter): low-severity hardening — parseInt validation, gitignore, Promise pattern (L2/L3/L4/L8) (bd61c8a)
- fix(npm): add files whitelist and improve .npmignore (M3) (97ec66e)
- fix(reporter): fix VSSInterfaces import and Operation enum values (7d8a42c)
- fix(reporter): unify ANSI escape stripping via stripAnsi utility (M1) (cd9f7fb)
- fix(deps): upgrade eslint and typescript-eslint to latest, remove socksv5 (c0fa97f)
- fix(security): pin all GitHub Actions to immutable commit SHAs (H4) (24c227f)
- fix(security): address workflow security issues H1/H2/H3/L7 and jpeg extension bug (a44d428)
- fix(workflow): streamline beta release comment check by consolidating environment variables (29a456c)
- fix(ci): fix changelog generation and GitHub Release notes in publish workflow (b54f074)

# [1.20.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.19.1...v1.20.0) (2026-03-20)


### Bug Fixes

* correct type definitions and update exports in package.json ([9b455b6](https://github.com/alexneo2003/playwright-azure-reporter/commit/9b455b67dc7a49dc1541d1c394906ae8a97bcb9e))


### Features

* **reporter:** add options for publishRetryResults and mark flaky tests ([49b7d32](https://github.com/alexneo2003/playwright-azure-reporter/commit/49b7d32ce391fa3985dbc364473721fb830edf96))



## [1.19.1](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.19.0...v1.19.1) (2026-02-25)


### Bug Fixes

* **reporter:** update automation status check to mark test cases as automated correctly ([d844a59](https://github.com/alexneo2003/playwright-azure-reporter/commit/d844a592a2b773ec1ab88480f3b812a10c9789d3))



# [1.19.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.18.0...v1.19.0) (2025-12-09)


### Features

* **automark:** add callback support for storage path and test type ([48d0e98](https://github.com/alexneo2003/playwright-azure-reporter/commit/48d0e984761754d98eef36568a023e8ad33e124f)), closes [#138](https://github.com/alexneo2003/playwright-azure-reporter/issues/138)


### BREAKING CHANGES

* **automark:** Renamed `automatedTestStorageFullPath` to `automatedTestStoragePath` with enhanced functionality

- Replace boolean `automatedTestStorageFullPath` with flexible `automatedTestStoragePath`
  - Supports boolean (false: basename, true: full path) for backward compatibility
  - Supports callback function `(testCase: TestCase) => string` for custom path logic
  - Enables relative paths to avoid exposing sensitive info (usernames) in CI/CD
- Add new `automatedTestType` callback option
  - Sets `Microsoft.VSTS.TCM.AutomatedTestType` field in Azure DevOps
  - Callback signature: `(testCase: TestCase) => string`
  - Field not set if callback returns empty/falsy value
- Update _getAutomatedTestStorage to handle both boolean and function types
- Add 4 comprehensive test cases covering callback scenarios
- Update README and examples with advanced callback usage patterns
- Maintain full backward compatibility with boolean values



# [1.18.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.17.0...v1.18.0) (2025-12-08)


### Features

* **reporter:** extend auto-mark functionality with test name and storage path options ([8c3bb36](https://github.com/alexneo2003/playwright-azure-reporter/commit/8c3bb36d1cae083a1336014d1c6854fe78cf00a2)), closes [#136](https://github.com/alexneo2003/playwright-azure-reporter/issues/136)



# [1.17.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.16.2...v1.17.0) (2025-11-30)


### Features

* **reporter:** add automatic test case automation status marking ([dc87cc5](https://github.com/alexneo2003/playwright-azure-reporter/commit/dc87cc511f406ad8154205029323e167536deda5)), closes [#134](https://github.com/alexneo2003/playwright-azure-reporter/issues/134)
* **reporter:** extract test case IDs from annotation descriptions using testCaseIdMatcher ([2392fb7](https://github.com/alexneo2003/playwright-azure-reporter/commit/2392fb7f89a3430823de15b61ab900c0272289d0)), closes [#132](https://github.com/alexneo2003/playwright-azure-reporter/issues/132)


### BREAKING CHANGES

* **reporter:** Requires Work Items (Read & Write) token scope for marking test cases as automated
* **reporter:** None - fully backward compatible



## [1.16.2](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.16.1...v1.16.2) (2025-10-20)



## [1.16.1](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.16.0...v1.16.1) (2025-10-07)


### Bug Fixes

* **reporter:** preserve TestCase getter properties when creating extended test cases ([7b20c14](https://github.com/alexneo2003/playwright-azure-reporter/commit/7b20c141349968bbf6fd2712b4e7c0c60b77f14c)), closes [#128](https://github.com/alexneo2003/playwright-azure-reporter/issues/128)



# [1.16.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.15.0...v1.16.0) (2025-09-20)


### Features

* **ci:** add automated test results reporting to PR comments ([a0c9373](https://github.com/alexneo2003/playwright-azure-reporter/commit/a0c9373c5b02d314beeeb8fa1799ae7dfb796d14))
* **reporter:** add testRunADO mode with pagination support ([21f0929](https://github.com/alexneo2003/playwright-azure-reporter/commit/21f0929c038a724797fb2866af95e26cc21328ad))


### BREAKING CHANGES

* **reporter:** testRunADO mode requires both testRunId and isExistingTestRun=true



# [1.15.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.14.0...v1.15.0) (2025-09-16)


### Bug Fixes

* **attachments:** implement retry mechanism for file access during upload ([2bd80e5](https://github.com/alexneo2003/playwright-azure-reporter/commit/2bd80e5d233504f2a643e629692533aaae253a53)), closes [#120](https://github.com/alexneo2003/playwright-azure-reporter/issues/120)
* **changelog:** prevent duplicate entries in publish workflow ([d35cc9c](https://github.com/alexneo2003/playwright-azure-reporter/commit/d35cc9c4cab6a2dce4d9a0880b24bb74964ab7e8))


### Features

* **summary:** add testCaseSummary feature with publishToRun support and configuration name resolution ([37c9e43](https://github.com/alexneo2003/playwright-azure-reporter/commit/37c9e4323353d1ddf1bb12267f95acd0a83838b9))
* **testCaseSummary:** optimize attachment uploads and replace dynamic imports ([a7e0d81](https://github.com/alexneo2003/playwright-azure-reporter/commit/a7e0d81acbea9eb5ce530d800f75dcd94f9f80ac))


### BREAKING CHANGES

* **summary:** none (feature is opt-in via testCaseSummary.enabled)



# [1.14.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.13.3...v1.14.0) (2025-09-15)


### Features

* **auth:** add support for Personal Access Token and Access Token authentication types ([957a7e7](https://github.com/alexneo2003/playwright-azure-reporter/commit/957a7e76cfb964e942ee8ef528202d2f523ed03d)), closes [#117](https://github.com/alexneo2003/playwright-azure-reporter/issues/117)
* **auth:** implement comprehensive authentication system with smart token refresh ([8af749e](https://github.com/alexneo2003/playwright-azure-reporter/commit/8af749e3554fe955f0adce516dc582a87c4f6ee3)), closes [#117](https://github.com/alexneo2003/playwright-azure-reporter/issues/117)


### BREAKING CHANGES

* **auth:** None - existing configurations continue to work unchanged

Features:
- New `authType` option in AzureReporterOptions interface
- Support for both azdev.getPersonalAccessTokenHandler and azdev.getHandlerFromToken
- Backward compatibility with existing PAT-based configurations
- Graceful handling of invalid authType values

Tests:
- 4 integration tests for authType configuration scenarios
- 3 unit tests with Azure DevOps API method mocking
- 5 authentication handler creation tests
- Complete coverage of default behavior and edge cases

Documentation:
- Updated README.md with authentication section and token scope requirements
- Created comprehensive authType-examples.md with usage examples
- Added configuration guidance for both PAT and OAuth scenarios
- Included troubleshooting section for common authentication issues



## [1.13.3](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.13.2-beta.1...v1.13.3) (2025-09-02)


### Bug Fixes

* add missing conventional-changelog and conventional-github-releaser dependencies ([93bfa1c](https://github.com/alexneo2003/playwright-azure-reporter/commit/93bfa1c45eaff6205b5bf0333cca246976159028))



## [1.13.2-beta.1](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.13.2-beta.0...v1.13.2-beta.1) (2025-08-31)



## [1.13.2-beta.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.13.1...v1.13.2-beta.0) (2025-08-31)


### Bug Fixes

* add missing conventional-changelog dependencies for beta release ([caa4a7b](https://github.com/alexneo2003/playwright-azure-reporter/commit/caa4a7bce86f31684bef69c8610f7b52ab8a272f))


### Features

* add automatic beta releases for PR merges ([39191e8](https://github.com/alexneo2003/playwright-azure-reporter/commit/39191e8ac0ea20e1f133e2c173146993b93e4dd2))
* add PR beta release functionality with manual confirmation ([4c61d21](https://github.com/alexneo2003/playwright-azure-reporter/commit/4c61d21db88a4954cce5131fd0349818925435df))
* add repository owner permission check for PR beta releases ([1242bb3](https://github.com/alexneo2003/playwright-azure-reporter/commit/1242bb322783f40e80f89bd75f58c1ede2ee6def))



## [1.13.2](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.13.1...v1.13.2) (2025-08-31)


### Bug Fixes

* add missing conventional-changelog dependencies for beta release ([caa4a7b](https://github.com/alexneo2003/playwright-azure-reporter/commit/caa4a7bce86f31684bef69c8610f7b52ab8a272f))



## [1.13.1](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.13.0...v1.13.1) (2025-04-11)


### Bug Fixes

* fix publish workflow ([5c17ec0](https://github.com/alexneo2003/playwright-azure-reporter/commit/5c17ec0698165f81aa03d7ab26e1122519b9c90f))



# [1.13.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.13.0-beta.3...v1.13.0) (2025-04-11)



# [1.13.0-beta.3](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.13.0-beta.2...v1.13.0-beta.3) (2025-02-10)


### Bug Fixes

* log error.stack instead error.message ([1390105](https://github.com/alexneo2003/playwright-azure-reporter/commit/1390105dc116f0805fc8497776a5b50363c61875))


### Features

* reduce logs for testRun mode ([cd7868e](https://github.com/alexneo2003/playwright-azure-reporter/commit/cd7868e5809e1946b64b6410373aa5f04a3cde16))



# [1.13.0-beta.2](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.13.0-beta.1...v1.13.0-beta.2) (2025-01-31)


### Bug Fixes

* root suite test points awaiting ([c466fed](https://github.com/alexneo2003/playwright-azure-reporter/commit/c466fedc01e64d47a7dadadabd847eb1c58be4a5))



# [1.13.0-beta.1](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.13.0-beta.0...v1.13.0-beta.1) (2025-01-17)


### Bug Fixes

* fixed continuationToken null ([c2cdd7f](https://github.com/alexneo2003/playwright-azure-reporter/commit/c2cdd7faf4809fc8e536d306688601196eaa8201))
* fixed duclicate logs attachments ([f9d4e83](https://github.com/alexneo2003/playwright-azure-reporter/commit/f9d4e83e9ce745ddd3f4507646b5e1b76b54fcd4))
* fixed upload logs function ([1b7e4b3](https://github.com/alexneo2003/playwright-azure-reporter/commit/1b7e4b3d5c20325e0c9bf9d6e001333799325244))



# [1.13.0-beta.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.12.0...v1.13.0-beta.0) (2024-12-18)


### Features

* rootSuiteId config added ([7ff9dd3](https://github.com/alexneo2003/playwright-azure-reporter/commit/7ff9dd3130f86013d7d36cf85bbb5f3f6f71e1e5))
* uploadLogs config option ([e76ce76](https://github.com/alexneo2003/playwright-azure-reporter/commit/e76ce76b263dd1fe52a5311804f090e13964d953))



# [1.12.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.11.0...v1.12.0) (2024-09-26)


### Features

* match test case IDs from test annotations ([ffb0d54](https://github.com/alexneo2003/playwright-azure-reporter/commit/ffb0d5484a436e96837992d55925876621790a11))



# [1.12.0-beta.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.11.0...v1.12.0-beta.0) (2024-09-22)


### Features

* match test case IDs from test annotations ([ffb0d54](https://github.com/alexneo2003/playwright-azure-reporter/commit/ffb0d5484a436e96837992d55925876621790a11))



# [1.11.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.11.0-beta.0...v1.11.0) (2024-09-19)



# [1.11.0-beta.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.10.1...v1.11.0-beta.0) (2024-09-17)



## [1.10.1](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.10.0...v1.10.1) (2024-08-09)


### Bug Fixes

* Cannot read properties of undefined (reading 'replace') ([8a5115d](https://github.com/alexneo2003/playwright-azure-reporter/commit/8a5115d8fcc8e6be5b4ee476261eff2b8706e4a1))



# [1.10.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.10.0-beta.0...v1.10.0) (2024-08-06)


### Features

* rework logger and reporter ([1186113](https://github.com/alexneo2003/playwright-azure-reporter/commit/118611375dac554c6671fd19b6a3d036e7052ad5))



# [1.10.0-beta.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.9.1...v1.10.0-beta.0) (2024-08-05)


### Features

* AZURE_PW_TEST_RUN_ID as Task variable ([8c7693a](https://github.com/alexneo2003/playwright-azure-reporter/commit/8c7693a510bf93ac2cb10c801a7d3b71295af420))



## [1.9.1](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.9.0...v1.9.1) (2024-06-04)



# [1.9.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.9.0-beta.0...v1.9.0) (2024-03-25)



# [1.9.0-beta.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.8.0...v1.9.0-beta.0) (2024-03-11)


### Features

* add ability to define test id using pw tags config ([ef999a1](https://github.com/alexneo2003/playwright-azure-reporter/commit/ef999a1cf42fbfadb7b61150990aff6f3ab71015))



# [1.8.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.7.0...v1.8.0) (2023-11-21)


### Features

* set existing test run ID ([3c2bfb3](https://github.com/alexneo2003/playwright-azure-reporter/commit/3c2bfb31fad8427dd1206202d934812a78290b27))



# [1.7.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.7.0-beta.0...v1.7.0) (2023-11-21)



# [1.7.0-beta.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.6.1...v1.7.0-beta.0) (2023-11-15)


### Features

* AZURE_PW_TEST_RUN_ID env variable ([5e51679](https://github.com/alexneo2003/playwright-azure-reporter/commit/5e5167930f21c11ee6a445177b4a922509b38b4a))



## [1.6.1](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.6.0...v1.6.1) (2023-10-16)



# [1.6.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.6.0-beta.1...v1.6.0) (2023-08-16)



# [1.6.0-beta.1](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.6.0-beta.0...v1.6.0-beta.1) (2023-08-11)



# [1.6.0-beta.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.5.8...v1.6.0-beta.0) (2023-08-09)



## [1.5.8](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.5.8-beta.2...v1.5.8) (2023-07-05)



## [1.5.8-beta.2](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.5.8-beta.1...v1.5.8-beta.2) (2023-07-05)



## [1.5.8-beta.1](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.5.8-beta.0...v1.5.8-beta.1) (2023-07-05)



## [1.5.8-beta.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.5.7...v1.5.8-beta.0) (2023-07-05)



## [1.5.7](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.5.6...v1.5.7) (2023-04-21)


### Bug Fixes

* last symbol was sliced at console message ([56c8228](https://github.com/alexneo2003/playwright-azure-reporter/commit/56c8228d858ca43d3a1a502a17188d6728654c8a))



## [1.5.6](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.5.6-beta.1...v1.5.6) (2023-04-12)



## [1.5.6-beta.1](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.5.6-beta.0...v1.5.6-beta.1) (2023-04-12)



## [1.5.6-beta.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.5.5...v1.5.6-beta.0) (2023-04-12)


### Bug Fixes

* can't import options interface ([de994a7](https://github.com/alexneo2003/playwright-azure-reporter/commit/de994a7173c5025683d5e2808275f2a8e9a9ff4e))



## [1.5.5](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.5.4...v1.5.5) (2023-04-12)



## [1.5.4](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.5.3...v1.5.4) (2023-04-12)



## [1.5.3](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.5.2...v1.5.3) (2023-04-05)


### Bug Fixes

* fixing bug when test case was not published ([b25096a](https://github.com/alexneo2003/playwright-azure-reporter/commit/b25096a27984ff04cd408e3c6c16d820951160ed))



## [1.5.2](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.5.1...v1.5.2) (2023-03-27)



## [1.5.1](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.5.0...v1.5.1) (2023-03-25)



# [1.5.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.4.4...v1.5.0) (2023-03-24)



## [1.4.4](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.4.3...v1.4.4) (2023-02-22)


### Bug Fixes

* fixing readme ([516d29f](https://github.com/alexneo2003/playwright-azure-reporter/commit/516d29f64f851635af4e8de4b4843449105544f3))



## [1.4.3](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.4.2...v1.4.3) (2023-02-08)



## [1.4.2](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.4.1...v1.4.2) (2023-01-11)



## [1.4.1-beta.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.4.0-beta.0...v1.4.1-beta.0) (2022-12-30)


### Bug Fixes

* fixing some throwe error ([733e759](https://github.com/alexneo2003/playwright-azure-reporter/commit/733e759f82bf7dc17176af7f3ef04ce43593ceeb))



# [1.4.0-beta.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.3.1-beta.0...v1.4.0-beta.0) (2022-12-29)


### Features

* publishTestResultsMode config to set mode when publish test results ([4e25019](https://github.com/alexneo2003/playwright-azure-reporter/commit/4e2501926beb4680c4ef770273847fae39c57b71))



## [1.4.1](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.3.1-beta.0...v1.4.1) (2023-01-11)



## [1.3.1-beta.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.3.0-beta.0...v1.3.1-beta.0) (2022-12-22)



# [1.3.0-beta.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.2.0-beta.2...v1.3.0-beta.0) (2022-10-31)


### Features

* define multiple test cases for a single test ([a89847a](https://github.com/alexneo2003/playwright-azure-reporter/commit/a89847acd8a4115cfb54329b27c7941ac403a792))



# [1.2.0-beta.2](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.2.0-beta.1...v1.2.0-beta.2) (2022-10-14)


### Bug Fixes

* configurationIds implementing ([9c9ad44](https://github.com/alexneo2003/playwright-azure-reporter/commit/9c9ad44b4a798e336b534f46a804e64d9c8cc31a))



# [1.2.0-beta.1](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.2.0-beta.0...v1.2.0-beta.1) (2022-10-13)


### Bug Fixes

* optional configurationIds ([ffd01c3](https://github.com/alexneo2003/playwright-azure-reporter/commit/ffd01c34ea5a47c0075364ec286f46c233baa6f8))



# [1.2.0-beta.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.1.1...v1.2.0-beta.0) (2022-09-30)


### Features

* Refactoring ([8f2545d](https://github.com/alexneo2003/playwright-azure-reporter/commit/8f2545d79cf9e3015498fcc01823d9ecbb47de8a))



## [1.1.1](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.1.0...v1.1.1) (2022-07-26)


### Bug Fixes

* handling the existence of an attachment ([d16efbc](https://github.com/alexneo2003/playwright-azure-reporter/commit/d16efbcb099284ca3baa71e346199d968ed9e7cf))



# [1.1.0](https://github.com/alexneo2003/playwright-azure-reporter/compare/v1.0.4...v1.1.0) (2022-07-19)


### Features

* added attachmentsType, full code refactoring ([b6e5c0f](https://github.com/alexneo2003/playwright-azure-reporter/commit/b6e5c0f364ff03595e6aef8240aca36ab7d91569))



