Skip to content

Latest commit

 

History

History
548 lines (209 loc) · 20.3 KB

File metadata and controls

548 lines (209 loc) · 20.3 KB

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 (2026-03-20)

Bug Fixes

  • correct type definitions and update exports in package.json (9b455b6)

Features

  • reporter: add options for publishRetryResults and mark flaky tests (49b7d32)

1.19.1 (2026-02-25)

Bug Fixes

  • reporter: update automation status check to mark test cases as automated correctly (d844a59)

1.19.0 (2025-12-09)

Features

  • automark: add callback support for storage path and test type (48d0e98), closes #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 (2025-12-08)

Features

  • reporter: extend auto-mark functionality with test name and storage path options (8c3bb36), closes #136

1.17.0 (2025-11-30)

Features

  • reporter: add automatic test case automation status marking (dc87cc5), closes #134
  • reporter: extract test case IDs from annotation descriptions using testCaseIdMatcher (2392fb7), closes #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 (2025-10-20)

1.16.1 (2025-10-07)

Bug Fixes

  • reporter: preserve TestCase getter properties when creating extended test cases (7b20c14), closes #128

1.16.0 (2025-09-20)

Features

  • ci: add automated test results reporting to PR comments (a0c9373)
  • reporter: add testRunADO mode with pagination support (21f0929)

BREAKING CHANGES

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

1.15.0 (2025-09-16)

Bug Fixes

  • attachments: implement retry mechanism for file access during upload (2bd80e5), closes #120
  • changelog: prevent duplicate entries in publish workflow (d35cc9c)

Features

  • summary: add testCaseSummary feature with publishToRun support and configuration name resolution (37c9e43)
  • testCaseSummary: optimize attachment uploads and replace dynamic imports (a7e0d81)

BREAKING CHANGES

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

1.14.0 (2025-09-15)

Features

  • auth: add support for Personal Access Token and Access Token authentication types (957a7e7), closes #117
  • auth: implement comprehensive authentication system with smart token refresh (8af749e), closes #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 (2025-09-02)

Bug Fixes

  • add missing conventional-changelog and conventional-github-releaser dependencies (93bfa1c)

1.13.2-beta.1 (2025-08-31)

1.13.2-beta.0 (2025-08-31)

Bug Fixes

  • add missing conventional-changelog dependencies for beta release (caa4a7b)

Features

  • add automatic beta releases for PR merges (39191e8)
  • add PR beta release functionality with manual confirmation (4c61d21)
  • add repository owner permission check for PR beta releases (1242bb3)

1.13.2 (2025-08-31)

Bug Fixes

  • add missing conventional-changelog dependencies for beta release (caa4a7b)

1.13.1 (2025-04-11)

Bug Fixes

1.13.0 (2025-04-11)

1.13.0-beta.3 (2025-02-10)

Bug Fixes

  • log error.stack instead error.message (1390105)

Features

  • reduce logs for testRun mode (cd7868e)

1.13.0-beta.2 (2025-01-31)

Bug Fixes

  • root suite test points awaiting (c466fed)

1.13.0-beta.1 (2025-01-17)

Bug Fixes

  • fixed continuationToken null (c2cdd7f)
  • fixed duclicate logs attachments (f9d4e83)
  • fixed upload logs function (1b7e4b3)

1.13.0-beta.0 (2024-12-18)

Features

  • rootSuiteId config added (7ff9dd3)
  • uploadLogs config option (e76ce76)

1.12.0 (2024-09-26)

Features

  • match test case IDs from test annotations (ffb0d54)

1.12.0-beta.0 (2024-09-22)

Features

  • match test case IDs from test annotations (ffb0d54)

1.11.0 (2024-09-19)

1.11.0-beta.0 (2024-09-17)

1.10.1 (2024-08-09)

Bug Fixes

  • Cannot read properties of undefined (reading 'replace') (8a5115d)

1.10.0 (2024-08-06)

Features

  • rework logger and reporter (1186113)

1.10.0-beta.0 (2024-08-05)

Features

  • AZURE_PW_TEST_RUN_ID as Task variable (8c7693a)

1.9.1 (2024-06-04)

1.9.0 (2024-03-25)

1.9.0-beta.0 (2024-03-11)

Features

  • add ability to define test id using pw tags config (ef999a1)

1.8.0 (2023-11-21)

Features

  • set existing test run ID (3c2bfb3)

1.7.0 (2023-11-21)

1.7.0-beta.0 (2023-11-15)

Features

  • AZURE_PW_TEST_RUN_ID env variable (5e51679)

1.6.1 (2023-10-16)

1.6.0 (2023-08-16)

1.6.0-beta.1 (2023-08-11)

1.6.0-beta.0 (2023-08-09)

1.5.8 (2023-07-05)

1.5.8-beta.2 (2023-07-05)

1.5.8-beta.1 (2023-07-05)

1.5.8-beta.0 (2023-07-05)

1.5.7 (2023-04-21)

Bug Fixes

  • last symbol was sliced at console message (56c8228)

1.5.6 (2023-04-12)

1.5.6-beta.1 (2023-04-12)

1.5.6-beta.0 (2023-04-12)

Bug Fixes

  • can't import options interface (de994a7)

1.5.5 (2023-04-12)

1.5.4 (2023-04-12)

1.5.3 (2023-04-05)

Bug Fixes

  • fixing bug when test case was not published (b25096a)

1.5.2 (2023-03-27)

1.5.1 (2023-03-25)

1.5.0 (2023-03-24)

1.4.4 (2023-02-22)

Bug Fixes

1.4.3 (2023-02-08)

1.4.2 (2023-01-11)

1.4.1-beta.0 (2022-12-30)

Bug Fixes

  • fixing some throwe error (733e759)

1.4.0-beta.0 (2022-12-29)

Features

  • publishTestResultsMode config to set mode when publish test results (4e25019)

1.4.1 (2023-01-11)

1.3.1-beta.0 (2022-12-22)

1.3.0-beta.0 (2022-10-31)

Features

  • define multiple test cases for a single test (a89847a)

1.2.0-beta.2 (2022-10-14)

Bug Fixes

  • configurationIds implementing (9c9ad44)

1.2.0-beta.1 (2022-10-13)

Bug Fixes

  • optional configurationIds (ffd01c3)

1.2.0-beta.0 (2022-09-30)

Features

1.1.1 (2022-07-26)

Bug Fixes

  • handling the existence of an attachment (d16efbc)

1.1.0 (2022-07-19)

Features

  • added attachmentsType, full code refactoring (b6e5c0f)