Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"fix-mockfile-open-download-stream",
"fix-multi-config-cwd",
"fix-next5-codemod-boundaries",
"fix-optional-attributes-permission-keys",
"fix-rename-bin-source-files",
"fix-ts-hook-dotted-basename",
"fix-ts-hook-paths-without-baseurl",
Expand Down
2 changes: 2 additions & 0 deletions packages/create-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @tailor-platform/create-sdk

## 2.0.0-next.8

## 2.0.0-next.7

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/create-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tailor-platform/create-sdk",
"version": "2.0.0-next.7",
"version": "2.0.0-next.8",
"description": "A CLI tool to quickly create a new Tailor Platform SDK project",
"license": "MIT",
"repository": {
Expand Down
6 changes: 6 additions & 0 deletions packages/sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @tailor-platform/sdk

## 2.0.0-next.8

### Patch Changes

- [#1808](https://github.com/tailor-platform/sdk/pull/1808) [`61ac76c`](https://github.com/tailor-platform/sdk/commit/61ac76cff992ef30e6115ba96c7d3a676010204f) Thanks [@toiroakr](https://github.com/toiroakr)! - Fix IdP and TailorDB permission condition types breaking when `Attributes` fields are optional. Since machine user attribute keys started mirroring the source field's optionality, the `user` operand key helpers leaked `undefined` into their key unions — failing typecheck against the generated permission types even for `_loggedIn`-only conditions — and rejected attribute keys derived from optional fields. Optional attribute fields are now valid operand keys and `undefined` no longer appears in the unions.

## 2.0.0-next.7

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tailor-platform/sdk",
"version": "2.0.0-next.7",
"version": "2.0.0-next.8",
"description": "Tailor Platform SDK - The SDK to work with Tailor Platform",
"license": "MIT",
"repository": {
Expand Down
Loading