Skip to content

Latest commit

 

History

History
202 lines (161 loc) · 6.71 KB

CHANGELOG.md

File metadata and controls

202 lines (161 loc) · 6.71 KB

Changelog

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.33.1 - 2024-11-16

Fixed

  • Fixed a panic when opening a device with strings containing null bytes.

0.33.0 - 2024-09-05

Added

  • Added FT240X EEPROM.

Fixed

  • Removed FtdiMpsse for Ft232r because it is unsupported.

0.32.5 - 2024-08-19

Added

  • Added support for the 4232HA

0.32.4 - 2024-03-04

Added

  • Added EEPROM implementations for the 232R.

0.32.3 - 2023-10-19

Fixed

  • Allow a value of 0ms for set_latency_timer.

0.32.2 - 2022-12-14

Fixed

  • Fixed a typo where EEPROM drive-current sets schmitt input instead.

0.32.1 - 2022-08-27

Added

  • Implement Send and Sync for Ftdi.

Changed

  • Updated the edition from 2018 to 2021.

0.32.0 - 2021-11-07

Added

  • Added Drop for FTDI types that will call close.

Changed

  • Moved FTDI MPSSE types to a separate crate, ftdi-mpsse. These types are re-exported by this crate to reduce the number of breaking changes.

0.31.0 - 2021-06-30

Added

  • Added compile-time MPSSE command construction macros.

Changed

  • Updated libftd2xx-ffi dependency from 0.8.0 to 0.8.3.

0.30.0 - 2021-06-12

Added

  • Added support for x86_64-apple-darwin, dynamic linking only.

Changed

  • Updated libftd2xx-ffi dependency from 0.7.0 to 0.8.0.

0.29.0 - 2021-05-29

Added

  • Added a device_type function to work around a bug in the native device_info function.
  • Added wait_on_io_high and wait_on_io_low MPSSE commands.

Changed

  • Changed the TryFrom<Ftdi> trait implementations to use the new device_type function instead of device_info.

0.28.0 - 2021-04-03

Added

  • Added support for the FT2232H.

0.27.0 - 2021-03-27

Added

  • Added the static feature flag to enable switching between static and dynamic linking of the vendor library.

Changed

  • Changed the default linking strategy on Linux targets to dynamic. Note: To retain previous functionality with dynamic linking on Windows and static linking on Linux use cargo's resolver version 2.

0.26.0 - 2021-03-20

Added

  • Added Debug for all FTDI device structures.

Changed

  • Changed the with_description argument name from serial_number to description.
  • Changed Ft232h and Ft4232h TryFrom traits from a borrow to a move.

0.25.1 - 2021-03-13

Fixed

  • Fixed list_devices_fs returning an Err when FTDI devices with invalid EEPROMs are plugged in.

0.25.0 - 2021-02-28

Changed

  • Updated libftd2xx-ffi dependency from 0.5.1 to 0.6.0. This updates the vendor library from 1.4.8 to 1.4.22 for Linux targets.

0.24.1 - 2021-01-30

Changed

  • Streamlined udev rules recommendations.
  • Improved documentation annotations for platform-specific features.

Fixed

  • Fixed compilation errors for aarch64-unknown-linux targets.

0.24.0 - 2020-12-28

Changed

  • BREAKING CHANGE read and write methods now return Result<usize, FtStatus> where usize is the the number of bytes read or written. Previous read and write functionality that returned Result<(), TimeoutError> is replaced by read_all and write_all.

0.23.0 - 2020-10-23

Changed

  • synchronize_mpsse will now timeout if no read data is received and a read timeout has been set.

0.22.0 - 2020-10-15

Added

  • Added list_devices_fs to work around vendor driver bug.
  • Added DeviceType::with_pid.

Changed

  • Speed, DeviceType, and DeviceInfo derive Ord and PartialOrd.
  • The return vector from list_devices is now sorted.

0.21.1 - 2020-10-08

Fixed

  • Expose ClockBits, ClockBitsIn, ClockBitsOut enums.

0.21.0 - 2020-10-07

Added

  • Added methods to MpsseCmdBuilder for clocking data bits in and out.

Fixed

  • Modified clock_data_in in MpsseCmdBuilder to accept usize instead of u16 to allow for the maximum command size (65536) to be used.

0.20.0 - 2020-10-05

Changed

  • Changed logging in set_bit_mode to hex.

Fixed

  • Remove unnecessary mutable reference in MpsseCmdBuilder.

0.19.0 - 2020-09-30

Changed

  • Changed the arguments of the clock_data_in method in MpsseCmdBuilder to allow take a data length instead of a u8 buffer.

0.18.0 - 2020-09-26

Added

  • Added MpsseCmdBuilder to enable writing commands in batches.

0.17.0 - 2020-09-13

Added

  • Added a changelog.

Changed

  • Added a clock_frequency field to MpsseSettings.

Prior releases

A changelog was not kept for prior releases.