Skip to content

Commit 56bef76

Browse files
committed
v0.129.0
1 parent afad84a commit 56bef76

File tree

22 files changed

+66
-39
lines changed

22 files changed

+66
-39
lines changed

CHANGELOG.md

+27
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# Changelog
22

3+
## v0.129.0 - 2024-01-20
4+
5+
### Changed
6+
7+
- **breaking change**: Usage of Node `async_hooks` has been renamed from `node:async_hooks` to `async_hooks` for easier Webpack configuration. To exclude the `async_hooks` from client-side bundling, you can use the following config for Next.js (`next.config.mjs` or `next.config.js`):
8+
9+
```js
10+
/**
11+
* @type {import('next').NextConfig}
12+
*/
13+
const nextConfig = {
14+
webpack: (config, { isServer }) => {
15+
if (isServer) {
16+
return config;
17+
}
18+
19+
config.resolve = config.resolve ?? {};
20+
config.resolve.fallback = config.resolve.fallback ?? {};
21+
22+
// async hooks is not available in the browser:
23+
config.resolve.fallback.async_hooks = false;
24+
25+
return config;
26+
},
27+
};
28+
```
29+
330
## v0.128.0 - 2024-01-20
431
532
### Changed

examples/babyagi-agent/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"commander": "10.0.1",
1313
"dotenv": "16.3.1",
1414
"jsdom": "^22.1.0",
15-
"modelfusion": "0.128.0",
15+
"modelfusion": "0.129.0",
1616
"serpapi": "^2.0.0"
1717
},
1818
"devDependencies": {

examples/basic/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@pinecone-database/pinecone": "0.1.6",
1313
"dotenv": "16.3.1",
1414
"secure-json-parse": "2.7.0",
15-
"modelfusion": "0.128.0",
15+
"modelfusion": "0.129.0",
1616
"modelfusion-experimental": "0.5.0",
1717
"nanoid": "3.3.6",
1818
"better-sqlite3": "9.0.0",

examples/chatbot-next-js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@emotion/styled": "11.10.8",
2121
"@mui/icons-material": "5.15.5",
2222
"@mui/material": "5.12.2",
23-
"modelfusion": "0.128.0",
23+
"modelfusion": "0.129.0",
2424
"modelfusion-experimental": "0.5.0",
2525
"next": "13.5.1",
2626
"react": "18.2.0",

examples/cloudflare-workers/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
"wrangler": "^3.22.1"
1616
},
1717
"dependencies": {
18-
"modelfusion": "0.128.0"
18+
"modelfusion": "0.129.0"
1919
}
2020
}

examples/middle-school-math-agent/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"dependencies": {
1111
"@modelfusion/mathjs-tool": "0.1.1",
12-
"modelfusion": "0.128.0",
12+
"modelfusion": "0.129.0",
1313
"dotenv": "16.3.1",
1414
"zod": "3.22.4"
1515
},

examples/nextjs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"class-variance-authority": "^0.7.0",
1515
"clsx": "^2.1.0",
1616
"lucide-react": "^0.312.0",
17-
"modelfusion": "0.128.0",
17+
"modelfusion": "0.129.0",
1818
"modelfusion-experimental": "0.5.0",
1919
"next": "14.1.0",
2020
"react": "^18",

examples/pdf-chat-terminal/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"private": true,
1111
"dependencies": {
12-
"modelfusion": "0.128.0",
12+
"modelfusion": "0.129.0",
1313
"commander": "10.0.1",
1414
"dotenv": "16.3.1",
1515
"pdfjs-dist": "3.6.172"

examples/pdf-to-tweet/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"private": true,
1111
"dependencies": {
12-
"modelfusion": "0.128.0",
12+
"modelfusion": "0.129.0",
1313
"modelfusion-experimental": "0.5.0",
1414
"commander": "10.0.1",
1515
"dotenv": "16.3.1",

examples/speech-streaming-vite-react-fastify/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"clsx": "^2.0.0",
2020
"dotenv": "16.3.1",
2121
"fastify": "^4.23.2",
22-
"modelfusion": "0.128.0",
22+
"modelfusion": "0.129.0",
2323
"modelfusion-experimental": "0.5.0",
2424
"react": "^18.2.0",
2525
"react-dom": "^18.2.0",

examples/wikipedia-agent/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"dotenv": "16.3.1",
1515
"html-to-text": "9.0.5",
1616
"jsdom": "^22.1.0",
17-
"modelfusion": "0.128.0",
17+
"modelfusion": "0.129.0",
1818
"modelfusion-experimental": "0.5.0",
1919
"zod": "3.22.4"
2020
},

packages/@modelfusion-pinecone/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@typescript-eslint/parser": "^6.1.0",
5555
"eslint": "^8.45.0",
5656
"eslint-config-prettier": "9.1.0",
57-
"modelfusion": "0.128.0"
57+
"modelfusion": "0.129.0"
5858
},
5959
"peerDependencies": {
6060
"modelfusion": ">=0.72.0 <1.0.0-0",

packages/@modelfusion-sqlite-vss/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@typescript-eslint/parser": "^6.1.0",
5555
"eslint": "^8.45.0",
5656
"eslint-config-prettier": "9.1.0",
57-
"modelfusion": "0.128.0",
57+
"modelfusion": "0.129.0",
5858
"sqlite-vss": "^0.1.2",
5959
"better-sqlite3": "^9.0.0"
6060
},

packages/@modelfusion-vercel-ai/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"ai": ">= 2.2.27",
5757
"eslint": "^8.45.0",
5858
"eslint-config-prettier": "9.1.0",
59-
"modelfusion": "0.128.0"
59+
"modelfusion": "0.129.0"
6060
},
6161
"peerDependencies": {
6262
"modelfusion": ">=0.89.0",

packages/modelfusion-experimental/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,6 @@
7676
"eslint": "^8.45.0",
7777
"eslint-config-prettier": "9.1.0",
7878
"fastify": "^4.0.0",
79-
"modelfusion": "0.128.0"
79+
"modelfusion": "0.129.0"
8080
}
8181
}

packages/modelfusion/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "modelfusion",
33
"description": "The TypeScript library for building AI applications.",
4-
"version": "0.128.0",
4+
"version": "0.129.0",
55
"author": "Lars Grammel",
66
"license": "MIT",
77
"keywords": [

pnpm-lock.yaml

+19-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-environments/commonjs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"start": "node src/index.js"
77
},
88
"dependencies": {
9-
"modelfusion": "0.128.0",
9+
"modelfusion": "0.129.0",
1010
"dotenv": "16.3.1"
1111
}
1212
}

tools/google-custom-search-tool/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"@typescript-eslint/parser": "^6.1.0",
5656
"eslint": "^8.45.0",
5757
"eslint-config-prettier": "9.1.0",
58-
"modelfusion": "0.128.0",
58+
"modelfusion": "0.129.0",
5959
"zod": "3.22.4"
6060
},
6161
"peerDependencies": {

tools/mathjs-tool/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"@typescript-eslint/parser": "^6.1.0",
5959
"eslint": "^8.45.0",
6060
"eslint-config-prettier": "9.1.0",
61-
"modelfusion": "0.128.0",
61+
"modelfusion": "0.129.0",
6262
"zod": "3.22.4"
6363
},
6464
"peerDependencies": {

tools/mediawiki-search-tool/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@typescript-eslint/parser": "^6.1.0",
5757
"eslint": "^8.45.0",
5858
"eslint-config-prettier": "9.1.0",
59-
"modelfusion": "0.128.0",
59+
"modelfusion": "0.129.0",
6060
"zod": "3.22.4"
6161
},
6262
"peerDependencies": {

tools/serpapi-tool/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"@typescript-eslint/parser": "^6.1.0",
5959
"eslint": "^8.45.0",
6060
"eslint-config-prettier": "9.1.0",
61-
"modelfusion": "0.128.0",
61+
"modelfusion": "0.129.0",
6262
"zod": "3.22.4"
6363
},
6464
"peerDependencies": {

0 commit comments

Comments
 (0)