Skip to content

Commit

Permalink
Prepare for 0.9.0 - release
Browse files Browse the repository at this point in the history
  • Loading branch information
blaind committed Nov 21, 2023
1 parent 28a7b91 commit 677f8f8
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Changelog

[git_tag_comparison]: https://github.com/blaind/bevy_text_mesh/compare/v0.8.0...main
[git_tag_comparison]: https://github.com/blaind/bevy_text_mesh/compare/v0.9.0...main

## Version 0.9.0 (2023-11-21)

[Compare changelog](https://github.com/blaind/bevy_text_mesh/compare/v0.8.0...v0.9.0)

### Changed

- [Breaking: reverted the `#mesh` suffix for font loading - the suffix is required again][34]

## Version 0.8.0 (2023-11-19)

Expand Down Expand Up @@ -65,3 +73,4 @@ This version was never published to crates.io.
[15]: https://github.com/blaind/bevy_text_mesh/pull/15
[29]: https://github.com/blaind/bevy_text_mesh/pull/29
[32]: https://github.com/blaind/bevy_text_mesh/pull/32
[34]: https://github.com/blaind/bevy_text_mesh/pull/34
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_text_mesh"
version = "0.8.0"
version = "0.9.0"
edition = "2021"
description = "A bevy 3D text mesh generator for displaying text"
repository = "https://github.com/blaind/bevy_text_mesh"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Consider this as a preview of the plugin for gathering feedback about the API:

| bevy | bevy_text_mesh |
| ---- | -------------- |
| 0.12 | 0.8.0 |
| 0.12 | 0.9.0 |
| 0.11 | 0.7.0 |
| 0.10 | 0.6.0 |
| 0.9 | 0.5.0 |
Expand Down Expand Up @@ -62,7 +62,7 @@ Add to Cargo.toml:

```
[dependencies]
bevy_text_mesh = "0.8.0"
bevy_text_mesh = "0.9.0"
```

Include the library:
Expand Down Expand Up @@ -92,7 +92,7 @@ Next, you are ready to spawn a text in your scene at a system:
First, load a font asset:

```rust
let font: Handle<TextMeshFont> = asset_server.load("fonts/FiraSans-Medium.ttf");
let font: Handle<TextMeshFont> = asset_server.load("fonts/FiraSans-Medium.ttf#mesh");
```

Then, spawn a textmesh bundle:
Expand Down
2 changes: 1 addition & 1 deletion examples/2d_text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use bevy_text_mesh::TextMeshPlugin;

fn main() {
App::new()
.add_plugins((DefaultPlugins, TextMeshPlugin))
.add_plugins((DefaultPlugins, TextMeshPlugin)) // TextMeshPlugin for interop check
.add_systems(Startup, setup)
.add_systems(Update, animate_rotation)
.run();
Expand Down
2 changes: 1 addition & 1 deletion src/mesh_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub(crate) fn text_mesh(
state.warning_trigger_count += 1;

if state.warning_trigger_count > 5 {
warn!("font mesh not found - did you load the font? (`asset_server.load('font.ttf'))`");
warn!("font mesh not found - did you load the font? (`asset_server.load('font.ttf#mesh'))`");
state.warning_shown = true;
}
}
Expand Down

0 comments on commit 677f8f8

Please sign in to comment.