Skip to content

Conversation

@owlstronaut
Copy link
Contributor

@owlstronaut owlstronaut commented Oct 28, 2025

This pull request introduces support for creating granular access tokens (GATs) via the npm API, along with a corresponding test to ensure correct functionality. The main changes include adding a new method for GAT creation, exporting it for external use, and verifying its behavior with a unit test.

@owlstronaut owlstronaut changed the title feat!: support for creating granular access tokens BREAKING CHANGE: The createToken function has been updated to support granular access tokens. The previous method of creating classic tokens is deprecated. Please use the new createToken function with appropriate parameters for granular tokens. feat!: support for creating granular access tokens Oct 28, 2025
@owlstronaut owlstronaut force-pushed the owlstronaut/gat-create-support branch from 23699f4 to 5ac7dab Compare October 28, 2025 19:26
@wraithgar
Copy link
Member

Let's make this a net new method instead of clobbering the old one. We can just stop calling the old one and remove it later.

This adds a `createGatToken` method. The previous method of creating classic tokens is deprecated. Please use the new createToken function with appropriate parameters for granular tokens.
@owlstronaut owlstronaut force-pushed the owlstronaut/gat-create-support branch from 5ac7dab to 83dbbbc Compare October 29, 2025 16:28
@owlstronaut owlstronaut changed the title feat!: support for creating granular access tokens feat: support for creating granular access tokens Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants