Changelog¶
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.
2.0.0 - 2021-04-18¶
Fixed
- POTENTIAL BREAKING CHANGE: The
Client
’ssend_once
method was sending an IR code twice by default. This is because therepeat_count
keyword argument was set to 1 instead of 0, causing it to send the initial IR code and repeat it once. This now defaults to 0. - The
Darwin
connection to lircd was set to default to/opt/run/var/run/lirc/lircd
when it should have been/opt/local/var/run/lirc/lircd
. This is unlikely to have an impact since the previous default directory was incorrect.
1.0.1 - 2020-12-26¶
Fixed
- PyPI is complaining that v1.0.0 is already taken, since it was a release that was deleted from a previous mistake.
1.0.0 - 2020-12-26¶
Added
DefaultConnection.address
andDefaultConnection.socket
may raises anUnsupportedOperatingSystemError
if the operating system you’re on is not MacOS, Linux, or Windows.
Changed
lirc.Client
raises aTypeError
instead of aValueError
now if aconnection
is passed in that is not an instance ofLircdConnection
.send
onlirc.Client
is now calledsend_once
.start_repeat
onlirc.Client
is now calledsend_start
.stop_repeat
onlirc.Client
is now calledsend_stop
.
Removed
socket
property fromLircdConnection
.
Fixed
- The
remote
andkey
optional arguments to thelirc.Client
’sstop_repeat
method were not overriding the last sent remote and key.
0.2.0 - 2020-12-13¶
Added
LircdConnection
to handle configuring the connection onClient
.
Changed
Lirc
is now namedClient
.Client
now takes in aconnection
as the optional argument to configure it’s connection. Thatconnection
must be aLircdConnection
class if you would like to customize the connection. TheLircdConnection
takes in anaddress
,socket
, andtimeout
with optional keyword arguments. Anything not specified with use the defaults for that operating system.
Removed
DEFAULT_SOCKET_PATH
constant onClient
. It no longer makes sense with cross-platform support.ENCODING
constant onClient
.socket_path
andsocket_timeout
on theLirc
constructor.
0.1.0 - 2020-07-13¶
- Initial Release