chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:10:05 +08:00
commit d37d8d293b
1388 changed files with 484182 additions and 0 deletions
@@ -0,0 +1,4 @@
# drizzle-orm-sqlite 0.12.0-beta.17
- Refactored `.select().fields()` to allow fields from joined tables and nested objects structure, removed partial selects from joins.
- Replaced `.execute()` in query builders and prepared statements with `.run()`, `.all()`, `.get()`, `.values()`.
@@ -0,0 +1,3 @@
# drizzle-orm-sqlite 0.12.0-beta.18
- Updated `better-sqlite3` and `@types/better-sqlite3` peer dependency from `<8` to `<9`.
@@ -0,0 +1,3 @@
# drizzle-orm-sqlite 0.12.0-beta.19
- Fix bug with running migrations. `Error: SqliteError: near "SCHEMA": syntax error` was fixed
@@ -0,0 +1,4 @@
# drizzle-orm-sqlite 0.12.0-beta.20
- Fix bug with running migrations for async driver. `Error: SqliteError: near "SCHEMA": syntax error` was fixed
- Fix `Statement does not return any data - use run()` error, when no fields were provided to prepared statement
@@ -0,0 +1,6 @@
# drizzle-orm-sqlite 0.12.0-beta.21
- Fixed `db.all` logic for all drivers.
- Allowed passing query builders to raw query execution methods.
- Optimized INSERT query generation for single values by skipping columns without values.
- Exposed `table` property from index config.
+3
View File
@@ -0,0 +1,3 @@
# drizzle-orm-sqlite 0.13.0
- Release 🎉
+8
View File
@@ -0,0 +1,8 @@
# drizzle-orm-sqlite 0.14.1
- Separated migrations functionality to a separate import:
```typescript
import { migrate } from 'drizzle-orm-sqlite/better-sqlite3/migrate';
```
- Replaced `await new SQLiteConnector(client).connect()` with `drizzle(client)`.
- `import { SQLiteConnector } from 'drizzle-orm-sqlite` -> `import { drizzle } from 'drizzle-orm-pg/better-sqlite3`.
+3
View File
@@ -0,0 +1,3 @@
# drizzle-orm-sqlite 0.14.2
- Bumped everything to 0.14.2
+19
View File
@@ -0,0 +1,19 @@
# drizzle-orm-sqlite 0.14.3
- `RangeError: The supplied SQL string contains more than one statement` error on migrations was fixed
Created `.exec()` method for session, that will run query without prepared statments
- Fix `defaultNow()` method query generation by adding missin `"()"`.
Previously default value was generated as
```sql
cast((julianday('now') - 2440587.5)*86400000 as integer)
```
Currently default value looks like
```sql
(cast((julianday('now') - 2440587.5)*86400000 as integer))
```
- Create test cases for both issues
+3
View File
@@ -0,0 +1,3 @@
# drizzle-orm-sqlite 0.14.4
- Fix adding autoincrement to `drizzle-kit` migrations
+4
View File
@@ -0,0 +1,4 @@
# drizzle-orm-sqlite 0.14.5
- Remove upper bound restriction from `@cloudflare/workers-types` peer dependency
- Fill author field in package.json
+14
View File
@@ -0,0 +1,14 @@
# drizzle-orm-sqlite 0.15.0
- Add composite PK's on table schema definition
#### Usage example
```typescript
const pkExample = sqliteTable('pk_example', {
id: integer('id'),
name: text('name').notNull(),
email: text('email').notNull(),
}, (table) => ({
compositePk: primaryKey(table.id, table.name)
}));
```
+3
View File
@@ -0,0 +1,3 @@
# drizzle-orm-sqlite 0.15.2
Internal release
+3
View File
@@ -0,0 +1,3 @@
# drizzle-orm-sqlite 0.15.3
Internal release
+3
View File
@@ -0,0 +1,3 @@
# drizzle-orm-sqlite 0.15.4
- Implemented [sql.js](https://github.com/sql-js/sql.js/) driver support (allows you to use SQLite in the browser)
+3
View File
@@ -0,0 +1,3 @@
# drizzle-orm-sqlite 0.16.0
- Bump all packages to 0.16.0
+3
View File
@@ -0,0 +1,3 @@
# drizzle-orm-sqlite 0.16.1
- Fix peer dependency error for >=0.16 drizzle packages