Skip to content

Commit

Permalink
Add Debug trait to PagesInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
marioCluml committed Feb 14, 2024
1 parent ec69d13 commit 7c73837
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ file is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and
this project adheres to [Semantic
Versioning](https://semver.org/spec/v2.0.0.html).

## [0.8.2] - 2024-02-13

### Changed

- Add `Debug` to `PagesInfo` in order to support unit tests.

## [0.8.1] - 2023-11-20

### Changed
Expand Down Expand Up @@ -135,6 +141,7 @@ Versioning](https://semver.org/spec/v2.0.0.html).

- Initial release.

[0.8.2]: https://github.com/aicers/frontary/compare/0.8.1...0.8.2
[0.8.1]: https://github.com/aicers/frontary/compare/0.8.0...0.8.1
[0.8.0]: https://github.com/aicers/frontary/compare/0.7.5...0.8.0
[0.7.5]: https://github.com/aicers/frontary/compare/0.7.4...0.7.5
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 = "frontary"
version = "0.8.1"
version = "0.8.2"
edition = "2021"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion src/pages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use wasm_bindgen::JsCast;
use web_sys::{HtmlInputElement, KeyboardEvent};
use yew::{events::InputEvent, html, Component, Context, Html, Properties};

#[derive(Clone, Copy, PartialEq, Eq)]
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
pub struct Info {
// starts at 1
pub current: usize, // current page
Expand Down

0 comments on commit 7c73837

Please sign in to comment.