@pitlane/data-table-d1 0.1.0 → 0.2.0

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +1 -1
  3. package/package.json +53 -55
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @pitlane/data-table-d1
2
2
 
3
+ ## 0.2.0
4
+
5
+ Target Remix `3.0.0-rc.1`.
6
+
7
+ - Raised the `remix` peer dependency to `^3.0.0-rc.1` (from
8
+ `^3.0.0-beta.10`). `createD1Database`, `D1Database`, and `D1DatabaseDriver`
9
+ are unchanged.
10
+ - rc.1 ships `@remix-run/data-table@0.5.0`, which is what this driver is now
11
+ built and tested against. The `DatabaseDriver<"sqlite">` contract did not
12
+ move: `wipe()` and an idempotent `close()` are still the required members,
13
+ and `withMigrationLock` is still optional and still not implemented here.
14
+ - `and()` and `or()` compose object shorthand filters in 0.5.0, so
15
+ `where: or({ status: "pending" }, { status: "processing" })` works through
16
+ this driver with no change on its side.
17
+ - Tested against `remix@3.0.0-rc.1`, including the workerd suite that drives a
18
+ real Miniflare D1 binding.
19
+
3
20
  ## 0.1.0
4
21
 
5
22
  Initial release.
package/README.md CHANGED
@@ -22,7 +22,7 @@ npm install @pitlane/data-table-d1
22
22
  vp add @pitlane/data-table-d1
23
23
  ```
24
24
 
25
- Requires `remix@^3.0.0-beta.10` as a peer. Nothing else: the D1 API is described structurally, so you do not need `@cloudflare/workers-types` unless your own code already does.
25
+ Requires `remix@^3.0.0-rc.1` as a peer. Nothing else: the D1 API is described structurally, so you do not need `@cloudflare/workers-types` unless your own code already does.
26
26
 
27
27
  ## Why this package exists
28
28
 
package/package.json CHANGED
@@ -1,58 +1,56 @@
1
1
  {
2
- "name": "@pitlane/data-table-d1",
3
- "version": "0.1.0",
4
- "description": "A Cloudflare D1 driver for Remix 3's data-table: SQLite SQL over D1's async prepared-statement binding.",
5
- "keywords": [
6
- "cloudflare",
7
- "d1",
8
- "data-table",
9
- "pitlane",
10
- "remix",
11
- "sqlite",
12
- "workers"
13
- ],
14
- "homepage": "https://pitlane.tools/package/data-table-d1/",
15
- "bugs": {
16
- "url": "https://github.com/pitlane-tools/pitlane/issues"
2
+ "name": "@pitlane/data-table-d1",
3
+ "version": "0.2.0",
4
+ "description": "A Cloudflare D1 driver for Remix 3's data-table: SQLite SQL over D1's async prepared-statement binding.",
5
+ "keywords": [
6
+ "cloudflare",
7
+ "d1",
8
+ "data-table",
9
+ "pitlane",
10
+ "remix",
11
+ "sqlite",
12
+ "workers"
13
+ ],
14
+ "homepage": "https://pitlane.tools/package/data-table-d1/",
15
+ "bugs": {
16
+ "url": "https://github.com/pitlane-tools/pitlane/issues"
17
+ },
18
+ "license": "MIT",
19
+ "author": "Mark Malstrom <mark@malstrom.me>",
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/pitlane-tools/pitlane.git",
23
+ "directory": "packages/data-table-d1"
24
+ },
25
+ "files": [
26
+ "dist",
27
+ "CHANGELOG.md",
28
+ "LICENSE.remix"
29
+ ],
30
+ "type": "module",
31
+ "types": "./dist/index.d.mts",
32
+ "exports": {
33
+ ".": {
34
+ "types": "./dist/index.d.mts",
35
+ "import": "./dist/index.mjs"
17
36
  },
18
- "license": "MIT",
19
- "author": "Mark Malstrom <mark@malstrom.me>",
20
- "repository": {
21
- "type": "git",
22
- "url": "git+https://github.com/pitlane-tools/pitlane.git",
23
- "directory": "packages/data-table-d1"
24
- },
25
- "files": [
26
- "dist",
27
- "CHANGELOG.md",
28
- "LICENSE.remix"
29
- ],
30
- "type": "module",
31
- "types": "./dist/index.d.mts",
32
- "exports": {
33
- ".": {
34
- "types": "./dist/index.d.mts",
35
- "import": "./dist/index.mjs"
36
- },
37
- "./migrations": {
38
- "types": "./dist/migrations.d.mts",
39
- "import": "./dist/migrations.mjs"
40
- }
41
- },
42
- "scripts": {
43
- "prepublishOnly": "vp run build"
44
- },
45
- "devDependencies": {
46
- "@types/node": "^25.5.0",
47
- "miniflare": "^4.20260710.0",
48
- "remix": "3.0.0-beta.10",
49
- "typescript": "^7.0.2",
50
- "vite-plus": "^0.2.6"
51
- },
52
- "peerDependencies": {
53
- "remix": "^3.0.0-beta.10"
54
- },
55
- "engines": {
56
- "node": "^20.19.0 || >=22.12.0"
37
+ "./migrations": {
38
+ "types": "./dist/migrations.d.mts",
39
+ "import": "./dist/migrations.mjs"
57
40
  }
58
- }
41
+ },
42
+ "devDependencies": {
43
+ "@types/node": "^25.5.0",
44
+ "miniflare": "^4.20260710.0",
45
+ "remix": "3.0.0-rc.1",
46
+ "typescript": "^7.0.2",
47
+ "vite-plus": "^0.2.6"
48
+ },
49
+ "peerDependencies": {
50
+ "remix": "^3.0.0-rc.1"
51
+ },
52
+ "engines": {
53
+ "node": "^20.19.0 || >=22.12.0"
54
+ },
55
+ "scripts": {}
56
+ }