Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 5.0.0 #280

Merged
merged 11 commits into from
Jul 10, 2024
Merged

🚀 5.0.0 #280

merged 11 commits into from
Jul 10, 2024

Commits on Jul 9, 2024

  1. Replacing RPi.GPIO with gpiozero and lgpio to support Raspberry…

    … Pi 5 (#274)
    
    * move to gpiozero
    
    * fix: use same relay object
    
    * fix: inverted state
    
    * fix(driver): add class method for get_or_create_Relay
    
    * fix(driver): fix xor
    
    * fix(__init__): remove useless space
    
    * fix(driver): remove to_return + add explicit pin_factory + fix xor
    
    * feat: drop support to py<=3.8
    
    * fix(test): fix test_driver
    
    * fix(test_driver): revert test data + fix test + add get_or_create test
    
    * fix(test): remove test_driver_get_or_create
    
    * fix(test): fix init tests
    
    * fix(driver): add typing to relays list + fix mypy config
    
    * fix(test): remove unused import
    
    * fix(driver+test): remove Trailing whitespaces
    ch3p4ll3 authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    5910756 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fec1ea9 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. Fixing driver for automatic pin factory (#281)

    * fix(driver): remove explicit PinFactory (to be tested)
    
    * fix(setup): add RPi.GPIO
    ch3p4ll3 authored Jul 10, 2024
    Configuration menu
    Copy the full SHA
    197d511 View commit details
    Browse the repository at this point in the history
  2. Minor: reducing diff

    RobinTail authored Jul 10, 2024
    Configuration menu
    Copy the full SHA
    2ab5c5c View commit details
    Browse the repository at this point in the history
  3. Remove typing-extensions (#215)

    * Drop Python 3.7 (EOL).
    
    * Type constraints for the list of Tasks.
    
    * Revert "Type constraints for the list of Tasks."
    
    This reverts commit 946f697.
    
    * Removing typing-extensions.
    RobinTail authored Jul 10, 2024
    Configuration menu
    Copy the full SHA
    12056c0 View commit details
    Browse the repository at this point in the history
  4. Restore standalone xor (#282)

    * Restore standalone xor in driver.
    
    * Ref: Simpler truthy condition in Relay::toggle().
    
    * Simpler conditional invocation of on/off in Relay::toggle().
    
    * Reusing xor() in the condition of Relay::get_or_create_relay().
    RobinTail authored Jul 10, 2024
    Configuration menu
    Copy the full SHA
    d350c83 View commit details
    Browse the repository at this point in the history
  5. Ref: naming entities in the driver (#283)

    * Renaming Relay::relays to cache.
    
    * Renaming Relay::get_or_create_relay() to ensure().
    
    * Renaming class Relay to Driver.
    
    * Renaming Driver::relay to handle.
    
    * Fix test suite name.
    
    * Renaming to DriverMock in main test.
    RobinTail authored Jul 10, 2024
    Configuration menu
    Copy the full SHA
    9d868c1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    964d9ec View commit details
    Browse the repository at this point in the history
  7. Changelog: 5.0.0.

    RobinTail committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    e0280d5 View commit details
    Browse the repository at this point in the history
  8. Notice on migration.

    RobinTail committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    8a37efe View commit details
    Browse the repository at this point in the history
  9. Minor: typo

    RobinTail authored Jul 10, 2024
    Configuration menu
    Copy the full SHA
    05da3a3 View commit details
    Browse the repository at this point in the history