Skip to content

Releases: fabienbellanger/escpos-rs

v0.17.0

15 Sep 14:12

Choose a tag to compare

  • Bump futures-lite to 2.6.1
  • Bump serialport to 4.7.3
  • Bump reqwest to 0.12.23
  • Bump image to 0.25.8
  • [BREAKING] Bump nusb to 0.2.0
  • [BREAKING] Update to Rust 2024 edition and MSRV to 1.85 due to transitive dependencies (moxcms)

See CHANGELOG.md for more details

v0.16.0

30 Jun 09:31

Choose a tag to compare

  • Add UsbOption support for UsbDriver (#44) (Thanks to @enkhjile)

See CHANGELOG.md for more details

v0.15.3

23 Jun 09:03

Choose a tag to compare

  • Bump nusb to 0.1.14
  • Bump reqwest to 0.12.20
  • Bump serialport to 4.7.2
  • Update MSRV to 1.82.0 because a reqwest dependency needs this version (Tests in CI failed)
  • Fix CI
  • Fix examples failing when cd'd into the examples
    directory (#43) (Thanks to @clonejo)

See CHANGELOG.md for more details

v0.15.2

11 Apr 10:17

Choose a tag to compare

  • Fix push remaining bits when breaking from bitmap creation (#42) (Thanks to @hannes-dev)

See CHANGELOG.md for more details

v0.15.1

04 Apr 16:04

Choose a tag to compare

  • Fix documentation (#40) (Thanks to @valbertVieira)
  • Bump nusb to 0.1.13
  • Bump log to 0.4.27
  • Bump env_logger to 0.11.8
  • Bump image to 0.25.6
  • Bump reqwest to 0.12.15
  • Bump serialport to 4.7.1
  • Update Tauri example

See CHANGELOG.md for more details

v0.15.0

16 Jan 12:51

Choose a tag to compare

  • Allow non-utf8 encodings to be used for Encoder (#37) (Thanks to @coolreader18)
  • Bump futures-lite to 2.6.0
  • Bump log to 0.4.25
  • Bump serialport to 4.7.0
  • Fix Tauri example in examples/EXAMPLES.md

See CHANGELOG.md for more details

v0.14.0

08 Jan 12:10

Choose a tag to compare

  • Add a new UI Line component
  • Add a state for printer styles
  • Add a new example for using pictures (examples/pictures.rs)
  • Add a new Tauri example (#36)
  • Update examples
  • [BREAKING] Remove debug() in Printer and debug.rs example
  • Update CI.yml to use MSRV Rust toolchain
  • Replace Rc<RefCell<T>> by Arc<Mutex<T>> in drivers (#36)
  • Set rust_version to 1.80 in Cargo.toml
  • Bump serialport to 4.6.1
  • Bump encoding_rs to 0.8.35
  • Bump reqwest to 0.12.12
  • Bump futures-lite to 2.5.0
  • Bump image to 0.25.5
  • Bump nusb to 0.1.12
  • Bump env_logger to 0.11.6

See CHANGELOG.md for more details

v0.13.1

14 Oct 12:16

Choose a tag to compare

  • Add Clone and Copy traits on UnderlineMode and Font (#33) (Thanks to @linky00)
  • Bump serialport to 4.5.1

See CHANGELOG.md for more details

v0.13.0

08 Aug 09:30

Choose a tag to compare

Changed

  • [BREAKING] Add PrinterOptions to Printer instead of PageCode [#27]
    Before:
    let mut printer = Printer::new(driver, Protocol::default(), Some(PageCode::PC858));
    Now:
    let printer_options = PrinterOptions::new(Some(PageCode::PC858), None, 42);
    let mut printer = Printer::new(driver, Protocol::default(), Some(printer_options));
    Or with default options values:
    let mut printer = Printer::new(driver, Protocol::default(), None);
  • Remove lazy_static and use standard library LazyLock instead [#27]
  • Bump image to 0.25.2 [#27]
  • Bump nusb to 0.1.10 [#27]
  • Bump env_logger to 0.11.5 [#27]
  • Bump hidapi to 2.6.3 [#27]
  • Bump serialport to 1.5.0 [#27]

Fixed

  • Fix documentation and README.md [#27]

See CHANGELOG.md for more details

v0.12.2

23 Apr 11:31

Choose a tag to compare

  • Fix documentation

See CHANGELOG.md for more details