Skip to content

Commit fc89686

Browse files
authored
Merge pull request #73 from erweixin/version
chore: update version to 0.1.5
2 parents dbabff8 + 08bb98b commit fc89686

16 files changed

Lines changed: 27 additions & 29 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ jobs:
4141
cargo check -p ratex-render --features embed-fonts
4242
- name: Package ratex-katex-fonts (verify tarball includes fonts/)
4343
run: cargo package -p ratex-katex-fonts
44-
- name: Package ratex-font-loader
45-
run: cargo package -p ratex-font-loader
4644
- name: Bench smoke (compile + run, no timing assertion)
4745
run: cargo test -p ratex-render --test bench_render --features embed-fonts -- --ignored --nocapture
4846
continue-on-error: true

Cargo.toml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ members = [
1717
]
1818

1919
[workspace.package]
20-
version = "0.1.4"
20+
version = "0.1.5"
2121
edition = "2021"
2222
authors = ["RaTeX Contributors"]
2323
license = "MIT"
@@ -26,16 +26,16 @@ homepage = "https://github.com/erweixin/RaTeX"
2626
documentation = "https://github.com/erweixin/RaTeX#readme"
2727

2828
[workspace.dependencies]
29-
ratex-types = { path = "crates/ratex-types", version = "0.1.4" }
30-
ratex-font = { path = "crates/ratex-font", version = "0.1.4" }
31-
ratex-lexer = { path = "crates/ratex-lexer", version = "0.1.4" }
32-
ratex-parser = { path = "crates/ratex-parser", version = "0.1.4" }
33-
ratex-layout = { path = "crates/ratex-layout", version = "0.1.4" }
34-
ratex-katex-fonts = { path = "crates/ratex-katex-fonts", version = "0.1.4" }
35-
ratex-font-loader = { path = "crates/ratex-font-loader", version = "0.1.4" }
36-
ratex-svg = { path = "crates/ratex-svg", version = "0.1.4" }
37-
ratex-pdf = { path = "crates/ratex-pdf", version = "0.1.4" }
38-
ratex-unicode-font = { path = "crates/ratex-unicode-font", version = "0.1.4" }
29+
ratex-types = { path = "crates/ratex-types", version = "0.1.5" }
30+
ratex-font = { path = "crates/ratex-font", version = "0.1.5" }
31+
ratex-lexer = { path = "crates/ratex-lexer", version = "0.1.5" }
32+
ratex-parser = { path = "crates/ratex-parser", version = "0.1.5" }
33+
ratex-layout = { path = "crates/ratex-layout", version = "0.1.5" }
34+
ratex-katex-fonts = { path = "crates/ratex-katex-fonts", version = "0.1.5" }
35+
ratex-font-loader = { path = "crates/ratex-font-loader", version = "0.1.5" }
36+
ratex-svg = { path = "crates/ratex-svg", version = "0.1.5" }
37+
ratex-pdf = { path = "crates/ratex-pdf", version = "0.1.5" }
38+
ratex-unicode-font = { path = "crates/ratex-unicode-font", version = "0.1.5" }
3939

4040
phf = { version = "0.11", features = ["macros"] }
4141
thiserror = "1.0"

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.4
1+
0.1.5

demo/android/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ To depend on the library as a Maven artifact instead of the local project:
6767
./gradlew :ratex-android:publishReleasePublicationToMavenLocal
6868
```
6969
2. In `settings.gradle.kts`, add `mavenLocal()` to `repositories`.
70-
3. In `app/build.gradle.kts`, replace `implementation(project(":ratex-android"))` with `implementation("io.github.erweixin:ratex-android:0.1.4")` and remove the `include(":ratex-android")` / `project(":ratex-android").projectDir` from `settings.gradle.kts`.
70+
3. In `app/build.gradle.kts`, replace `implementation(project(":ratex-android"))` with `implementation("io.github.erweixin:ratex-android:0.1.5")` and remove the `include(":ratex-android")` / `project(":ratex-android").projectDir` from `settings.gradle.kts`.
7171

7272
## Command-line build (optional)
7373

platforms/android/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ minSdk 21, targetSdk 34.
77

88
1. **Add dependency** — In your app's `build.gradle`:
99
```kotlin
10-
implementation("io.github.erweixin:ratex-android:0.1.4")
10+
implementation("io.github.erweixin:ratex-android:0.1.5")
1111
```
1212
2. **Use** — Add `RaTeXView` in your layout and set LaTeX in code; fonts load automatically on first render.
1313
```kotlin

platforms/android/README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ minSdk 21,targetSdk 34。
77

88
1. **添加依赖** — 在 app 的 `build.gradle` 中:
99
```kotlin
10-
implementation("io.github.erweixin:ratex-android:0.1.4")
10+
implementation("io.github.erweixin:ratex-android:0.1.5")
1111
```
1212
2. **使用** — 布局里放 `RaTeXView`,代码中设置 LaTeX 与字号;字体会在首次渲染时自动加载,无需手动调用。
1313
```kotlin

platforms/flutter/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ CustomPaint Widget
2121

2222
## Out of the box
2323

24-
1. **Add dependency** — add `ratex_flutter: ^0.1.4` to `pubspec.yaml`, then run `flutter pub get`. No native build required — the published package includes prebuilt Android `.so`, iOS XCFramework, macOS `.dylib`, Windows `.dll`, and Linux `.so`.
24+
1. **Add dependency** — add `ratex_flutter: ^0.1.5` to `pubspec.yaml`, then run `flutter pub get`. No native build required — the published package includes prebuilt Android `.so`, iOS XCFramework, macOS `.dylib`, Windows `.dll`, and Linux `.so`.
2525
2. **Register fonts** — Flutter does not auto-register plugin fonts for the host app. Copy the [KaTeX font declarations](#font-setup) into your `pubspec.yaml` (see Installation below).
2626
3. **Use** — Use `RaTeXWidget`:
2727
```dart
@@ -42,7 +42,7 @@ Add to your `pubspec.yaml`:
4242

4343
```yaml
4444
dependencies:
45-
ratex_flutter: ^0.1.4
45+
ratex_flutter: ^0.1.5
4646
```
4747
4848
Then run `flutter pub get`. No native build required — the published package includes prebuilt Android `.so`, iOS `RaTeX.xcframework`, macOS `.dylib`, Windows `.dll`, and Linux `.so`.

platforms/flutter/README.zh-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ CustomPaint Widget
2121

2222
## 开箱即用
2323

24-
1. **添加依赖** — 在 `pubspec.yaml` 中:`ratex_flutter: ^0.1.4`,然后执行 `flutter pub get`。无需自行编译原生库,发布包内已含 Android `.so`、iOS XCFramework、macOS `.dylib`、Windows `.dll`、Linux `.so`
24+
1. **添加依赖** — 在 `pubspec.yaml` 中:`ratex_flutter: ^0.1.5`,然后执行 `flutter pub get`。无需自行编译原生库,发布包内已含 Android `.so`、iOS XCFramework、macOS `.dylib`、Windows `.dll`、Linux `.so`
2525
2. **注册字体** — Flutter 不会自动为宿主应用注册插件字体。请将 [KaTeX 字体声明](#字体配置) 复制到你的 `pubspec.yaml`(见下方安装说明)。
2626
3. **使用** — 直接使用 `RaTeXWidget`
2727
```dart
@@ -42,7 +42,7 @@ CustomPaint Widget
4242

4343
```yaml
4444
dependencies:
45-
ratex_flutter: ^0.1.4
45+
ratex_flutter: ^0.1.5
4646
```
4747
4848
然后执行 `flutter pub get`。无需本地构建 — 已发布包内含预编译的 Android `.so`、iOS `RaTeX.xcframework`、macOS `.dylib`、Windows `.dll`、Linux `.so`。

platforms/flutter/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// Build native libs: from repo root run ./platforms/android/build-android.sh
55

66
group 'io.ratex'
7-
version '0.1.4'
7+
version '0.1.5'
88

99
rootProject.allprojects {
1010
repositories {

platforms/flutter/ios/ratex_flutter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'ratex_flutter'
3-
s.version = '0.1.4'
3+
s.version = '0.1.5'
44
s.summary = 'Flutter FFI bindings for RaTeX — native LaTeX math rendering.'
55
s.description = <<-DESC
66
Provides a Flutter plugin that links the RaTeX static library (xcframework)

0 commit comments

Comments
 (0)