houdini 0.17.9 → 0.17.11
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/README.md +33 -0
- package/build/cmd-cjs/index.js +2 -2
- package/build/cmd-esm/index.js +2 -2
- package/package.json +16 -1
- package/.turbo/turbo-compile.log +0 -5
- package/.turbo/turbo-typedefs.log +0 -5
- package/CHANGELOG.md +0 -377
- package/src/cmd/generate.ts +0 -54
- package/src/cmd/index.ts +0 -60
- package/src/cmd/init.ts +0 -637
- package/src/cmd/pullSchema.ts +0 -40
- package/src/codegen/generators/artifacts/artifacts.test.ts +0 -3246
- package/src/codegen/generators/artifacts/fieldKey.ts +0 -60
- package/src/codegen/generators/artifacts/index.ts +0 -330
- package/src/codegen/generators/artifacts/indexFile.ts +0 -24
- package/src/codegen/generators/artifacts/inputs.ts +0 -81
- package/src/codegen/generators/artifacts/operations.ts +0 -281
- package/src/codegen/generators/artifacts/pagination.test.ts +0 -664
- package/src/codegen/generators/artifacts/policy.test.ts +0 -298
- package/src/codegen/generators/artifacts/selection.ts +0 -208
- package/src/codegen/generators/artifacts/utils.test.ts +0 -118
- package/src/codegen/generators/artifacts/utils.ts +0 -108
- package/src/codegen/generators/definitions/enums.test.ts +0 -61
- package/src/codegen/generators/definitions/enums.ts +0 -68
- package/src/codegen/generators/definitions/index.ts +0 -11
- package/src/codegen/generators/definitions/schema.test.ts +0 -236
- package/src/codegen/generators/index.ts +0 -6
- package/src/codegen/generators/indexFile/index.ts +0 -63
- package/src/codegen/generators/indexFile/indexFile.test.ts +0 -72
- package/src/codegen/generators/persistedQueries/index.ts +0 -55
- package/src/codegen/generators/persistedQueries/persistedQuery.test.ts +0 -26
- package/src/codegen/generators/runtime/index.test.ts +0 -74
- package/src/codegen/generators/runtime/index.ts +0 -64
- package/src/codegen/generators/runtime/runtime.test.ts +0 -25
- package/src/codegen/generators/typescript/addReferencedInputTypes.ts +0 -77
- package/src/codegen/generators/typescript/index.ts +0 -412
- package/src/codegen/generators/typescript/inlineType.ts +0 -409
- package/src/codegen/generators/typescript/typeReference.ts +0 -44
- package/src/codegen/generators/typescript/types.ts +0 -81
- package/src/codegen/generators/typescript/typescript.test.ts +0 -1434
- package/src/codegen/index.ts +0 -406
- package/src/codegen/transforms/addID.test.ts +0 -93
- package/src/codegen/transforms/addID.ts +0 -86
- package/src/codegen/transforms/composeQueries.test.ts +0 -50
- package/src/codegen/transforms/composeQueries.ts +0 -154
- package/src/codegen/transforms/fragmentVariables.test.ts +0 -636
- package/src/codegen/transforms/fragmentVariables.ts +0 -417
- package/src/codegen/transforms/index.ts +0 -7
- package/src/codegen/transforms/list.ts +0 -484
- package/src/codegen/transforms/lists.test.ts +0 -530
- package/src/codegen/transforms/paginate.test.ts +0 -1528
- package/src/codegen/transforms/paginate.ts +0 -770
- package/src/codegen/transforms/schema.test.ts +0 -136
- package/src/codegen/transforms/schema.ts +0 -109
- package/src/codegen/transforms/typename.test.ts +0 -125
- package/src/codegen/transforms/typename.ts +0 -55
- package/src/codegen/utils/commonjs.ts +0 -26
- package/src/codegen/utils/flattenSelections.ts +0 -179
- package/src/codegen/utils/graphql.test.ts +0 -35
- package/src/codegen/utils/graphql.ts +0 -79
- package/src/codegen/utils/index.ts +0 -5
- package/src/codegen/utils/moduleExport.ts +0 -27
- package/src/codegen/utils/murmur.ts +0 -79
- package/src/codegen/validators/index.ts +0 -4
- package/src/codegen/validators/noIDAlias.test.ts +0 -71
- package/src/codegen/validators/noIDAlias.ts +0 -39
- package/src/codegen/validators/plugins.ts +0 -25
- package/src/codegen/validators/typeCheck.test.ts +0 -960
- package/src/codegen/validators/typeCheck.ts +0 -1086
- package/src/codegen/validators/uniqueNames.test.ts +0 -59
- package/src/codegen/validators/uniqueNames.ts +0 -39
- package/src/lib/cleanupFiles.ts +0 -20
- package/src/lib/config.test.ts +0 -13
- package/src/lib/config.ts +0 -954
- package/src/lib/constants.ts +0 -11
- package/src/lib/error.ts +0 -24
- package/src/lib/fs.ts +0 -285
- package/src/lib/graphql.test.ts +0 -211
- package/src/lib/graphql.ts +0 -200
- package/src/lib/imports.ts +0 -82
- package/src/lib/index.ts +0 -17
- package/src/lib/introspection.ts +0 -39
- package/src/lib/parse.test.ts +0 -75
- package/src/lib/parse.ts +0 -23
- package/src/lib/path.ts +0 -49
- package/src/lib/pipeline.ts +0 -17
- package/src/lib/types.ts +0 -34
- package/src/lib/walk.ts +0 -104
- package/src/runtime/cache/cache.ts +0 -1026
- package/src/runtime/cache/gc.ts +0 -56
- package/src/runtime/cache/index.ts +0 -3
- package/src/runtime/cache/lists.ts +0 -516
- package/src/runtime/cache/storage.ts +0 -574
- package/src/runtime/cache/stuff.ts +0 -77
- package/src/runtime/cache/subscription.ts +0 -329
- package/src/runtime/cache/tests/availability.test.ts +0 -408
- package/src/runtime/cache/tests/gc.test.ts +0 -319
- package/src/runtime/cache/tests/keys.test.ts +0 -36
- package/src/runtime/cache/tests/list.test.ts +0 -3854
- package/src/runtime/cache/tests/readwrite.test.ts +0 -1201
- package/src/runtime/cache/tests/scalars.test.ts +0 -218
- package/src/runtime/cache/tests/storage.test.ts +0 -426
- package/src/runtime/cache/tests/subscriptions.test.ts +0 -1757
- package/src/runtime/index.ts +0 -29
- package/src/runtime/lib/config.ts +0 -211
- package/src/runtime/lib/constants.ts +0 -17
- package/src/runtime/lib/deepEquals.ts +0 -32
- package/src/runtime/lib/errors.ts +0 -8
- package/src/runtime/lib/index.ts +0 -8
- package/src/runtime/lib/log.ts +0 -69
- package/src/runtime/lib/network.ts +0 -303
- package/src/runtime/lib/networkUtils.ts +0 -151
- package/src/runtime/lib/scalars.test.ts +0 -877
- package/src/runtime/lib/scalars.ts +0 -195
- package/src/runtime/lib/types.ts +0 -195
- package/src/test/index.ts +0 -294
- package/src/vite/ast.ts +0 -107
- package/src/vite/houdini.ts +0 -113
- package/src/vite/imports.ts +0 -129
- package/src/vite/index.ts +0 -55
- package/src/vite/schema.ts +0 -80
package/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img alt="houdini" height="200" src="https://raw.githubusercontent.com/HoudiniGraphql/houdini/main/.github/assets/houdini-v5.png" />
|
|
3
|
+
<br />
|
|
4
|
+
<br />
|
|
5
|
+
<strong>
|
|
6
|
+
The disappearing GraphQL clients.
|
|
7
|
+
</strong>
|
|
8
|
+
<br />
|
|
9
|
+
<br />
|
|
10
|
+
<a href="https://npmjs.org/package/houdini">
|
|
11
|
+
<img src="https://img.shields.io/npm/v/houdini.svg" alt="version" />
|
|
12
|
+
</a>
|
|
13
|
+
<a href="https://github.com/HoudiniGraphql/houdini/actions">
|
|
14
|
+
<img src="https://github.com/HoudiniGraphql/houdini/actions/workflows/tests.yml/badge.svg" alt="CI Tests" />
|
|
15
|
+
</a>
|
|
16
|
+
<a href="https://github.com/HoudiniGraphql/houdini">
|
|
17
|
+
<img src="https://img.shields.io/github/stars/HoudiniGraphql/houdini.svg?label=stars" alt="github stars" />
|
|
18
|
+
</a>
|
|
19
|
+
<a href="https://npmjs.org/package/houdini">
|
|
20
|
+
<img src="https://img.shields.io/npm/dm/houdini.svg" alt="downloads" />
|
|
21
|
+
</a>
|
|
22
|
+
<a href="https://github.com/HoudiniGraphql/houdini/blob/main/LICENSE">
|
|
23
|
+
<img src="https://img.shields.io/github/license/HoudiniGraphql/houdini.svg?maxAge=2592000" alt="license" />
|
|
24
|
+
</a>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
----
|
|
28
|
+
|
|
29
|
+
At its core, houdini seeks to enable a high quality developer experience
|
|
30
|
+
without compromising bundle size. Like Svelte, houdini shifts what is
|
|
31
|
+
traditionally handled by a bloated runtime into a compile step that allows
|
|
32
|
+
for the generation of an incredibly lean GraphQL abstraction for your application.
|
|
33
|
+
See more at <a href="https://www.houdinigraphql.com">HoudiniGraphQL.com</a> 🚀
|
package/build/cmd-cjs/index.js
CHANGED
|
@@ -76535,8 +76535,8 @@ async function updatePackageJSON(targetPath) {
|
|
|
76535
76535
|
}
|
|
76536
76536
|
packageJSON.devDependencies = {
|
|
76537
76537
|
...packageJSON.devDependencies,
|
|
76538
|
-
houdini: "^0.17.
|
|
76539
|
-
"houdini-svelte": "^0.17.
|
|
76538
|
+
houdini: "^0.17.11",
|
|
76539
|
+
"houdini-svelte": "^0.17.11",
|
|
76540
76540
|
graphql: "^15.8.0"
|
|
76541
76541
|
};
|
|
76542
76542
|
await fs_exports.writeFile(packagePath, JSON.stringify(packageJSON, null, 4));
|
package/build/cmd-esm/index.js
CHANGED
|
@@ -76540,8 +76540,8 @@ async function updatePackageJSON(targetPath) {
|
|
|
76540
76540
|
}
|
|
76541
76541
|
packageJSON.devDependencies = {
|
|
76542
76542
|
...packageJSON.devDependencies,
|
|
76543
|
-
houdini: "^0.17.
|
|
76544
|
-
"houdini-svelte": "^0.17.
|
|
76543
|
+
houdini: "^0.17.11",
|
|
76544
|
+
"houdini-svelte": "^0.17.11",
|
|
76545
76545
|
graphql: "^15.8.0"
|
|
76546
76546
|
};
|
|
76547
76547
|
await fs_exports.writeFile(packagePath, JSON.stringify(packageJSON, null, 4));
|
package/package.json
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "houdini",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.11",
|
|
4
4
|
"description": "The disappearing GraphQL clients",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"typescript",
|
|
7
|
+
"graphql",
|
|
8
|
+
"graphql-client"
|
|
9
|
+
],
|
|
10
|
+
"homepage": "https://github.com/HoudiniGraphql/houdini",
|
|
11
|
+
"funding": "https://github.com/sponsors/HoudiniGraphql",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/HoudiniGraphql/houdini.git"
|
|
15
|
+
},
|
|
16
|
+
"license": "MIT",
|
|
5
17
|
"type": "module",
|
|
6
18
|
"devDependencies": {
|
|
7
19
|
"@trivago/prettier-plugin-sort-imports": "^3.3.0",
|
|
@@ -38,6 +50,9 @@
|
|
|
38
50
|
"recast": "^0.21.5",
|
|
39
51
|
"vite-plugin-watch-and-run": "^1.0.3"
|
|
40
52
|
},
|
|
53
|
+
"files": [
|
|
54
|
+
"build"
|
|
55
|
+
],
|
|
41
56
|
"exports": {
|
|
42
57
|
"./package.json": "./package.json",
|
|
43
58
|
"./codegen": {
|
package/.turbo/turbo-compile.log
DELETED
package/CHANGELOG.md
DELETED
|
@@ -1,377 +0,0 @@
|
|
|
1
|
-
# houdini
|
|
2
|
-
|
|
3
|
-
## 0.17.9
|
|
4
|
-
|
|
5
|
-
### 🐛 Fixes
|
|
6
|
-
|
|
7
|
-
- [#693](https://github.com/HoudiniGraphql/houdini/pull/693) [`6e36775`](https://github.com/HoudiniGraphql/houdini/commit/6e367755d902eca3242519b4c609c0d5bc76f4ff) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Fix bug causing `@parentID` to be ignored when there was only one version of the list
|
|
8
|
-
|
|
9
|
-
### ✨ Features
|
|
10
|
-
|
|
11
|
-
- [#693](https://github.com/HoudiniGraphql/houdini/pull/693) [`6e36775`](https://github.com/HoudiniGraphql/houdini/commit/6e367755d902eca3242519b4c609c0d5bc76f4ff) Thanks [@jycouet](https://github.com/jycouet)! - Adding a new directive @allLists to update all lists after a mutation
|
|
12
|
-
|
|
13
|
-
## 0.17.6
|
|
14
|
-
|
|
15
|
-
### 🐛 Fixes
|
|
16
|
-
|
|
17
|
-
- [#682](https://github.com/HoudiniGraphql/houdini/pull/682) [`57577ee`](https://github.com/HoudiniGraphql/houdini/commit/57577ee9144d17a5b357bf47abaecdf96a6176f8) Thanks [@Joklost](https://github.com/Joklost)! - Fix bug when updating deeply nested lists with @parentID
|
|
18
|
-
|
|
19
|
-
- [#677](https://github.com/HoudiniGraphql/houdini/pull/677) [`927146d`](https://github.com/HoudiniGraphql/houdini/commit/927146dd02c239a9e29e5de92271d4c4de16d7e2) Thanks [@jycouet](https://github.com/jycouet)! - fix - env.TEST is not used internally anymore
|
|
20
|
-
|
|
21
|
-
### ✨ Features
|
|
22
|
-
|
|
23
|
-
- [#687](https://github.com/HoudiniGraphql/houdini/pull/687) [`dc659ef`](https://github.com/HoudiniGraphql/houdini/commit/dc659efe1bc04a6ff98166b4803a50b8761771bb) Thanks [@jycouet](https://github.com/jycouet)! - update init cmd to manage remote endpoint and local files
|
|
24
|
-
|
|
25
|
-
## 0.17.5
|
|
26
|
-
|
|
27
|
-
### ✨ Features
|
|
28
|
-
|
|
29
|
-
- [#660](https://github.com/HoudiniGraphql/houdini/pull/660) [`08b3d10`](https://github.com/HoudiniGraphql/houdini/commit/08b3d10c5305c43d457b11f288509e90459c2d0c) Thanks [@524c](https://github.com/524c)! - Add support for multipart file uploads
|
|
30
|
-
|
|
31
|
-
## 0.17.4
|
|
32
|
-
|
|
33
|
-
### 🐛 Fixes
|
|
34
|
-
|
|
35
|
-
- [#649](https://github.com/HoudiniGraphql/houdini/pull/649) [`13e6ea8`](https://github.com/HoudiniGraphql/houdini/commit/13e6ea87c23d1a3f99ce1a0c1054ebcec30ce83f) Thanks [@jycouet](https://github.com/jycouet)! - Update init cmd to accomodate new kit template
|
|
36
|
-
|
|
37
|
-
## 0.17.1
|
|
38
|
-
|
|
39
|
-
### 🐛 Fixes
|
|
40
|
-
|
|
41
|
-
- [#630](https://github.com/HoudiniGraphql/houdini/pull/630) [`02d8fc4`](https://github.com/HoudiniGraphql/houdini/commit/02d8fc47f71980bd2b6492162b8e57808447bdbc) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Add shebang to executable
|
|
42
|
-
|
|
43
|
-
## 0.17.0
|
|
44
|
-
|
|
45
|
-
### ⚠️ Breaking Changes
|
|
46
|
-
|
|
47
|
-
- [#593](https://github.com/HoudiniGraphql/houdini/pull/593) [`c1363fe`](https://github.com/HoudiniGraphql/houdini/commit/c1363fe938ab94281272cad8939b892fd705a803) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Split houdini into two packages: `houdini` and `houdini-svelte`. For more information on migrating your project, please visit the [release notes](https://www.houdinigraphql.com/guides/release-notes).
|
|
48
|
-
|
|
49
|
-
### 🐛 Fixes
|
|
50
|
-
|
|
51
|
-
- [#612](https://github.com/HoudiniGraphql/houdini/pull/612) [`6a0999f`](https://github.com/HoudiniGraphql/houdini/commit/6a0999ff0fd175a190e156c54b37c4a70e402dbc) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Fix windows compatibility
|
|
52
|
-
|
|
53
|
-
## 0.16.8
|
|
54
|
-
|
|
55
|
-
### 🐛 Fixes
|
|
56
|
-
|
|
57
|
-
- [#595](https://github.com/HoudiniGraphql/houdini/pull/595) [`3421404`](https://github.com/HoudiniGraphql/houdini/commit/3421404e58697bc8e066d3f0b2d9c74c77c0318a) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Don't consider the schema path as an source for generation
|
|
58
|
-
|
|
59
|
-
- [#594](https://github.com/HoudiniGraphql/houdini/pull/594) [`4ee9db3`](https://github.com/HoudiniGraphql/houdini/commit/4ee9db312c8ef9db3244bcd2f10f877d596e6f8d) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Fixed bug preventing documents from being discovered on windows
|
|
60
|
-
|
|
61
|
-
## 0.16.7
|
|
62
|
-
|
|
63
|
-
### 🐛 Fixes
|
|
64
|
-
|
|
65
|
-
- [#585](https://github.com/HoudiniGraphql/houdini/pull/585) [`29a8fcd`](https://github.com/HoudiniGraphql/houdini/commit/29a8fcd31da3d80d8fa4386010591ba051c0f6e9) Thanks [@jycouet](https://github.com/jycouet)! - fix - windows paths correctly import things now
|
|
66
|
-
|
|
67
|
-
### ✨ Features
|
|
68
|
-
|
|
69
|
-
- [#584](https://github.com/HoudiniGraphql/houdini/pull/584) [`2b19fe5`](https://github.com/HoudiniGraphql/houdini/commit/2b19fe578bca749ca975787709cfcc8325dec68a) Thanks [@sjcobb2022](https://github.com/sjcobb2022)! - Added further config to vite plugin
|
|
70
|
-
|
|
71
|
-
- [#559](https://github.com/HoudiniGraphql/houdini/pull/559) [`fd570de`](https://github.com/HoudiniGraphql/houdini/commit/fd570debffde942220bed024676574af8d4d5372) Thanks [@DanielHritcu](https://github.com/DanielHritcu)! - Config.include and exclude can now be arrays
|
|
72
|
-
|
|
73
|
-
## 0.16.6
|
|
74
|
-
|
|
75
|
-
### 🐛 Fixes
|
|
76
|
-
|
|
77
|
-
- [#572](https://github.com/HoudiniGraphql/houdini/pull/572) [`7d1f8b0`](https://github.com/HoudiniGraphql/houdini/commit/7d1f8b0a96d7352bcebbbf3ece242dad2c402f36) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Fix error causing subscriptions to be removed
|
|
78
|
-
|
|
79
|
-
- [#572](https://github.com/HoudiniGraphql/houdini/pull/572) [`7d1f8b0`](https://github.com/HoudiniGraphql/houdini/commit/7d1f8b0a96d7352bcebbbf3ece242dad2c402f36) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - fix bug when importing store classes
|
|
80
|
-
|
|
81
|
-
### ✨ Features
|
|
82
|
-
|
|
83
|
-
- [#563](https://github.com/HoudiniGraphql/houdini/pull/563) [`ad0ed5b`](https://github.com/HoudiniGraphql/houdini/commit/ad0ed5bcd476bb990ab08f351eed87bbf0cdd639) Thanks [@DanielHritcu](https://github.com/DanielHritcu)! - Warn user when the config file can't be read
|
|
84
|
-
|
|
85
|
-
* [#569](https://github.com/HoudiniGraphql/houdini/pull/569) [`08f834a`](https://github.com/HoudiniGraphql/houdini/commit/08f834abff4637c023c9d7a208cd0c28976911b3) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Mutation result is never null
|
|
86
|
-
|
|
87
|
-
- [#566](https://github.com/HoudiniGraphql/houdini/pull/566) [`a86ec3b`](https://github.com/HoudiniGraphql/houdini/commit/a86ec3b8ae57faf1f0bffd7e10ea82fdeb3883cb) Thanks [@sjcobb2022](https://github.com/sjcobb2022)! - Extra config passed to plugin is used when pulling schema
|
|
88
|
-
|
|
89
|
-
- [#569](https://github.com/HoudiniGraphql/houdini/pull/569) [`08f834a`](https://github.com/HoudiniGraphql/houdini/commit/08f834abff4637c023c9d7a208cd0c28976911b3) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Subscription.listen arguments are optional
|
|
90
|
-
|
|
91
|
-
## 0.16.5
|
|
92
|
-
|
|
93
|
-
### 🐛 Fixes
|
|
94
|
-
|
|
95
|
-
- [#557](https://github.com/HoudiniGraphql/houdini/pull/557) [`3690f4f`](https://github.com/HoudiniGraphql/houdini/commit/3690f4f081590e129e62b7499f6fa488fc067db1) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Configured pull headers are included in pull-schema command
|
|
96
|
-
|
|
97
|
-
* [#553](https://github.com/HoudiniGraphql/houdini/pull/553) [`7666734`](https://github.com/HoudiniGraphql/houdini/commit/7666734110350fb7886eeeeec95108b61f88ece8) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - fixed bug when loading offset-based pages driven by query variable
|
|
98
|
-
|
|
99
|
-
## 0.16.4
|
|
100
|
-
|
|
101
|
-
### 🐛 Fixes
|
|
102
|
-
|
|
103
|
-
- [#548](https://github.com/HoudiniGraphql/houdini/pull/548) [`cd00b5f`](https://github.com/HoudiniGraphql/houdini/commit/cd00b5f436412ecc3ac2225d2ee8a9201b172da0) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Fix bug when reading store value between load and render
|
|
104
|
-
|
|
105
|
-
## 0.16.3
|
|
106
|
-
|
|
107
|
-
### 🐛 Fixes
|
|
108
|
-
|
|
109
|
-
- [#545](https://github.com/HoudiniGraphql/houdini/pull/545) [`6cc6765`](https://github.com/HoudiniGraphql/houdini/commit/6cc6765771f57a51711725f3bed458a2ab338278) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - fix a bug hiding +layout.server data from client
|
|
110
|
-
|
|
111
|
-
## 0.16.2
|
|
112
|
-
|
|
113
|
-
### ✨ Features
|
|
114
|
-
|
|
115
|
-
- [#534](https://github.com/HoudiniGraphql/houdini/pull/534) [`599fc3c`](https://github.com/HoudiniGraphql/houdini/commit/599fc3c9dc7843c40ab25b4c4763e1b3ed9df6c7) Thanks [@fehnomenal](https://github.com/fehnomenal)! - Add ability to control masking for a specific fragment
|
|
116
|
-
|
|
117
|
-
### 🐛 Fixes
|
|
118
|
-
|
|
119
|
-
- [#540](https://github.com/HoudiniGraphql/houdini/pull/540) [`8addece`](https://github.com/HoudiniGraphql/houdini/commit/8addecef1063dfe7d48f539d1c9f6b72949d7fd2) Thanks [@jycouet](https://github.com/jycouet)! - Warn users when endpoint is not present in dev instead of crashing
|
|
120
|
-
|
|
121
|
-
* [#542](https://github.com/HoudiniGraphql/houdini/pull/542) [`3697e33`](https://github.com/HoudiniGraphql/houdini/commit/3697e33ec644f87f13878b74413b507843d90325) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Fix bug when loading queries in a layout file
|
|
122
|
-
|
|
123
|
-
- [#539](https://github.com/HoudiniGraphql/houdini/pull/539) [`a7d4c2e`](https://github.com/HoudiniGraphql/houdini/commit/a7d4c2e9f650b86f8e19833079c286a64f807d2a) Thanks [@jycouet](https://github.com/jycouet)! - mono repo support
|
|
124
|
-
|
|
125
|
-
- [#537](https://github.com/HoudiniGraphql/houdini/pull/537) [`191c775`](https://github.com/HoudiniGraphql/houdini/commit/191c7750a33b11cdbc8f5e7b9719641d5b0a21c5) Thanks [@jycouet](https://github.com/jycouet)! - init cmd, vite.config.ts generated file
|
|
126
|
-
|
|
127
|
-
## 0.16.1
|
|
128
|
-
|
|
129
|
-
### 🐛 Fixes
|
|
130
|
-
|
|
131
|
-
- [#527](https://github.com/HoudiniGraphql/houdini/pull/527) [`9b87678`](https://github.com/HoudiniGraphql/houdini/commit/9b876789140978c0726ed9a708677c7c75f3e19b) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Update init command to work with latest file template
|
|
132
|
-
|
|
133
|
-
## 0.16.0
|
|
134
|
-
|
|
135
|
-
### ⚠️ Breaking Changes
|
|
136
|
-
|
|
137
|
-
- [#449](https://github.com/HoudiniGraphql/houdini/pull/449) [`59257d1`](https://github.com/HoudiniGraphql/houdini/commit/59257d1dffa6c1d9d250ba0964c6f1f0c35da048) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - remove inline document functions query, paginatedQuery, subscription, and mutation
|
|
138
|
-
|
|
139
|
-
* [#449](https://github.com/HoudiniGraphql/houdini/pull/449) [`59257d1`](https://github.com/HoudiniGraphql/houdini/commit/59257d1dffa6c1d9d250ba0964c6f1f0c35da048) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - renamed `generate --pull-header` to `generate --header` and `generate --persist-output` to `generate --output`
|
|
140
|
-
|
|
141
|
-
- [#449](https://github.com/HoudiniGraphql/houdini/pull/449) [`59257d1`](https://github.com/HoudiniGraphql/houdini/commit/59257d1dffa6c1d9d250ba0964c6f1f0c35da048) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - added support for page queries
|
|
142
|
-
|
|
143
|
-
* [#449](https://github.com/HoudiniGraphql/houdini/pull/449) [`59257d1`](https://github.com/HoudiniGraphql/houdini/commit/59257d1dffa6c1d9d250ba0964c6f1f0c35da048) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - inverted argument order for inline fragments
|
|
144
|
-
|
|
145
|
-
* [#449](https://github.com/HoudiniGraphql/houdini/pull/449) [`59257d1`](https://github.com/HoudiniGraphql/houdini/commit/59257d1dffa6c1d9d250ba0964c6f1f0c35da048) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Stores are now classes and need to be instantiated with `new MyQueryStore()`
|
|
146
|
-
|
|
147
|
-
- [#449](https://github.com/HoudiniGraphql/houdini/pull/449) [`59257d1`](https://github.com/HoudiniGraphql/houdini/commit/59257d1dffa6c1d9d250ba0964c6f1f0c35da048) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - query stores must now be passed to routes as props instead of globally imported
|
|
148
|
-
|
|
149
|
-
* [#449](https://github.com/HoudiniGraphql/houdini/pull/449) [`59257d1`](https://github.com/HoudiniGraphql/houdini/commit/59257d1dffa6c1d9d250ba0964c6f1f0c35da048) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - SvelteKit projects must now use houdini/vite as a vite plugin
|
|
150
|
-
|
|
151
|
-
- [#449](https://github.com/HoudiniGraphql/houdini/pull/449) [`59257d1`](https://github.com/HoudiniGraphql/houdini/commit/59257d1dffa6c1d9d250ba0964c6f1f0c35da048) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - `config.sourceGlob` has been renamed to `config.include` and is now optional. Also added `config.exclude` to filter out files matched by `config.include`
|
|
152
|
-
|
|
153
|
-
### ✨ Features
|
|
154
|
-
|
|
155
|
-
- [#509](https://github.com/HoudiniGraphql/houdini/pull/509) [`4983a76`](https://github.com/HoudiniGraphql/houdini/commit/4983a76c46499acb98b73b3693c3e1f7da905ca9) Thanks [@jycouet](https://github.com/jycouet)! - warn users that inline functions no longer exist
|
|
156
|
-
|
|
157
|
-
* [#449](https://github.com/HoudiniGraphql/houdini/pull/449) [`59257d1`](https://github.com/HoudiniGraphql/houdini/commit/59257d1dffa6c1d9d250ba0964c6f1f0c35da048) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - You can now define the prefix of your global stores with globalStorePrefix param in the config.
|
|
158
|
-
|
|
159
|
-
* [#508](https://github.com/HoudiniGraphql/houdini/pull/508) [`60ecb33`](https://github.com/HoudiniGraphql/houdini/commit/60ecb333a1396f9aa7244eac2f38741a58e7281f) Thanks [@fehnomenal](https://github.com/fehnomenal)! - added support for sessions
|
|
160
|
-
|
|
161
|
-
* [#449](https://github.com/HoudiniGraphql/houdini/pull/449) [`59257d1`](https://github.com/HoudiniGraphql/houdini/commit/59257d1dffa6c1d9d250ba0964c6f1f0c35da048) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - graphql tags return store references
|
|
162
|
-
|
|
163
|
-
* [#449](https://github.com/HoudiniGraphql/houdini/pull/449) [`59257d1`](https://github.com/HoudiniGraphql/houdini/commit/59257d1dffa6c1d9d250ba0964c6f1f0c35da048) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - add generated typedefs for route functions
|
|
164
|
-
|
|
165
|
-
- [#494](https://github.com/HoudiniGraphql/houdini/pull/494) [`5573cfa`](https://github.com/HoudiniGraphql/houdini/commit/5573cfa184d2da322030695044997f5fbf6542bd) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - add onError hook
|
|
166
|
-
|
|
167
|
-
- [#494](https://github.com/HoudiniGraphql/houdini/pull/494) [`5573cfa`](https://github.com/HoudiniGraphql/houdini/commit/5573cfa184d2da322030695044997f5fbf6542bd) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - add `quietQueryError` config value to suppress all query errors
|
|
168
|
-
|
|
169
|
-
### 🐛 Fixes
|
|
170
|
-
|
|
171
|
-
- [#485](https://github.com/HoudiniGraphql/houdini/pull/485) [`c21942c`](https://github.com/HoudiniGraphql/houdini/commit/c21942c4a364dbaca4008dc0ad8263fdc940da84) Thanks [@jycouet](https://github.com/jycouet)! - fix peerDependencies of houdini, graphql needs to be <16
|
|
172
|
-
|
|
173
|
-
- [#523](https://github.com/HoudiniGraphql/houdini/pull/523) [`2c5174c`](https://github.com/HoudiniGraphql/houdini/commit/2c5174c248bf2ae5ee3a8d3a7e910213e859ae2a) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - fix circular import with HoudiniClient
|
|
174
|
-
|
|
175
|
-
- [#490](https://github.com/HoudiniGraphql/houdini/pull/490) [`71caba7`](https://github.com/HoudiniGraphql/houdini/commit/71caba7c6b23e73754934fd604030f3cd1a9b74b) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - fix generated types for optimistic responses
|
|
176
|
-
|
|
177
|
-
- [#487](https://github.com/HoudiniGraphql/houdini/pull/487) [`0544a28`](https://github.com/HoudiniGraphql/houdini/commit/0544a2846125673f2f0e67cb02135554458edfb0) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Fix issues when rendering kit applications with framework set to "svelte"
|
|
178
|
-
|
|
179
|
-
## 0.15.9
|
|
180
|
-
|
|
181
|
-
### Patch Changes
|
|
182
|
-
|
|
183
|
-
- [#443](https://github.com/HoudiniGraphql/houdini/pull/443) [`801d7e8`](https://github.com/HoudiniGraphql/houdini/commit/801d7e87f5199cb5e352001826d8f2d4c454bcc3) Thanks [@jycouet](https://github.com/jycouet)! - warn user when Node interface is not properly defined and throw an error on Node usage (when not properly defined)
|
|
184
|
-
|
|
185
|
-
## 0.15.8
|
|
186
|
-
|
|
187
|
-
### Patch Changes
|
|
188
|
-
|
|
189
|
-
- [#434](https://github.com/HoudiniGraphql/houdini/pull/434) [`ebeb90e`](https://github.com/HoudiniGraphql/houdini/commit/ebeb90e1a9528b1b327bc161d26dc962ba7812bd) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - prevent store information from leaking across requests boundaries
|
|
190
|
-
|
|
191
|
-
* [#434](https://github.com/HoudiniGraphql/houdini/pull/434) [`ebeb90e`](https://github.com/HoudiniGraphql/houdini/commit/ebeb90e1a9528b1b327bc161d26dc962ba7812bd) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - updated type definition for config file to allow for missing marshal/unmarshal functions
|
|
192
|
-
|
|
193
|
-
## 0.15.7
|
|
194
|
-
|
|
195
|
-
### Patch Changes
|
|
196
|
-
|
|
197
|
-
- [#429](https://github.com/HoudiniGraphql/houdini/pull/429) [`d6d5c50`](https://github.com/HoudiniGraphql/houdini/commit/d6d5c50c2f4f0365a5939799fbcab4205fd99317) Thanks [@jycouet](https://github.com/jycouet)! - fix: unsub only when you have no active stores
|
|
198
|
-
|
|
199
|
-
## 0.15.6
|
|
200
|
-
|
|
201
|
-
### Patch Changes
|
|
202
|
-
|
|
203
|
-
- [#426](https://github.com/HoudiniGraphql/houdini/pull/426) [`73b2467`](https://github.com/HoudiniGraphql/houdini/commit/73b2467e20f68b37ed0d3bb47f823361d685d026) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - fixed bug when generating list operation types without masking
|
|
204
|
-
|
|
205
|
-
* [#426](https://github.com/HoudiniGraphql/houdini/pull/426) [`73b2467`](https://github.com/HoudiniGraphql/houdini/commit/73b2467e20f68b37ed0d3bb47f823361d685d026) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - subscription.listen is a no-op on the server
|
|
206
|
-
|
|
207
|
-
- [#423](https://github.com/HoudiniGraphql/houdini/pull/423) [`ff44c42`](https://github.com/HoudiniGraphql/houdini/commit/ff44c42220dbc50ca6e23a7a2e40a93bb32f7a24) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - fix bug when computing variables in component queries
|
|
208
|
-
|
|
209
|
-
* [#419](https://github.com/HoudiniGraphql/houdini/pull/419) [`6363707`](https://github.com/HoudiniGraphql/houdini/commit/6363707d1a9471d9b8b62e8206d2660c316d9d05) Thanks [@jycouet](https://github.com/jycouet)! - feat: in summary a new log is displayed about what item was deleted
|
|
210
|
-
|
|
211
|
-
- [#397](https://github.com/HoudiniGraphql/houdini/pull/397) [`ed764a2`](https://github.com/HoudiniGraphql/houdini/commit/ed764a235c81442babd9c153960d0ef5452f379c) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - update init script to detect tooling automatically
|
|
212
|
-
|
|
213
|
-
* [#394](https://github.com/HoudiniGraphql/houdini/pull/394) [`96468da`](https://github.com/HoudiniGraphql/houdini/commit/96468dab8499085b9332044736b7c1b497d3fa58) Thanks [@david-plugge](https://github.com/david-plugge)! - export preprocessor types
|
|
214
|
-
|
|
215
|
-
- [#392](https://github.com/HoudiniGraphql/houdini/pull/392) [`17e50a9`](https://github.com/HoudiniGraphql/houdini/commit/17e50a925188c499dc865fc2d16bc248713d5c90) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Add variable store to inline query result
|
|
216
|
-
|
|
217
|
-
* [#413](https://github.com/HoudiniGraphql/houdini/pull/413) [`8be5953`](https://github.com/HoudiniGraphql/houdini/commit/8be5953ae4237ef0f84346c595446ba8cd3feaee) Thanks [@jycouet](https://github.com/jycouet)! - improve: checking if you wrote an operation in a module, and warn you if it's the case
|
|
218
|
-
|
|
219
|
-
- [#409](https://github.com/HoudiniGraphql/houdini/pull/409) [`6f99e1f`](https://github.com/HoudiniGraphql/houdini/commit/6f99e1fd826c8476f62644a3991380c805272c7f) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - improved preprocessor performance
|
|
220
|
-
|
|
221
|
-
* [#405](https://github.com/HoudiniGraphql/houdini/pull/405) [`7eb7d39`](https://github.com/HoudiniGraphql/houdini/commit/7eb7d398174c796f6525de47aef08161e8b28ef3) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Add support for query stores in endpoints
|
|
222
|
-
|
|
223
|
-
- [#403](https://github.com/HoudiniGraphql/houdini/pull/403) [`97ea10d`](https://github.com/HoudiniGraphql/houdini/commit/97ea10dc8eeb81eff437fd51d4d1eceece7376a9) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - fix error when prerendering queries
|
|
224
|
-
|
|
225
|
-
* [#416](https://github.com/HoudiniGraphql/houdini/pull/416) [`3f56c0d`](https://github.com/HoudiniGraphql/houdini/commit/3f56c0d6bf69690b617ce8d56c607acc5b6448b7) Thanks [@jycouet](https://github.com/jycouet)! - avoid clearing store state when there are all multiple subscribers
|
|
226
|
-
|
|
227
|
-
- [#419](https://github.com/HoudiniGraphql/houdini/pull/419) [`6363707`](https://github.com/HoudiniGraphql/houdini/commit/6363707d1a9471d9b8b62e8206d2660c316d9d05) Thanks [@jycouet](https://github.com/jycouet)! - improve: generate will write files only if it has changed
|
|
228
|
-
|
|
229
|
-
## 0.15.5
|
|
230
|
-
|
|
231
|
-
### Patch Changes
|
|
232
|
-
|
|
233
|
-
- [#377](https://github.com/HoudiniGraphql/houdini/pull/377) [`9836c94`](https://github.com/HoudiniGraphql/houdini/commit/9836c94f36a0cba387a86ef31075cf318a5df557) Thanks [@jycouet](https://github.com/jycouet)! - avoid manipulating scalars with null values
|
|
234
|
-
|
|
235
|
-
* [#384](https://github.com/HoudiniGraphql/houdini/pull/384) [`0c567cd`](https://github.com/HoudiniGraphql/houdini/commit/0c567cd3c4c9eb44f63e54712582e15837472773) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - fix bug with incorrect page info type
|
|
236
|
-
|
|
237
|
-
## 0.15.4
|
|
238
|
-
|
|
239
|
-
### Patch Changes
|
|
240
|
-
|
|
241
|
-
- [#378](https://github.com/HoudiniGraphql/houdini/pull/378) [`6e71762`](https://github.com/HoudiniGraphql/houdini/commit/6e717629e0059cead070a92db9a6b81c91a163d2) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - always treat layout files as routes
|
|
242
|
-
|
|
243
|
-
## 0.15.3
|
|
244
|
-
|
|
245
|
-
### Patch Changes
|
|
246
|
-
|
|
247
|
-
- [#375](https://github.com/HoudiniGraphql/houdini/pull/375) [`918ff87`](https://github.com/HoudiniGraphql/houdini/commit/918ff87b9a7f5ff1068327c36088df1c89df6341) Thanks [@jycouet](https://github.com/jycouet)! - fix issue with embedded page info in paginated query stores
|
|
248
|
-
|
|
249
|
-
## 0.15.2
|
|
250
|
-
|
|
251
|
-
### Patch Changes
|
|
252
|
-
|
|
253
|
-
- [#370](https://github.com/HoudiniGraphql/houdini/pull/370) [`1ce03ec`](https://github.com/HoudiniGraphql/houdini/commit/1ce03ece112bf2688dcc066bdd844fa8b431fe4a) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - fixed bug when generating type definitions for interfaces mixed on interfaces
|
|
254
|
-
|
|
255
|
-
## 0.15.1
|
|
256
|
-
|
|
257
|
-
### Patch Changes
|
|
258
|
-
|
|
259
|
-
- [#366](https://github.com/HoudiniGraphql/houdini/pull/366) [`5a1e7e0`](https://github.com/HoudiniGraphql/houdini/commit/5a1e7e07e0e2cf8734dae3af1a95b93600328734) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - improved logic for distinguishing routes from components in a SvelteKit project
|
|
260
|
-
|
|
261
|
-
* [#367](https://github.com/HoudiniGraphql/houdini/pull/367) [`66d0bcf`](https://github.com/HoudiniGraphql/houdini/commit/66d0bcfb1d0f70dae966540a8858aed285c15e0e) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Add a `configFile` parameter to the preprocessor so users can specify where to find their `houdini.config.js` file
|
|
262
|
-
|
|
263
|
-
- [#364](https://github.com/HoudiniGraphql/houdini/pull/364) [`b323f54`](https://github.com/HoudiniGraphql/houdini/commit/b323f5411db92f669edef64eed0df59bb0233ae8) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Add enum definitions to generated runtime
|
|
264
|
-
|
|
265
|
-
## 0.15.0
|
|
266
|
-
|
|
267
|
-
Version 0.15.0 is the biggest release yet! Thanks for everyone who helped test/contribute :tada: 🥰 The biggest update here is that documents now have a brand new store-based API. For more information on what's changed and how to update your project, check out this link: https://www.houdinigraphql.com/guides/migrating-to-0.15.0
|
|
268
|
-
|
|
269
|
-
### Breaking Changes
|
|
270
|
-
|
|
271
|
-
- [#344](https://github.com/HoudiniGraphql/houdini/pull/344) [`ca0709d`](https://github.com/HoudiniGraphql/houdini/commit/ca0709dfb7d66e77556f3d8334a428f1ac148aef) Thanks [@AlecAivazis][@jycouet](https://github.com/jycouet)! - definitionsPath refers now to a folder path that will contain schema and documents
|
|
272
|
-
|
|
273
|
-
* [#315](https://github.com/HoudiniGraphql/houdini/pull/315) [`4cf4b7f`](https://github.com/HoudiniGraphql/houdini/commit/4cf4b7f93d893ede734c7a067f03b14499cc9773) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - parentID directive and arguments are now relative to object containing the decorated field
|
|
274
|
-
|
|
275
|
-
- [#344](https://github.com/HoudiniGraphql/houdini/pull/344) [`ca0709d`](https://github.com/HoudiniGraphql/houdini/commit/ca0709dfb7d66e77556f3d8334a428f1ac148aef) Thanks [@jycouet](https://github.com/jycouet)! - Default framework is now kit, default module type is esm
|
|
276
|
-
|
|
277
|
-
* [#291](https://github.com/HoudiniGraphql/houdini/pull/291) [`17cd57e`](https://github.com/HoudiniGraphql/houdini/commit/17cd57eac72596823d2a4dddec85b6ac1a1d09dd) Thanks [@jycouet](https://github.com/jycouet) and [@AlecAivazis](https://github.com/AlecAivazis)! - Added store-based APIs :tada:
|
|
278
|
-
|
|
279
|
-
### Fixes/Updates
|
|
280
|
-
|
|
281
|
-
- [#344](https://github.com/HoudiniGraphql/houdini/pull/344) [`ca0709d`](https://github.com/HoudiniGraphql/houdini/commit/ca0709dfb7d66e77556f3d8334a428f1ac148aef) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Missing scalars generate as any and produce a console warning instead of an error
|
|
282
|
-
|
|
283
|
-
- [#331](https://github.com/HoudiniGraphql/houdini/pull/331) [`41cd95a`](https://github.com/HoudiniGraphql/houdini/commit/41cd95a577e418b6937039da963f82c95bd79854) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Fixed return type of inline mutation
|
|
284
|
-
|
|
285
|
-
* [#344](https://github.com/HoudiniGraphql/houdini/pull/344) [`ca0709d`](https://github.com/HoudiniGraphql/houdini/commit/ca0709dfb7d66e77556f3d8334a428f1ac148aef) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Add `disableMasking` config value to disable fragment masking
|
|
286
|
-
|
|
287
|
-
- [#344](https://github.com/HoudiniGraphql/houdini/pull/344) [`ca0709d`](https://github.com/HoudiniGraphql/houdini/commit/ca0709dfb7d66e77556f3d8334a428f1ac148aef) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - initial value for inline fragment can be null
|
|
288
|
-
|
|
289
|
-
* [#344](https://github.com/HoudiniGraphql/houdini/pull/344) [`ca0709d`](https://github.com/HoudiniGraphql/houdini/commit/ca0709dfb7d66e77556f3d8334a428f1ac148aef) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Added support for non-string cursors
|
|
290
|
-
|
|
291
|
-
- [#341](https://github.com/HoudiniGraphql/houdini/pull/341) [`a0b6030`](https://github.com/HoudiniGraphql/houdini/commit/a0b6030324816765b6c5cf451dd09586fbd886ec) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - allow null values passed to fragment
|
|
292
|
-
|
|
293
|
-
* [#321](https://github.com/HoudiniGraphql/houdini/pull/321) [`47bb94e`](https://github.com/HoudiniGraphql/houdini/commit/47bb94ea4b6c36210f1d2b7812613287fbe82e61) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - config.schemaPath can be a glob pointing to multiple files
|
|
294
|
-
|
|
295
|
-
## 0.14.8
|
|
296
|
-
|
|
297
|
-
### Patch Changes
|
|
298
|
-
|
|
299
|
-
- [#310](https://github.com/HoudiniGraphql/houdini/pull/310) [`5cba9e2`](https://github.com/HoudiniGraphql/houdini/commit/5cba9e25a314fc6378e48a3114a91cc1fb8d7557) Thanks [@alexlafroscia](https://github.com/alexlafroscia)! - scrub variables only used by internal directives from query
|
|
300
|
-
|
|
301
|
-
## 0.14.7
|
|
302
|
-
|
|
303
|
-
### Patch Changes
|
|
304
|
-
|
|
305
|
-
- [#306](https://github.com/HoudiniGraphql/houdini/pull/306) [`fe79ff3`](https://github.com/HoudiniGraphql/houdini/commit/fe79ff337aa922d19fdb6f36182fa365c85a2093) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Fixed bug when loading data inserted with mutation
|
|
306
|
-
|
|
307
|
-
## 0.14.6
|
|
308
|
-
|
|
309
|
-
### Patch Changes
|
|
310
|
-
|
|
311
|
-
- [#299](https://github.com/HoudiniGraphql/houdini/pull/299) [`83032d8`](https://github.com/HoudiniGraphql/houdini/commit/83032d8d671968688255cbe2c507e7252cfb747d) Thanks [@rmarscher](https://github.com/rmarscher)! - add support for typescript 4.5
|
|
312
|
-
|
|
313
|
-
## 0.14.5
|
|
314
|
-
|
|
315
|
-
### Patch Changes
|
|
316
|
-
|
|
317
|
-
- [#295](https://github.com/HoudiniGraphql/houdini/pull/295) [`2c75823`](https://github.com/HoudiniGraphql/houdini/commit/2c758235a65f5c4bf1b619ea295e0655893a95b1) Thanks [@fehnomenal](https://github.com/fehnomenal)! - Pass contents of page and session store to variable functions for component queries
|
|
318
|
-
|
|
319
|
-
* [#296](https://github.com/HoudiniGraphql/houdini/pull/296) [`1cce6a6`](https://github.com/HoudiniGraphql/houdini/commit/1cce6a6e0d52a89b41c904b5714685fcbfa5db74) Thanks [@fehnomenal](https://github.com/fehnomenal)! - Load data for component query when nothing was cached
|
|
320
|
-
|
|
321
|
-
## 0.14.4
|
|
322
|
-
|
|
323
|
-
### Patch Changes
|
|
324
|
-
|
|
325
|
-
- [#292](https://github.com/HoudiniGraphql/houdini/pull/292) [`c6f5d60`](https://github.com/HoudiniGraphql/houdini/commit/c6f5d6011b533998dc76ebe9e2617eb05096e750) Thanks [@fehnomenal](https://github.com/fehnomenal)! - Only generate after load types for queries
|
|
326
|
-
|
|
327
|
-
* [#288](https://github.com/HoudiniGraphql/houdini/pull/288) [`4c09aba`](https://github.com/HoudiniGraphql/houdini/commit/4c09aba4926ec75515302269c8643e4ce783337c) Thanks [@fehnomenal](https://github.com/fehnomenal)! - Update dependency `svelte`
|
|
328
|
-
|
|
329
|
-
- [#292](https://github.com/HoudiniGraphql/houdini/pull/292) [`c6f5d60`](https://github.com/HoudiniGraphql/houdini/commit/c6f5d6011b533998dc76ebe9e2617eb05096e750) Thanks [@fehnomenal](https://github.com/fehnomenal)! - Pass variables to `afterLoad` hook
|
|
330
|
-
|
|
331
|
-
## 0.14.3
|
|
332
|
-
|
|
333
|
-
### Patch Changes
|
|
334
|
-
|
|
335
|
-
- [#283](https://github.com/HoudiniGraphql/houdini/pull/283) [`dd20142`](https://github.com/HoudiniGraphql/houdini/commit/dd201422f0359f44cf18b338ed4ecd0d13799149) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Fixed bug in component queries associated with the unloaded response from `load`.
|
|
336
|
-
|
|
337
|
-
## 0.14.2
|
|
338
|
-
|
|
339
|
-
### Patch Changes
|
|
340
|
-
|
|
341
|
-
- [#277](https://github.com/HoudiniGraphql/houdini/pull/277) [`d010c3f`](https://github.com/HoudiniGraphql/houdini/commit/d010c3f8b5b4005a6ca02e748724079134fcebbd) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - List operations no longer throw an exception if the list isn't found as well as a few improvements to the list caching strategy
|
|
342
|
-
|
|
343
|
-
* [#279](https://github.com/HoudiniGraphql/houdini/pull/279) [`de1ae3b`](https://github.com/HoudiniGraphql/houdini/commit/de1ae3be60f04971c1b9c8bca9a89973438a1965) Thanks [@oplik0](https://github.com/oplik0)! - add pinst to disable postinstall for publishing
|
|
344
|
-
|
|
345
|
-
## 0.14.1
|
|
346
|
-
|
|
347
|
-
### Patch Changes
|
|
348
|
-
|
|
349
|
-
- [#275](https://github.com/HoudiniGraphql/houdini/pull/275) [`baf233b`](https://github.com/HoudiniGraphql/houdini/commit/baf233b10f447006386ef0b2de1a3a53edecf6c0) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Fixed edge cases involving adding, removing, and deleting records back to back from in-memory cache"
|
|
350
|
-
|
|
351
|
-
## 0.14.0
|
|
352
|
-
|
|
353
|
-
### Breaking Changes
|
|
354
|
-
|
|
355
|
-
- [#273](https://github.com/HoudiniGraphql/houdini/pull/273) [`2adabd7`](https://github.com/HoudiniGraphql/houdini/commit/2adabd7c78b89f12cd556a241245899b13cde30f) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Consolidated all houdini packages under a single import. The preprocessor should now be imported from `houdini/preprocess`.
|
|
356
|
-
|
|
357
|
-
### Patch Changes
|
|
358
|
-
|
|
359
|
-
- [#263](https://github.com/HoudiniGraphql/houdini/pull/263) [`c5cce52`](https://github.com/HoudiniGraphql/houdini/commit/c5cce5217149bc1b2be1f48cb734fb451b03a28f) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Added support for non-standard IDs and paginated fragment queries
|
|
360
|
-
|
|
361
|
-
## 0.13.10
|
|
362
|
-
|
|
363
|
-
### Patch Changes
|
|
364
|
-
|
|
365
|
-
- [#269](https://github.com/HoudiniGraphql/houdini/pull/269) [`bfcd003`](https://github.com/HoudiniGraphql/houdini/commit/bfcd00357e92b47caec988baa919c5c84ddcc333) Thanks [@fehnomenal](https://github.com/fehnomenal)! - Execute multiple queries in parallel
|
|
366
|
-
|
|
367
|
-
## 0.13.9
|
|
368
|
-
|
|
369
|
-
### Patch Changes
|
|
370
|
-
|
|
371
|
-
- [#266](https://github.com/HoudiniGraphql/houdini/pull/266) [`b26cb5e`](https://github.com/HoudiniGraphql/houdini/commit/b26cb5e032ffb87c40b3c43cef73c211cf2fd3de) Thanks [@fehnomenal](https://github.com/fehnomenal)! - Fix `afterLoad` data
|
|
372
|
-
|
|
373
|
-
## 0.13.8
|
|
374
|
-
|
|
375
|
-
### Patch Changes
|
|
376
|
-
|
|
377
|
-
- [#259](https://github.com/HoudiniGraphql/houdini/pull/259) [`d49c30a`](https://github.com/HoudiniGraphql/houdini/commit/d49c30a844228a6004f4590fd74355691f17095e) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - fixes an issue when resolving the first layer in the cache
|
package/src/cmd/generate.ts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import codegen from '../codegen'
|
|
2
|
-
import { Config, ConfigFile, formatErrors, getConfig } from '../lib'
|
|
3
|
-
import pullSchema from './pullSchema'
|
|
4
|
-
|
|
5
|
-
export async function generate(
|
|
6
|
-
args: {
|
|
7
|
-
pullSchema: boolean
|
|
8
|
-
persistOutput?: string
|
|
9
|
-
output?: string
|
|
10
|
-
pullHeader?: string[]
|
|
11
|
-
headers: string[]
|
|
12
|
-
log?: string
|
|
13
|
-
verbose: boolean
|
|
14
|
-
} = {
|
|
15
|
-
pullSchema: false,
|
|
16
|
-
headers: [],
|
|
17
|
-
verbose: false,
|
|
18
|
-
}
|
|
19
|
-
) {
|
|
20
|
-
// grab the config file
|
|
21
|
-
let config: Config | null = null
|
|
22
|
-
|
|
23
|
-
// build up extra config values from command line arguments
|
|
24
|
-
const extraConfig: Partial<ConfigFile> = {}
|
|
25
|
-
if (args.log) {
|
|
26
|
-
extraConfig.logLevel = args.log
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
try {
|
|
30
|
-
// load config
|
|
31
|
-
config = await getConfig(extraConfig)
|
|
32
|
-
if (args.output) {
|
|
33
|
-
config.persistedQueryPath = args.output
|
|
34
|
-
}
|
|
35
|
-
// Pull the newest schema if the flag is set
|
|
36
|
-
if (args.pullSchema && config.apiUrl) {
|
|
37
|
-
// backwards compat
|
|
38
|
-
if (args.pullHeader) {
|
|
39
|
-
console.log('⚠️ --pull-headers has been replaced by --headers (abbreviated -h)')
|
|
40
|
-
args.headers = args.pullHeader
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
await pullSchema(args)
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
await codegen(config)
|
|
47
|
-
} catch (e) {
|
|
48
|
-
formatErrors(e, function (error) {
|
|
49
|
-
if (args.verbose && 'stack' in error && error.stack) {
|
|
50
|
-
console.error(error.stack.split('\n').slice(1).join('\n'))
|
|
51
|
-
}
|
|
52
|
-
})
|
|
53
|
-
}
|
|
54
|
-
}
|
package/src/cmd/index.ts
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { Command } from 'commander'
|
|
2
|
-
|
|
3
|
-
import { LogLevel, HoudiniError } from '../lib'
|
|
4
|
-
import { generate } from './generate'
|
|
5
|
-
import init from './init'
|
|
6
|
-
import pullSchema from './pullSchema'
|
|
7
|
-
|
|
8
|
-
// build up the cli
|
|
9
|
-
const program = new Command()
|
|
10
|
-
|
|
11
|
-
// register the generate command
|
|
12
|
-
program
|
|
13
|
-
.command('generate')
|
|
14
|
-
.description('generate the application runtime')
|
|
15
|
-
.option('-p, --pull-schema', 'pull the latest schema before generating')
|
|
16
|
-
.option('-o, --output [outputPath]', 'persist queries to a queryMap file')
|
|
17
|
-
.option(
|
|
18
|
-
'-h, --headers <headers...>',
|
|
19
|
-
'headers to use when pulling your schema. Should be passed as KEY=VALUE'
|
|
20
|
-
)
|
|
21
|
-
.option('-v, --verbose', 'verbose error messages')
|
|
22
|
-
.option(
|
|
23
|
-
'-l, --log [level]',
|
|
24
|
-
`the log level for the generate command. One of ${JSON.stringify(Object.values(LogLevel))}`
|
|
25
|
-
)
|
|
26
|
-
.action(generate)
|
|
27
|
-
|
|
28
|
-
// register the init command
|
|
29
|
-
program
|
|
30
|
-
.command('init')
|
|
31
|
-
.arguments('[path]')
|
|
32
|
-
.usage('[path] [options]')
|
|
33
|
-
.description('initialize a new houdini project')
|
|
34
|
-
.option(
|
|
35
|
-
'-h, --headers <headers...>',
|
|
36
|
-
'header to use when pulling your schema. Should be passed as KEY=VALUE'
|
|
37
|
-
)
|
|
38
|
-
.action(init)
|
|
39
|
-
|
|
40
|
-
// register the pull schema command
|
|
41
|
-
program
|
|
42
|
-
.command('pull-schema')
|
|
43
|
-
.usage('[options]')
|
|
44
|
-
.description('pull the latest schema from your api')
|
|
45
|
-
.option(
|
|
46
|
-
'-h, --headers <headers...>',
|
|
47
|
-
'headers to use when pulling your schema. Should be passed as KEY=VALUE'
|
|
48
|
-
)
|
|
49
|
-
.action(pullSchema)
|
|
50
|
-
|
|
51
|
-
// start the command
|
|
52
|
-
program.parse()
|
|
53
|
-
|
|
54
|
-
// silence unhandled houdini errors
|
|
55
|
-
process.on('unhandledRejection', (error: HoudiniError) => {
|
|
56
|
-
if ('description' in error) {
|
|
57
|
-
} else {
|
|
58
|
-
console.log(error)
|
|
59
|
-
}
|
|
60
|
-
})
|