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.
- Bump
futures-liteto2.6.1 - Bump
serialportto4.7.3 - Bump
reqwestto0.12.23 - Bump
imageto0.25.8 - [BREAKING] Bump
nusbto0.2.0 - [BREAKING] Update to Rust 2024 edition and MSRV to
1.85due to transitive dependencies (moxcms)
- Add
UsbOptionsupport forUsbDriver(#44)
- Bump
nusbto0.1.14 - Bump
reqwestto0.12.20 - Bump
serialportto4.7.2
- Update MSRV to
1.82.0because areqwestdependency needs this version (Tests in CI failed) - Fix CI
- Fix examples failing when cd'd into the examples directory (#43)
- Push remaining bits when breaking from bitmap creation (#42)
- Fix documentation (#40)
- Bump
nusbto0.1.13 - Bump
logto0.4.27 - Bump
env_loggerto0.11.8 - Bump
imageto0.25.6 - Bump
reqwestto0.12.15 - Bump
serialportto4.7.1 - Update Tauri example
- Allow non-utf8 encodings to be used for Encoder (#37)
- Bump
futures-liteto2.6.0 - Bump
logto0.4.25 - Bump
serialportto4.7.0
- Fix Tauri example in
examples/EXAMPLES.md
- Add a new UI
Linecomponent - Add a state for printer styles
- Add a new example for using pictures (
examples/pictures.rs) - Add a new Tauri example (#36)
- Set
rust_versionto1.80inCargo.toml - Bump
serialportto4.6.1 - Bump
encoding_rsto0.8.35 - Bump
reqwestto0.12.12 - Bump
futures-liteto2.5.0 - Bump
imageto0.25.5 - Bump
nusbto0.1.12 - Bump
env_loggerto0.11.6
- Update examples
- [BREAKING] Remove
debug()inPrinteranddebug.rsexample - Update
CI.ymlto use MSRV Rust toolchain - Replace
Rc<RefCell<T>>byArc<Mutex<T>>in drivers (#36)
- Add
CloneandCopytraits onUnderlineModeandFont(#33) - Bump
serialportto4.5.1
- [BREAKING] Add
PrinterOptionstoPrinterinstead ofPageCode
Before:Now:let mut printer = Printer::new(driver, Protocol::default(), Some(PageCode::PC858));
Or with default options values:let printer_options = PrinterOptions::new(Some(PageCode::PC858), None, 42); let mut printer = Printer::new(driver, Protocol::default(), Some(printer_options));
let mut printer = Printer::new(driver, Protocol::default(), None);
- Remove
lazy_staticand use standard libraryLazyLockinstead - Bump
imageto0.25.2 - Bump
nusbto0.1.10 - Bump
env_loggerto0.11.5 - Bump
hidapito2.6.3 - Bump
serialportto4.5.0
- Fix documentation and
README.md
- Fix documentation
- Fix documentation
- [BREAKING] Add timeout to
NetworkDriver
- Improve errors in
UsbDriver - Bump
nusbto0.1.8
- Add table for page codes:
KatakanaPC850PC851PC853PC857PC737PC863PC866WPC775PC855PC861PC862PC869PC1118PC1119PC1125WPC1250WPC1251WPC1253WPC1254WPC1257KZ1048
- Bump
encoding_rsto0.8.34
- Add native USB driver support with nusb
- [BREAKING] Rename
GraphicDensity::HighttoGraphicDensity::High
- Fix typo
- Add printer status (
DLE EOTcommand)
- Fix USB driver interface number
- Add tables for page codes
PC860andWPC1252
- Fix USB driver
- Fix unsupported
detach_kernel_driverfunction on Windows
- Add tables for page codes
ISO8859_2,ISO8859_7andISO8859_15 - Add
USB,HidApiandSerial portdrivers
- Bump
imageto0.25.0 - Bump
logto0.4.21 - Bump
env_loggerto0.11.3
- Add 2 new methods
bit_image_from_bytesandbit_image_from_bytes_optiontoPrinter
- Bump
imageto0.24.9
- Add Page Code 852
- Implement
std::error::Errortrait forPrinterError
- Fix typo
- [BREAKING] Manage special characters by using Page Code tables (only
PC437,PC865andPC858are currently implemented).
Thenewmethod forPrinterhas a third parameter to specify the Page Code to use.
Before:Now:Printer::new(driver, Protocol::default())
Printer::new(driver, Protocol::default(), None) Printer::new(driver, Protocol::default(), Some(PageCode::PC858))
- Bump
env_loggerto0.11.2
- Fix typo
- Add Copy and Clone traits to JustifyMode and CashDrawer enums #4
- Bump
env_loggerto0.11.1 - Bump
imageto0.24.8
- Fix Barcode options #2
- Add Aztec 2D code
- [BREAKING] Change barcodes and 2D codes option signature
- Fix
lib.rsdocumentation
- Add 2 new methods
customandcustom_with_page_codetoPrinter - Add MaxiCode 2D code
- Add DataMatrix 2D code
- [BREAKING] Merge
qrcode,gs1_databarandpdf417intocodes_2dfeature - Improve
receipt.rsandcodes.rsexamples
- Add PDF417
- Bump
env_loggerto0.10.1
- Add Select character code table command
- Add Select an international character set
- Add 2D GS1 DataBar
- Add new example
- Change description in
Cargo.toml - Add features information on docs.rs
- Add
CHANGELOG.mdfile - Add GitHub action
- Add examples (in
examplesdirectory)
- Improve documentation and
README.md - Add "option" to all barcodes
barcodeandqrcodefeatures are now enabled by default- [BREAKING] Remove unused
PrinterError::Networkitem - [BREAKING] Change
Printerfunctions signature fromfn(self) -> Result<Self>tofn(&mut self) -> Result<&mut Self>