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
19 changes: 0 additions & 19 deletions .changeset/lively-otters-wander.md

This file was deleted.

20 changes: 20 additions & 0 deletions packages/app-bridge-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# @frontify/app-bridge-app

## 0.3.0

### Minor Changes

- [#1596](https://github.com/Frontify/brand-sdk/pull/1596) [`2d76186`](https://github.com/Frontify/brand-sdk/commit/2d76186b3a2e8376ed8c737f11cdbc410d4f0b0b) Thanks [@SedukhinaPolina](https://github.com/SedukhinaPolina)! - feat(api): add `executeGraphQlWithFullResponse` and deprecate `executeGraphQl`

`executeGraphQl` resolves only the `data` field of the GraphQL response, so the top-level `errors` array is not accessible to the app. The new `executeGraphQlWithFullResponse` method resolves the full response envelope, including `errors`. `executeGraphQl` is now deprecated.

```ts
const response = await appBridge.api({
name: 'executeGraphQlWithFullResponse',
payload: {
query: `query CurrentUser { currentUser { id email } }`,
},
});

// response now includes both `data` and any top-level `errors`
const { data, errors } = response;
```

## 0.2.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/app-bridge-app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@frontify/app-bridge-app",
"type": "module",
"version": "0.2.5",
"version": "0.3.0",
"description": "Package to establish communication between Frontify and apps",
"author": "Frontify Developers <developers@frontify.com>",
"repository": {
Expand Down
Loading