Skip to content

Tags: permitio/permit-cli

Tags

v0.3.0

Toggle v0.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
PER-16377: retire the eu region in the CLI (#149)

* PER-16377: retire the eu region in the CLI

Permit's EU region was torn down on 2026-09-28; every EU host is gone.
Drop eu as a selectable region and remove its URL mappings. A saved or
passed eu (PERMIT_REGION, the keychain value, or --region eu) now fails
with a clear error before any request, instead of falling back to US
and sending the old EU credentials there. US URLs are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* PER-16377: save the us region on every successful login

A user with eu saved in the keychain who ran `permit login` without
--region got a successful login, but the keychain kept eu, so the next
command failed again with the retired-region error. Login now saves us
after the token on every successful login, which replaces the stale
value. A keychain failure while saving it is shown as a login error
instead of an unhandled rejection.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* PER-16377: test the PERMIT_REGION=eu startup rejection

Cover the cli.tsx fail-fast path: with PERMIT_REGION=eu the CLI prints
the retirement message and exits 1 before any command runs.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Zeev Manilovich <zeevmanilovich@gmail.com>

0.2.9

Toggle 0.2.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add createColumnResources option to Trino configuration and update re…

…lated components (#139)

* Add createColumnResources option to Trino configuration and update related components

- Introduced `createColumnResources` boolean option in Trino options, defaulting to false.
- Updated `mapTrinoSchemaToPermitResources` to conditionally create column resources based on the new option.
- Modified `TrinoComponent` to pass `createColumnResources` prop.
- Enhanced `PDPRunComponent` to accept a `tag` prop for specifying the PDP image tag.
- Adjusted Docker command in `PDPRunComponent` to use the provided tag.
- Updated Trino resource naming for better clarity in the mapping function.
- Reduced healthcheck interval in Docker Compose for faster feedback during tests.

* Fix lint

* Refactor Trino resource mapping tests for improved clarity and consistency

- Updated resource keys in tests to use underscores instead of hyphens for consistency.
- Enhanced test assertions to include resource type prefixes (e.g., 'Catalog:', 'Schema:', 'Table:') for better readability.
- Added `createColumnResources` option in the `mapTrinoSchemaToPermitResources` function call to align with recent changes.

* Fix lint

v0.2.9

Toggle v0.2.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix the publisher CI (#140)

0.2.8

Toggle 0.2.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
New version

0.2.7

Toggle 0.2.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #131 from permitio/blog-system-template

Blogging TF Example

0.2.5

Toggle 0.2.5's commit message
version 0.2.5

0.2.4

Toggle 0.2.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #105 from daveads/feat/openapi-policy-apply

 Add OpenAPI spec support for policy schema creation

0.2.3

Toggle 0.2.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update package.json

0.2.2

Toggle 0.2.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
v0.2.2

0.2.1

Toggle 0.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update package.json