Skip to content

Commit

Permalink
Update release notes for 0.29.2
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriiSherman committed Dec 22, 2023
1 parent bcd8e38 commit d5c45a6
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 7 deletions.
Binary file removed .DS_Store
Binary file not shown.
35 changes: 28 additions & 7 deletions changelogs/drizzle-orm/0.29.2.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
# New Drivers
## Fixes

## 🎉 Expo SQLite Driver is available
- Added improvements to the planescale relational tests #1579 - thanks @Angelelz
- [Pg] FIX: correct string escaping for empty PgArrays #1640 - thanks @Angelelz
- Fix wrong syntax for exists fn in sqlite #1647 - thanks @Angelelz
- Properly handle dates in AWS Data API
- Fix Hermes mixins constructor issue

## ESLint Drizzle Plugin, v0.2.3

```
npm i [email protected]
```

🎉 **[ESLint] Add support for functions and improve error messages #1586 - thanks @ngregrichardson**

- Allowed Drizzle object to be or to be retrieved from a function, e.g.
- Added better context to the suggestion in the error message.

## New Drivers

### 🎉 Expo SQLite Driver is available

For starting with Expo SQLite Driver, you need to install `expo-sqlite` and `drizzle-orm` packages.

Expand Down Expand Up @@ -40,6 +59,7 @@ npm install babel-plugin-inline-import
2. Update `babel.config.js` and `metro.config.js` files.

babel.config.js

```diff
module.exports = function(api) {
api.cache(true);
Expand All @@ -52,6 +72,7 @@ module.exports = function(api) {
```

metro.config.js

```diff
const { getDefaultConfig } = require('expo/metro-config');

Expand All @@ -66,12 +87,12 @@ module.exports = config;
3. Create `drizzle.config.ts` file in your project root folder.

```ts
import type { Config } from "drizzle-kit";
import type { Config } from 'drizzle-kit';

export default {
schema: "./db/schema.ts",
out: "./drizzle",
driver: "expo",
schema: './db/schema.ts',
out: './drizzle',
driver: 'expo',
} satisfies Config;
```

Expand Down Expand Up @@ -114,4 +135,4 @@ export default function App() {

return ...your application component;
}
```
```
Binary file removed examples/.DS_Store
Binary file not shown.

0 comments on commit d5c45a6

Please sign in to comment.