libchewing 0.8.0-rc.1

21 views
Skip to first unread message

Kan-Ru Chen

unread,
Apr 27, 2024, 10:44:30 PMApr 27
to chewing-devel
Hi,

大家好,從 2022 年 4/29 開始的 Rust Rewrite (89ef2a8) 終於進入一個新的里程碑!
0.8.0 將會是第一個完全用 Rust 重寫的 libchewing 的第一個 release,希望大家幫忙
多多測試。

重大變更:新字典格式與舊有工具不相容

現有使用者字典將會自動備份及轉移,但舊有工具將無法直接操作字典檔案。
請使用新的 `chewing-cli` 工具來檢視、傾出或建構使用者字典。最終版本將提供更新的文件說明。

Download the source tarball from github releases:

https://github.com/chewing/libchewing/releases/tag/v0.8.0-rc.1

libchewing releases can be verified with the following minisign public key

minisign -Vm libchewing-0.8.0-rc.1.tar.zst \
-P RWRzJFnXiLZleAyCIv1talBjyRewelcy9gzYQq9pd3SKSFBPoy57sf5s

What's New in libchewing 0.8.0-rc.1 (UNRELEASED)
---------------------------------------------------------

BREAKING CHANGE: New dictionary format is not compatible with old tools.
Existing user dictionary will be automatically backed up and migrated
however old tools will not be able to manipulate the dictionary directly.
Use the new `chewing-cli` tool to inspect/dump/build user dictionaries.
Updated documentation will be provided in final release.

* Added
- A new command line tool `chewing-cli` is included in this release. It can
create or inspect dictionary files.
- Reintroduce DictionaryMut as a separate trait.

* Changed
- CMake default preset switched to build with rust.
- CMake minimum required version bumped to 3.24.0.
- Improved TrieBufDictionary::from ergonomics.
- Rename DictEntries to Entries.
- Ensure all fallible API returns Error.
- Improved algorithm so using Tab key to find alternative phrasing is more
responsive.
- Easy symbol input now accepts arbitrary long "symbols". (rust)

* Removed
- HashMap implemented Dictionary was removed.

* Documentation
- Clarify the accepted value of `chewing_handle_Default` method.


**Full Changelog**: https://github.com/chewing/libchewing/compare/v0.7.0...v0.8.0-rc.1

Happy hacking,
Kan-ru

Kan-Ru Chen

unread,
Apr 28, 2024, 3:50:24 AMApr 28
to chewing-devel
On Sun, Apr 28, 2024, at 11:41 AM, Kan-Ru Chen wrote:
> Hi,
>
> 大家好,從 2022 年 4/29 開始的 Rust Rewrite (89ef2a8) 終於進入一個新的里程碑!
> 0.8.0 將會是第一個完全用 Rust 重寫的 libchewing 的第一個 release,希望大家幫忙
> 多多測試。

為了方便大家測試,在 GitHub 也附上 pre-release 的 debian package,同樣在
https://github.com/chewing/libchewing/releases/tag/v0.8.0-rc.1

Fedora 則是有 COPR 可以用 https://copr.fedorainfracloud.org/coprs/kanru/libchewing-git/

Happy hacking,
Kan-ru

an...@soui.com.tw

unread,
Apr 28, 2024, 11:35:41 PMApr 28
to Chewing IM Development
謝謝版大無私的分享
我想請問一下
我目前用的是PIME-1.3.0-alpha1-setup
這是可以安裝嘸蝦米輸入法
請問最新釋出的這個版本
是否也能安裝嘸蝦米輸入法 (我用正版的字根WIN95版本)

      謝謝

Kan-Ru Chen 在 2024年4月28日 星期日下午3:50:24 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages