Skip to content

Latest commit

 

History

History
257 lines (156 loc) · 6.49 KB

CHANGELOG.adoc

File metadata and controls

257 lines (156 loc) · 6.49 KB

Changelog

0.7.0 - 2024-05-26

Changed

  • Change TryFrom<FileTime> for OffsetDateTime to return time::error::ComponentRange instead of OffsetDateTimeRangeError (#167)

  • Change TryFrom<FileTime> for zip::DateTime to return zip::result::DateTimeRangeError (#168)

Removed

  • Remove OffsetDateTimeRangeError (#167)

0.6.13 - 2024-05-24

Fixed

  • Fix error message for DosDateTimeRangeError and DosDateTimeRangeErrorKind (#163)

0.6.12 - 2024-05-20

Added

  • Add methods to compare and order between FileTime and zip::DateTime (#158)

  • Add methods to subtract between FileTime and zip::DateTime (#158)

0.6.11 - 2024-05-19

Added

  • Add zip::DateTime integration (#153)

Changed

  • Use TimeDelta::seconds instead of TimeDelta::try_seconds (#151)

  • Split file_time.rs into submodules (#154)

0.6.10 - 2024-04-08

Changed

  • Change position of package.metadata.docs.rs

0.6.9 - 2024-03-03

Added

  • Add operators for chrono (#126)

0.6.8 - 2024-02-28

Changed

  • Bump MSRV to 1.74.0 (#114)

  • Change chrono::Duration to chrono::TimeDelta (#123)

0.6.7 - 2024-01-18

Changed

  • Change copyright notice in LICENSES/MIT.txt

0.6.6 - 2024-01-07

Changed

  • Change to use bump-my-version

0.6.5 - 2023-12-07

Changed

  • Reduce package size

0.6.4 - 2023-12-02

Added

  • Implement FromStr for FileTime (#80)

Changed

  • Limit the valid UTC offset for FileTime::to_dos_date_time and FileTime::from_dos_date_time to the range "UTC-16:00" to "UTC+15:45" (#83)

Fixed

  • Fix FileTime::to_dos_date_time and FileTime::from_dos_date_time to return None as the UTC offset if the number of seconds of the UTC offset is not zero (#81)

0.6.3 - 2023-11-26

Added

  • Implement fmt::Octal, fmt::LowerHex, fmt::UpperHex, fmt::Binary, fmt::LowerExp and fmt::UpperExp for FileTime (#75)

  • Add conversion methods from/to i64 (#76)

0.6.2 - 2023-11-24

Added

  • Add conversion methods from/to MS-DOS date and time (#70)

Changed

  • Bump MSRV to 1.70.0 (#68)

0.6.1 - 2023-11-04

Added

  • Add Code of Conduct (#59)

Changed

  • Bump actions/checkout from 3 to 4 (#44)

  • Update documentation for FileTime (#60)

0.6.0 - 2023-09-03

Changed

  • Remove unnecessary newline after period (#33)

  • Bump MSRV to 1.67.0 (#36)

  • Change parameters of methods to pass-by-reference (#39)

0.5.3 - 2023-08-09

Added

  • Add unit tests when FileTime is i64::MAX (#30)

0.5.2 - 2023-08-06

Changed

  • Rename parameters of methods (#25)

0.5.1 - 2023-08-01

Changed

  • Change the comment header to the format recommended by the REUSE Specification (#22)

  • Make this project REUSE compliant (#23)

  • Pin the version of time crate to 0.3.23 (#24)

0.5.0 - 2023-05-15

Added

  • Add FileTime::to_raw as an alternative to FileTime::as_u64

Changed

  • Change to use datetime macro in doctests

  • Bump MSRV to 1.65.0

Deprecated

  • Change FileTime::as_u64 to deprecated

0.4.1 - 2023-04-25

Removed

  • Remove once_cell from dependencies

0.4.0 - 2023-04-21

Added

  • Add doctests for Serialize and Deserialize

  • Add conversion methods from/to Unix time

  • Add Serde support for Unix time

  • Re-export serde crate

Changed

  • Rename FileTime::NT_EPOCH to FileTime::NT_TIME_EPOCH

  • Rename serde to serde_with

0.3.0 - 2023-04-17

Added

  • Add Serde support

Changed

  • Change FileTimeRangeErrorKind to public

0.2.0 - 2023-04-14

Added

  • Add impl From<FileTime> for SystemTime

  • Add FileTime::UNIX_EPOCH constant

  • Add FileTime::now method

  • Add conversion methods from/to chrono::DateTime

  • Add methods for operation with time::Duration

  • Add conversion methods from/to byte arrays

  • Add methods to subtract from/to SystemTime

  • Add methods to subtract from/to time::OffsetDateTime

  • Add methods to subtract from/to chrono::DateTime<chrono::Utc>

  • Add methods for equality comparisons from/to SystemTime, time::OffsetDateTime and chrono::DateTime<chrono::Utc>

  • Add methods for order comparisons from/to SystemTime, time::OffsetDateTime and chrono::DateTime<chrono::Utc>

Changed

  • impl TryFrom<SystemTime> for FileTime always supports after 9999-12-31 23:59:59.999999900 UTC

Removed

  • Remove impl TryFrom<FileTime> for SystemTime

Fixed

  • Fix OffsetDateTimeRangeError description

  • Fix FileTimeRangeError description

  • Fix operation of impl Sub for FileTime if the difference is large

0.1.0 - 2023-03-27

Added

  • Initial release