Skip to content

0.1 Beta Release 0

Pre-release
Pre-release
Compare
Choose a tag to compare
@jonathanhliu21 jonathanhliu21 released this 17 Dec 21:32
621fc2d

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, use self.conn in the methods.

Changes from previous version:

  • Added the SendQueue and ReceiveQueue 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 the SendQueue
  • Added constants for the common baud rates:
    • NORMAL_BAUD_RATE: 9600 bits/sec
    • FAST_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