@pitlane/data-table-d1 0.1.0 → 0.2.1

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 +30 -0
  2. package/README.md +1 -1
  3. package/package.json +53 -55
package/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # @pitlane/data-table-d1
2
2
 
3
+ ## 0.2.1
4
+
5
+ Target Remix `3.0.0-rc.2`.
6
+
7
+ - No driver code changed. `createD1Database`, `D1Database`, and
8
+ `D1DatabaseDriver` behave as they did in 0.2.0.
9
+ - rc.2 raises `@remix-run/data-table` to 0.5.1. This driver is described
10
+ structurally against the `DatabaseDriver` contract, which the bump leaves
11
+ alone.
12
+ - The `remix` peer stays at `^3.0.0-rc.1`, which already admits rc.2.
13
+ - Tested against `remix@3.0.0-rc.2`, including the workerd suite that drives a
14
+ real Miniflare D1 binding.
15
+
16
+ ## 0.2.0
17
+
18
+ Target Remix `3.0.0-rc.1`.
19
+
20
+ - Raised the `remix` peer dependency to `^3.0.0-rc.1` (from
21
+ `^3.0.0-beta.10`). `createD1Database`, `D1Database`, and `D1DatabaseDriver`
22
+ are unchanged.
23
+ - rc.1 ships `@remix-run/data-table@0.5.0`, which is what this driver is now
24
+ built and tested against. The `DatabaseDriver<"sqlite">` contract did not
25
+ move: `wipe()` and an idempotent `close()` are still the required members,
26
+ and `withMigrationLock` is still optional and still not implemented here.
27
+ - `and()` and `or()` compose object shorthand filters in 0.5.0, so
28
+ `where: or({ status: "pending" }, { status: "processing" })` works through
29
+ this driver with no change on its side.
30
+ - Tested against `remix@3.0.0-rc.1`, including the workerd suite that drives a
31
+ real Miniflare D1 binding.
32
+
3
33
  ## 0.1.0
4
34
 
5
35
  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.1",
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.2",
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
+ }