-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ feat: let me release version 0.6.0
- Loading branch information
Showing
7 changed files
with
89 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# 0.6.0 - 正常的世界 | ||
|
||
> 爱丽丝的求救声回响在黑川的耳畔,黑川装作什么也听不见,步入电梯,如同一尊麻木的雕像。电梯缓缓下降,楼层一个接一个地掠过,爱丽丝的呼声逐渐被电梯播放的旋律所淹没,如同雨滴融入大海,尽管最初泛起细微的波纹,最终却归于沉寂。“欢迎回到现实世界,”黑川对自己说,声音中带着不易察觉的颤抖,“一个超能力只存在于幻想小说中的世界。” | ||
## Electron | ||
|
||
现在,Milkio 可以用来创建桌面应用了,并且可以打包成 macOS、Windows、Linux 三个平台下的应用 | ||
|
||
这是使用 Electron 完成的,Electron 的主进程和渲染进程之间的通信很麻烦,通过引入 Milkio,很好地解决了这个问题 | ||
|
||
对于前端而言,我们默认为你安装了 [Astro](https://astro.build/),它一个支持主流的前端框架(如 Vue3、React、Svelte 等),并且默认会进行 SSG,这可以让你的应用运行速度更快 | ||
|
||
你可以通过运行 `bun create milkio` 后,选择 `electron (alpha)` 模板进行体验 | ||
|
||
不过你需要注意,这仍然处于 alpha 阶段,可能会有许多问题,未来也可能进行不兼容的改动 | ||
|
||
## Node | ||
|
||
对于一些担忧 Bun 稳定性的用户,现在你可以使用 Node.js 来创建 Milkio 应用了 | ||
|
||
无论是在本机上开发,还是运行测试,都是使用 Node.js 完成的,不过,你在开发时,仍然需要 Bun,因为 Milkio 依赖 Bun,在你开发时完成自动生成以及许多辅助操作 | ||
|
||
你可以通过运行 `bun create milkio` 后,选择 `node (beta)` 模板进行体验 | ||
|
||
## VS Code 模板 | ||
|
||
修复了在 Windows 下的兼容性问题,现在 Windows 下也可以正常工作了 | ||
|
||
## 客户端 | ||
|
||
修复了在 Windows 下,客户端类型不会自动更新的问题,现在 Windows 下也可以正常工作了 | ||
|
||
## 性能改进 | ||
|
||
现在在 Windows 下,Milkio 的启动速度变得非常快 | ||
|
||
## 升级 | ||
|
||
``` | ||
bun i [email protected] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"cookbook":{"cookbook":{"params":"string & typia.tags.MinLength<3> & typia.tags.MaxLength<16>","cases":[]},"foo":{"params":"{ sad: string }","cases":[{"name":"Basic","handler":"\t\t\tconst { stream, getResult } = await test.executeStream({\n\t\t\t\tparams: { sad: 'UWU' }\n\t\t\t})\n\t\t\tconst xxx = getResult()\n\n\t\t\tfor await (const chunk of stream) {\n\t\t\t\tconsole.log('foo', chunk);\n\t\t\t}"}]},"test":{"title":"test","desc":"\ntest","params":"Params","cases":[{"name":"Basic","handler":"\t\t\tconst result = await test.execute({ params: { foo: '123' } });\n\t\t\tif (!result.success) return test.reject(`The result was not success`);\n\t\t\tconsole.log(result);"},{"name":"Basic","handler":"\t\t\tconst result = await test.execute({ params: { foo: '123' } });\n\t\t\tif (!result.success) return test.reject(`The result was not success`);\n\t\t\tconsole.log(result);"},{"name":"Basic","handler":"\t\t\tconst result = await test.execute({ params: { foo: '123' } });\n\t\t\tif (!result.success) return test.reject(`The result was not success`);\n\t\t\tconsole.log(result);"},{"name":"Basic","handler":"\t\t\tconst result = await test.execute({ params: { foo: '123' } });\n\t\t\tif (!result.success) return test.reject(`The result was not success`);\n\t\t\tconsole.log(result);"},{"name":"Basic","handler":"\t\t\tconst result = await test.execute({ params: { foo: '123' } });\n\t\t\tif (!result.success) return test.reject(`The result was not success`);\n\t\t\tconsole.log(result);"}]}},"readme":"# 你好世界\n\nHello world\n\n```sh\n世界你好 # enenen\n```\n\n","indexes":{"(root)":["cookbook","foo","test"]},"folderIndexes":{"(root)":[]},"generatedAt":"t!Date:2024-06-29T10:14:21.229Z"} | ||
{"cookbook":{"foo":{"params":"{ sad: string }","cases":[{"name":"Basic","handler":"\t\t\tconst { stream, getResult } = await test.executeStream({\n\t\t\t\tparams: { sad: 'UWU' }\n\t\t\t})\n\t\t\tconst xxx = getResult()\n\n\t\t\tfor await (const chunk of stream) {\n\t\t\t\tconsole.log('foo', chunk);\n\t\t\t}"}]},"test":{"title":"test","desc":"\ntest","params":"Params","cases":[{"name":"Basic","handler":"\t\t\tconst result = await test.execute({ params: { foo: '123' } });\n\t\t\tif (!result.success) return test.reject(`The result was not success`);\n\t\t\tconsole.log(result);"},{"name":"Basic","handler":"\t\t\tconst result = await test.execute({ params: { foo: '123' } });\n\t\t\tif (!result.success) return test.reject(`The result was not success`);\n\t\t\tconsole.log(result);"},{"name":"Basic","handler":"\t\t\tconst result = await test.execute({ params: { foo: '123' } });\n\t\t\tif (!result.success) return test.reject(`The result was not success`);\n\t\t\tconsole.log(result);"},{"name":"Basic","handler":"\t\t\tconst result = await test.execute({ params: { foo: '123' } });\n\t\t\tif (!result.success) return test.reject(`The result was not success`);\n\t\t\tconsole.log(result);"},{"name":"Basic","handler":"\t\t\tconst result = await test.execute({ params: { foo: '123' } });\n\t\t\tif (!result.success) return test.reject(`The result was not success`);\n\t\t\tconsole.log(result);"}]},"cookbook":{"params":"string & typia.tags.MinLength<3> & typia.tags.MaxLength<16>","cases":[]}},"readme":"# 你好世界\n\nHello world\n\n```sh\n世界你好 # enenen\n```\n\n","indexes":{"(root)":["foo","test","cookbook"]},"folderIndexes":{"(root)":[]},"generatedAt":"t!Date:2024-06-29T10:17:58.737Z"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.