@tinacms/app 2.2.4 → 2.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -4
- package/package.json +3 -3
- package/src/Playground.tsx +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
# @tinacms/app
|
|
2
2
|
|
|
3
|
-
## 2.2.
|
|
3
|
+
## 2.2.5
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
|
|
7
|
+
- [#5602](https://github.com/tinacms/tinacms/pull/5602) [`ab43169`](https://github.com/tinacms/tinacms/commit/ab43169af5a95f31fa27bb0236623a031883a1fd) Thanks [@wicksipedia](https://github.com/wicksipedia)! - fix naming of TinaCloud
|
|
8
|
+
|
|
9
|
+
- [#5588](https://github.com/tinacms/tinacms/pull/5588) [`fd664d8`](https://github.com/tinacms/tinacms/commit/fd664d8f4e83941ed1b1f234668ab6341a6178f8) Thanks [@JackDevAU](https://github.com/JackDevAU)! - - Fix server-side branch queries by storing the active branch in a cookie and passing it via the x-branch header.
|
|
10
|
+
- Ensure GraphQL playground correctly updates when switching branches.
|
|
11
|
+
- Updated dependencies [[`921f235`](https://github.com/tinacms/tinacms/commit/921f2356e4615d532d02eefa7103fdb70f83b97a), [`ab43169`](https://github.com/tinacms/tinacms/commit/ab43169af5a95f31fa27bb0236623a031883a1fd), [`b551232`](https://github.com/tinacms/tinacms/commit/b5512326ad0ad9855bc75e2073a3ab2a8ec4c064), [`ea204c9`](https://github.com/tinacms/tinacms/commit/ea204c9045451f3ebea04f503e6158d2016613e4), [`fd664d8`](https://github.com/tinacms/tinacms/commit/fd664d8f4e83941ed1b1f234668ab6341a6178f8)]:
|
|
12
|
+
- tinacms@2.7.5
|
|
13
|
+
- @tinacms/mdx@1.6.2
|
|
9
14
|
|
|
10
15
|
## 2.2.3
|
|
11
16
|
|
|
@@ -468,7 +473,7 @@
|
|
|
468
473
|
|
|
469
474
|
fix: Use clean page-sizes on media manager (to make pagination more obvious)
|
|
470
475
|
|
|
471
|
-
Fix issue with uploading media in a folder with
|
|
476
|
+
Fix issue with uploading media in a folder with TinaCloud
|
|
472
477
|
|
|
473
478
|
- Updated dependencies [9c27087fb]
|
|
474
479
|
- Updated dependencies [65d0a701f]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/app",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.5",
|
|
4
4
|
"main": "src/main.tsx",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"devDependencies": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"react-router-dom": "6.3.0",
|
|
23
23
|
"typescript": "^5.7.3",
|
|
24
24
|
"zod": "^3.24.2",
|
|
25
|
-
"@tinacms/mdx": "1.6.
|
|
26
|
-
"tinacms": "2.7.
|
|
25
|
+
"@tinacms/mdx": "1.6.2",
|
|
26
|
+
"tinacms": "2.7.5"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/src/Playground.tsx
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createGraphiQLFetcher } from '@graphiql/toolkit';
|
|
2
|
+
import { FolderIcon } from '@heroicons/react/outline';
|
|
3
|
+
import { queries } from 'CLIENT_IMPORT';
|
|
2
4
|
import { GraphiQL } from 'graphiql';
|
|
3
5
|
import { parse, print } from 'graphql';
|
|
4
6
|
import React from 'react';
|
|
5
7
|
import { useCMS } from 'tinacms';
|
|
6
|
-
import { FolderIcon } from '@heroicons/react/outline';
|
|
7
|
-
import { queries } from 'CLIENT_IMPORT';
|
|
8
8
|
|
|
9
9
|
import 'graphiql/graphiql.min.css';
|
|
10
10
|
|
|
@@ -134,7 +134,7 @@ const Playground = () => {
|
|
|
134
134
|
<GraphiQL
|
|
135
135
|
fetcher={async (params, options) => {
|
|
136
136
|
const fetcher = createGraphiQLFetcher({
|
|
137
|
-
url: __API_URL__,
|
|
137
|
+
url: cms.api.tina.contentApiUrl || __API_URL__,
|
|
138
138
|
headers: { Authorization: `Bearer ${getToken()}` },
|
|
139
139
|
});
|
|
140
140
|
return fetcher(params, options);
|