Skip to content

Latest commit

 

History

History
104 lines (84 loc) · 3.93 KB

CHANGELOG.md

File metadata and controls

104 lines (84 loc) · 3.93 KB

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

0.5.3 - 2022-02-10

Added

  • Mmap::advise and MmapMut::advise. @nyurik

0.5.2 - 2022-01-10

Added

  • flush, flush_async, flush_range and flush_async_range to MmapRaw matching the corresponding methods on MmapMut. @cberner

0.5.1 - 2022-01-09

Fixed

  • Explicitly call fstat64 on Linux, emscripten and l4re targets. @adamreichold

0.5.0 - 2021-09-19

Added

  • MmapOptions accepts any type that supports RawHandle/RawFd returning now. This allows using memmap2 not only with Rust std types, but also with async-std one. @adamreichold
  • (unix) Memoize page size to avoid repeatedly calling into sysconf machinery. @adamreichold

Changed

  • (win) Use std::os::windows::io::AsRawHandle directly, without relying on std::fs::File. @adamreichold
  • Do not panic when failing to release resources in Drop impls. @adamreichold

0.4.0 - 2021-09-16

Added

Changed

  • Mapping of zero-sized files is no longer an error. @SimonSapin
  • MSRV changed from 1.31 to 1.36

0.3.1 - 2021-08-15

Fixed

  • Integer overflow during file length calculation on 32bit targets.
  • Stub implementation. @Mrmaxmeier

0.3.0 - 2021-06-10

Changed

  • MmapOptions allows mapping using Unix descriptors and not only std::fs::File now. @mripard

0.2.3 - 2021-05-24

Added

  • Allow compilation on unsupported platforms. The code will panic on access just like in std. @jcaesar

0.2.2 - 2021-04-03

Added

Fixed

  • Fix alignment computation for flush_async to match flush. @adamreichold

0.2.1 - 2021-02-08

Added

  • MmapOptions::map_raw and MmapRaw. @diwic

0.2.0 - 2020-12-19

Changed

  • MSRV is 1.31 now (edition 2018).
  • Make anonymous memory maps private by default on unix. @CensoredUsername
  • Add map_copy_read_only. @zseri

0.1.0 - 2020-01-18

Added

Changed

  • Use LICENSE-APACHE instead of README.md for some tests since it's immutable.

Removed