Skip to content
This repository was archived by the owner on Feb 16, 2025. It is now read-only.

Commit

Permalink
Prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
jcornaz committed Aug 7, 2022
1 parent 46126d0 commit 30748eb
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## Unreleased

<csr-id-726db9eeb16384999c164fa04215f22a7a474651/>
<csr-id-bdba0a0494fa417f9f9d48b133b69e459b34e510/>

### New Features (BREAKING)

- <csr-id-2b9dd43edf3224be09447bf0709d62a2c9255b3c/> Rename `from_range` and `from_iter` to `from_indices`
- <csr-id-7eb14dd14f1fe7ff063d3c47db2100e4fea208cf/> Allow to define animation FPS of total duration (on top of the existing frame-duration)
Now `Animation::from_iter` and `Animation::from_range` take a `FrameRate` instead of a duration.
The `FrameRate` can be created from a *frame duration*, *total duration* or a from a *fps* (frame-per-second).

### New Features

- <csr-id-46126d0cce5c934d8c9c01928d22cf18af5f3207/> Deserialize `fps` property

## 4.0.0-beta.2 (2022-08-02)

<csr-id-700ecedec8332c2e03714e881c6da8523b241719/>
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "benimator"
version = "4.0.0-beta.2"
version = "4.0.0-beta.3"
edition = "2021"
rust-version = "1.62"
authors = ["Jonathan Cornaz"]
Expand Down
2 changes: 1 addition & 1 deletion assets/coin.animation.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
mode: Repeat
frame_duration: 100
fps: 12
frames: [0, 1, 2, 3, 4]

0 comments on commit 30748eb

Please sign in to comment.