Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to v2 #479

Merged
merged 45 commits into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
b4346cd
Port to v2 (#389)
srikrsna-buf Sep 23, 2024
532c143
V2: Update to buf.gen.yaml v2 (#411)
timostamm Sep 24, 2024
129fea5
V2: Update documentation for plugin options import_extension and ts_n…
timostamm Sep 24, 2024
be3ba1c
V2: Handle structural sharing (#414)
timostamm Sep 24, 2024
94f8381
V2: Update test protos (#415)
timostamm Sep 24, 2024
cf29f2f
V2: Introduce function to create message keys (#416)
timostamm Sep 25, 2024
e0ffc70
V2: Rename MethodUnaryDescriptor argument (#417)
timostamm Sep 25, 2024
02cc5bc
V2: Remove option for AbortSignal from useMutation (#422)
timostamm Sep 26, 2024
8b15467
Merge remote-tracking branch 'origin/main' into v2
timostamm Sep 26, 2024
53cfed1
Merge remote-tracking branch 'origin/main' into v2
timostamm Sep 26, 2024
3413a79
Merge remote-tracking branch 'origin/main' into v2
timostamm Sep 26, 2024
31e81c9
Merge remote-tracking branch 'origin/main' into v2
timostamm Sep 27, 2024
37c47cc
V2: Support disabled queries consistently (#427)
timostamm Sep 27, 2024
116336f
Merge remote-tracking branch 'origin/main' into v2
timostamm Sep 30, 2024
a274573
V2: Remove unused eslint-plugin-jsdoc (#431)
timostamm Sep 30, 2024
c9f20cd
V2: Replace disableQuery with skipToken (#428)
timostamm Sep 30, 2024
598ca07
Merge remote-tracking branch 'origin/main' into v2
timostamm Oct 1, 2024
6b54e70
V2: Remove CallOptions (#436)
timostamm Oct 3, 2024
e3f33f8
V2: Introduce function to create transport keys (#437)
timostamm Oct 3, 2024
798e4cb
V2: Rename symbols to match exported names (#438)
timostamm Oct 3, 2024
3212f35
Use `createMessageKey` to create query keys (#440)
gilwong00 Oct 3, 2024
92e2997
V2: Update query keys for partial matching (#441)
timostamm Oct 8, 2024
be0c15b
V2: Add utility to support explicit key on transport (#444)
paul-sachs Oct 8, 2024
bc83dd0
V2: Update createProtobufSafeUpdater (#447)
timostamm Oct 8, 2024
bf9728f
V2: Remove defaultOptions (#445)
timostamm Oct 8, 2024
8a87c00
V2: Replace `MethodUnaryDescriptor` with `DescMethodUnary` from `@buf…
srikrsna-buf Oct 9, 2024
9c27a89
Merge remote-tracking branch 'origin/main' into v2
timostamm Oct 9, 2024
1f3721f
V2: Update docs (#449)
timostamm Oct 9, 2024
f1dfec7
V2: Enforce cardinality as required prop for key (#450)
paul-sachs Oct 9, 2024
82455be
Release 2.0.0-beta.1 (#451)
timostamm Oct 10, 2024
a3c3e0d
V2: Update peer dependencies (#452)
paul-sachs Oct 10, 2024
6c9bd4a
Release 2.0.0-beta.2 (#453)
paul-sachs Oct 10, 2024
8cc32bd
Merge remote-tracking branch 'origin/main' into v2
timostamm Oct 14, 2024
5a89b3f
V2: Fix and update peer dependencies (#458)
timostamm Oct 14, 2024
eed6fa8
Release 2.0.0-beta.3 (#459)
timostamm Oct 14, 2024
53b721f
V2: Remove queryKeyHashFn provided by createQueryOptions (#461)
paul-sachs Oct 18, 2024
cca5778
Release 2.0.0-rc.1 (#464)
paul-sachs Oct 18, 2024
1d5e7c9
Release 2.0.0-rc.2 (#465)
paul-sachs Oct 18, 2024
4f29429
V2: Add overload to make sure createQueryOptions only returns skipTok…
paul-sachs Oct 28, 2024
0f315a5
V2: Remove queryKeyHashFn to allow default query client access to que…
paul-sachs Oct 29, 2024
b9b0b8f
V2: Introduce connect-query-core package (#357)
paul-sachs Oct 31, 2024
26aee8f
Fix createinfinitequeryoptions skiptoken usage (#478)
paul-sachs Nov 4, 2024
e40f1c2
V2: Update dependencies (#475)
timostamm Nov 4, 2024
3131c79
V2: Prepare switch to v2 (#477)
timostamm Nov 4, 2024
76bab13
Merge remote-tracking branch 'origin/v2' into tstamm/switch-to-v2
timostamm Nov 4, 2024
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
33 changes: 5 additions & 28 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,7 @@ const config = {
parserOptions: {
project: true,
},
plugins: [
"@typescript-eslint",
"jsdoc",
"import",
"simple-import-sort",
"vitest",
],
plugins: ["@typescript-eslint", "import", "simple-import-sort", "vitest"],
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/all",
Expand All @@ -43,15 +37,12 @@ const config = {
"prettier",
],
settings: {
jsdoc: {
mode: "typescript",
noDefaultExampleRules: false,
checkProperties: true,
minLines: 1,
},
"import/resolver": {
typescript: {},
},
vitest: {
typecheck: true,
},
},
rules: {
...vitest.configs.recommended.rules,
Expand All @@ -69,7 +60,6 @@ const config = {
"@typescript-eslint/prefer-readonly-parameter-types": "off", // not realistic
"@typescript-eslint/explicit-module-boundary-types": "off", // inference and conformance testing cover this well
"@typescript-eslint/explicit-function-return-type": "off", // inference and conformance testing cover this well
"@typescript-eslint/no-unused-expressions": "off", // necessary component of some exports, e.g. DisableQuery
"@typescript-eslint/no-type-alias": "off", // this rule turns off things that are absolutely required by this project such as conditional types and literals
"@typescript-eslint/no-throw-literal": "off", // unfortunately this rule doesn't understand returns from `unreachableCase`
"@typescript-eslint/no-magic-numbers": "off", // literal values are used in CSS-in-JS, tests, and library constants
Expand All @@ -79,18 +69,6 @@ const config = {
{ "ts-expect-error": { descriptionFormat: "^\\(\\d+\\) .+$" } },
],

"jsdoc/require-jsdoc": [
"error",
{
contexts: [
"TSTypeAliasDeclaration",
{ context: "TSPropertySignature", inlineCommentBlock: true },
],
publicOnly: true,
require: { ArrowFunctionExpression: true },
},
],

"simple-import-sort/imports": "error",
},
overrides: [
Expand All @@ -115,14 +93,13 @@ const config = {
"error",
{
vars: "all",
varsIgnorePattern: "ExpectType_.*", // necessary for TypeScript type tests
argsIgnorePattern: "_",
},
],
},
},
{
files: ["**/eliza/*", "**/gen/**", "**/snapshots/**"], // generated code
files: ["**/eliza/*", "gen/**", "**/gen/**", "**/snapshots/**"], // generated code
rules: {
"eslint-comments/no-unused-enable": "off",
"eslint-comments/no-unused-disable": "off",
Expand Down
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"git.enableCommitSigning": true,
"git.alwaysSignOff": true,
"typescript.tsdk": "node_modules/typescript/lib"
}
Loading