Releases: maxicarlos08/gphoto2-rs
Releases · maxicarlos08/gphoto2-rs
3.1.0
- Added a API to download preview images (by @hfiguiere #49)
- Added ability to download only the metadata of a file (by @hfiguiere #53)
- Added serde support for some data types (by @maxicarlos08 #54)
2.0
Breaking changes
- Many methods now return a
String
instead ofCow<str>
, for safety - The way widgets work has completely changes (@RReverser, #13)
- Some methods that previously returned a Result are now Infallible (they return the value directly) (@RReverser, #17)
- Some integer types have changed to prevent accuracy errors (@RReverser, #19)
- Camera file content is now downloaded via
CameraFS::download
I'm sure I forgot some here, just expect your old code to not run with the new version
Fixes
CamreaFS::ls_folder
had a copy paste mistake (@RReverser, #14)- Bitmask enums where not handled correctly (@RReverser, #15)
- Large structures have been put in a
Box
(@RReverser, #16) - Lock a mutex when calling libgphoto2 functions that are not thread-safe to work around libtool threading issues (@maxicarlos08, #24)
- Fix some issues with CameraFile (@maxicarlos08, #21)
- Fixed order of arguments in
gp_camera_file_get_file
(@gKodes)
New features
- The gphoto2 logging system has been hooked up to the rust one, this should make your debugging life easier (@RReverser, #26 and #29)
- You can now set gphoto2 context progress functions (@maxicarlos08, #37)
New Contributors
Full Changelog: 1.5.0...2.0
1.4.0
API changed:
- InnerPtr/Inner are now AsRef/AsMut #8 (by @RReverser)
- Some methods now return a String instead of Cow
Bugs fixed:
- Incorrect handling of bitfield enums #9 (by @RReverser)
- C String stack-use-after-return #7
- Incorrect usage of MaybeUninit #5 (by @RReverser)
- Segfault in StorageInfo #4 (by @RReverser)
1.3.0
What's Changed
- Add Windows support by @RReverser in #2
- Changed license to LGPL-v2.1 (#3)
- Added
Inner
andInnerPtr
traits which allow access to the inner libgphoto2 pointers (unsafe)
New Contributors
- @RReverser made their first contribution in #2
Full Changelog: 1.2.0...1.3.0