Releases: Sija/gphoto2.cr
Releases · Sija/gphoto2.cr
v0.14.0
What's Changed
- Expand
CameraFolder#put
signature to allow for additional file properties - Add
CameraFile#data=
setter - Add
CameraFile#mime_type
property - Add
CameraFile#mtime
property - Remember to check the input for
NULL
bytes
Full Changelog: v0.13.0...v0.14.0
v0.13.0
What's Changed
- Add
CameraFolder#put
method, allowing for file upload
Full Changelog: v0.12.0...v0.13.0
v0.12.0
What's Changed
- Add
CameraFolder#mkdir
method, allowing for folder creation - Normalize and absolutize the input path in
Camera#filesystem
andCamera#blob
- Make
CameraFileInfo::{File,Preview}#{width,height}
return signed int - Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows by @dependabot in #41
New Contributors
- @dependabot made their first contribution in #41
Full Changelog: v0.11.0...v0.12.0
v0.11.0
- Use
Path
throughout theCamera::Filesystem
,CameraFile
andCameraFolder
APIs - Remove
CameraFile.join
method, obsolete now - Remove
CameraFile#extension
method, as there'sCameraFile#path
now - Add
Camera::Filesystem#blob
QoL helper - Add
Camera::ID#serialnumber
QoL helper - Relax type restriction in
Camera::Configuration#preserving_config
Full Changelog: v0.10.2...v0.11.0
v0.10.2
- Check for
NUL
bytes in strings passed toCameraWidget::Text
- Do not memoize
CameraWidget::Range#get_range
method
Full Changelog: v0.10.1...v0.10.2
v0.10.1
- Turn
CameraFile
into a struct - Fix missed type rename
Full Changelog: v0.10.0...v0.10.1
v0.10.0
- Add
Camera::ID
extension - Add ZIP compression helpers to
CameraFolder
- Add
CameraWidget::Base#value?
- Add
CameraFolder#up?
method - Remove
CameraWidget::Base#==(other : Regex)
overload - Rename:
File#deletable?
->File#removable?
- Rename:
CameraFolder#up
->CameraFolder#parent
- Fix incorrect calculations in
CameraWidget::Text#set_value
- Fix incorrect usage of postfix
rescue
- Tighten up many APIs w/ re: to the argument types (i.e. return Crystal types)
- Use scoped enum aliases
- Memoize some of the
CameraWidget::Base
static properties - Refactor
CameraWidget::Range
- Refactor
CameraWidget::Base#in?
method - Refactor
CameraList
and remove obsoleteEntry
class - Always return
String
fromCameraWidget::Text#get_value
- Return
#path
inCamera{File,Folder}#to_s
Full Changelog: v0.9.1...v0.10.0
v0.9.1
v0.9.0
- Compatibility with Crystal
0.36.0
- Made text-based widgets accept
Symbol
as value (converted to a capitalised string::automatic
->“Automatic”
) - Made radio widget accepts
Enumerable
andRange
values (using first fromchoices
matching the given value) - Updated examples
v0.8.0
- Compatibility with Crystal
0.35.1
- Removed
Camera.autorelease
method, which wasn't very useful anyway (Camera#autorelease
is still present) - Changed
Camera.where
to accept only named arguments (Camera.where(model: /Canon/)
) - Changed
timeout
argument type toTime::Span
forCamera::Event#wait
- Added optional
timeout
argument toCamera::Event#wait_for
- Changed
CameraFile#save
to take additionally aPath
object as destination - Changed many methods to accept only enums instead of
Symbol | String
variants as before - Lots of code and APIs cleanups