0.1 Beta Release 0
Pre-release
Pre-release
IMPORTANT: BREAKING changes from previous version:
- Changed the way the
RestApiHandler.add_endpoint
decorator works:- Instead of having the decorator above a function which returns a nested class, the decorator will instead go directly above the class that extends
ConnectionResource
. To use the connection, useself.conn
in the methods.
- Instead of having the decorator above a function which returns a nested class, the decorator will instead go directly above the class that extends
Changes from previous version:
- Added the
SendQueue
andReceiveQueue
objects which allow the user to use the send queues and receive queues without accidentally breaking the program- Added tests for these objects
- Added the ability for the user to define a custom IO thread with a connection object, the
ReceiveQueue
, and theSendQueue
- Added constants for the common baud rates:
NORMAL_BAUD_RATE
: 9600 bits/secFAST_BAUD_RATE
: 115200 bits/sec
- Added the ability to initialize with multiple ports, addressing #39
- Added the ability to add cross origin resource sharing to the Flask object in the
RestApiHandler
- Added verbose mode where the program will print arguments received from request to
stdout
- Formatted code using black
- Added more tests that actually test that the data is being sent and received correctly, addressing #34
- Added a changelog to keep track of changes