Files
toolkit/packages/github/RELEASES.md
T
Salman Chishti a8ea745713 feat(github): append orchestration ID to user-agent in getOctokitOptions
When ACTIONS_ORCHESTRATION_ID is set, appends
actions_orchestration_id/{sanitizedId} to the user-agent string.

- Add getUserAgentWithOrchestrationId() to internal/utils.ts
- Wire into getOctokitOptions() so all getOctokit() calls include it
- Re-export helper from @actions/github/lib/utils for downstream consumers
- 14 deterministic unit tests covering helper, integration, edge cases
2026-04-07 16:16:11 +00:00

3.6 KiB

@actions/github Releases

9.1.0

  • Append actions_orchestration_id to user-agent when ACTIONS_ORCHESTRATION_ID environment variable is set
  • Export getUserAgentWithOrchestrationId from @actions/github/lib/utils for downstream consumers

9.0.0

  • Breaking change: Package is now ESM-only
    • CommonJS consumers must use dynamic import() instead of require()
    • Example: const { getOctokit, context } = await import('@actions/github')
  • Fix TypeScript compilation by migrating to ESM, enabling proper imports from @octokit/core/types

8.0.1

  • Update undici to 6.23.0
  • Update @actions/http-client to 3.0.2

8.0.0

  • Update @octokit dependencies
    • @octokit/core ^7.0.6
    • @octokit/plugin-paginate-rest ^14.0.0
    • @octokit/plugin-rest-endpoint-methods ^17.0.0
    • @octokit/request ^10.0.7
    • @octokit/request-error ^7.1.0
  • Breaking change: Minimum Node.js version is now 20 (previously 18)

7.0.0

  • Update to v3.0.1 of @actions/http-client

6.0.1

  • Dependency updates #2043
  • Add context.runAttempt #1588

6.0.0

  • Support the latest Octokit in @actions/github #1553
    • Drop support of NodeJS v14, v16

5.1.1

  • Export default octokit options #1188

5.1.0

  • Add additionalPlugins parameter to getOctokit method #1181
  • Dependency updates #1180

5.0.3

    • Update to v2.0.1 of @actions/http-client #1087

5.0.2

  • Update to v2.0.0 of @actions/http-client

5.0.1

5.0.0

4.0.0

3.0.0

2.2.0

2.1.1

2.1.0

2.0.1

2.0.0

  • Upgrade Octokit version to 4.x to include typescript types #228

1.1.0

  • Accept Octokit.Options in the GitHub constructor #113

1.0.1

  • Simplify WebPack configs by removing dynamic require - #101

1.0.0

  • Initial release