Skip to content

Releases: maxicarlos08/gphoto2-rs

3.1.0

21 Jan 13:05
3.1.0
e391103
Compare
Choose a tag to compare

2.0

03 Oct 17:20
2.0
5c75b13
Compare
Choose a tag to compare
2.0

Breaking changes

  • Many methods now return a String instead of Cow<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

20 Sep 20:01
1.4.0
c9dafbb
Compare
Choose a tag to compare

API changed:

  • InnerPtr/Inner are now AsRef/AsMut #8 (by @RReverser)
  • Some methods now return a String instead of Cow

Bugs fixed:

1.3.0

31 Aug 10:01
1.3.0
eafa191
Compare
Choose a tag to compare

What's Changed

  • Add Windows support by @RReverser in #2
  • Changed license to LGPL-v2.1 (#3)
  • Added Inner and InnerPtr traits which allow access to the inner libgphoto2 pointers (unsafe)

New Contributors

Full Changelog: 1.2.0...1.3.0