Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More chrono::Duration usage in the API #375

Merged
merged 5 commits into from
Jan 3, 2023
Merged

Conversation

marioortizmanero
Copy link
Collaborator

Description

This uses more chrono::Duration in the API, as opposed to the more basic i32 and u32. It also renames some fields to position from position_ms

Motivation and Context

I noticed this in #366; using chrono::Duration is more versatile and idiomatic. Not sure if I missed any cases.

Dependencies

Nothing new.

Type of change

Please delete options that are not relevant.

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How has this been tested?

CI still passes

Is this change properly documented?

Yes

CHANGELOG.md Outdated Show resolved Hide resolved
@ramsayleung ramsayleung merged commit 55255bb into master Jan 3, 2023
@ramsayleung ramsayleung deleted the more-chrono-duration branch January 3, 2023 06:22
@jirutka
Copy link
Contributor

jirutka commented May 6, 2023

This is a breaking change, so the major version should have been bumped. Introducing it in a patch version is really not good.

@ramsayleung
Copy link
Owner

Yes, it should be. I would like to release a new version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants