| 1 |
Change Log |
| 2 |
========== |
| 3 |
|
| 4 |
0.7.1a4 |
| 5 |
------- |
| 6 |
Better RPi board + peri_addr detection (issue 190 / 191) |
| 7 |
|
| 8 |
0.7.1a3 |
| 9 |
------- |
| 10 |
Fix PyEval_InitThreads deprecation warning for Python 3.9 (issue 188) |
| 11 |
|
| 12 |
0.7.1a2 |
| 13 |
------- |
| 14 |
Fix build using GCC 10 (issue 187) |
| 15 |
|
| 16 |
0.7.1a1 |
| 17 |
------- |
| 18 |
- Fix docstrings to not include licence |
| 19 |
- Remove Debian/Raspbian stretch packaging support |
| 20 |
- Use setuptools instead of distutils |
| 21 |
|
| 22 |
0.7.0 |
| 23 |
----- |
| 24 |
- Updated RPI_INFO to include RPi 4B |
| 25 |
- Fixed pull up/down for Pi4 (issue 168) |
| 26 |
- Fix spelling mistake in docstrings |
| 27 |
- Tested and working on Raspbian Buster + Python 3.8.0b2 |
| 28 |
- Fix board detection for aarch64 (Issues 161 / 165) |
| 29 |
- Fix checking mmap return value in c_gpio.c (issue 166) |
| 30 |
|
| 31 |
0.6.5 |
| 32 |
----- |
| 33 |
- Fix exception on re-export of /sys/class/gpio/gpioNN |
| 34 |
|
| 35 |
0.6.4 |
| 36 |
----- |
| 37 |
- Event cleanup bug (issue 145) |
| 38 |
- Raise exception for duplicate PWM objects (issue 54 - Thijs Schreijer <[email protected]>) |
| 39 |
- Fix build warnings (Issue 146 - Dominik George) |
| 40 |
- test.py runs unchanged for both python 2+3 |
| 41 |
- Soft PWM stops running fix (Issues 94, 111, 154) |
| 42 |
- Soft PWM segfault fix (Luke Allen pull request) |
| 43 |
|
| 44 |
0.6.3 |
| 45 |
----- |
| 46 |
- Fix code so it builds under PyPy (Gasper Zejn) |
| 47 |
- os.system breaks event detection - Matt Kimball (issue 127) |
| 48 |
|
| 49 |
0.6.2 |
| 50 |
----- |
| 51 |
- Rewrote Debian packaging mechanism |
| 52 |
- RPI_INFO reports Pi 3 |
| 53 |
- Changed module layout - moved C components to RPi._GPIO |
| 54 |
|
| 55 |
0.6.1 |
| 56 |
----- |
| 57 |
- Update RPI_INFO to detect more board types |
| 58 |
- Issue 118 - add_event_detect sometimes gives runtime error with unpriv user |
| 59 |
- Issue 120 - setmode() remembers invalid mode |
| 60 |
|
| 61 |
0.6.0a3 |
| 62 |
------- |
| 63 |
- Now uses /dev/gpiomem if available to avoid being run as root |
| 64 |
- Fix warnings with pull up/down on pins 3/5 |
| 65 |
- Correct base address on Pi 2 when devicetree is disabled |
| 66 |
- caddr_t error on compile (Issue 109) |
| 67 |
- Error on invalid parameters to setup() (issue 93) |
| 68 |
- Add timeout parameter to wait_for_edge() (issue 91) |
| 69 |
|
| 70 |
0.5.11 |
| 71 |
------ |
| 72 |
- Fix - pins > 26 missing when using BOARD mode |
| 73 |
- Add getmode() |
| 74 |
- Raise exception when a mix of modes is used |
| 75 |
- GPIO.cleanaup() unsets the current pin mode |
| 76 |
|
| 77 |
0.5.10 |
| 78 |
------ |
| 79 |
- Issue 95 - support RPi 2 boards |
| 80 |
- Introduce RPI_INFO |
| 81 |
- Deprecate RPI_REVISION |
| 82 |
- Issue 97 - fixed docstring for setup() |
| 83 |
|
| 84 |
0.5.9 |
| 85 |
----- |
| 86 |
- Issue 87 - warn about pull up/down on i2c pins |
| 87 |
- Issue 86/75 - wait_for_edge() bugfix |
| 88 |
- Issue 84 - recognise RPi properly when using a custom kernel |
| 89 |
- Issue 90 - cleanup() on a list/tuple of channels |
| 90 |
|
| 91 |
0.5.8 |
| 92 |
----- |
| 93 |
- Allow lists/tuples of channels in GPIO.setup() |
| 94 |
- GPIO.output() now allows lists/tuples of values |
| 95 |
- GPIO.wait_for_edge() bug fixes (issue 78) |
| 96 |
|
| 97 |
0.5.7 |
| 98 |
----- |
| 99 |
- Issue 67 - speed up repeated calls to GPIO.wait_for_event() |
| 100 |
- Added bouncetime keyword to GPIO.wait_for_event() |
| 101 |
- Added extra edge/interrupt unit tests |
| 102 |
- GPIO.wait_for_event() can now be mixed with GPIO.add_event_detect() |
| 103 |
- Improved cleanups of events |
| 104 |
- Issue 69 resolved |
| 105 |
|
| 106 |
0.5.6 |
| 107 |
----- |
| 108 |
- Issue 68 - support for RPi Model B+ |
| 109 |
- Fix gpio_function() |
| 110 |
|
| 111 |
0.5.5 |
| 112 |
----- |
| 113 |
- Issue 52 - 'unallocate' a channel |
| 114 |
- Issue 35 - use switchbounce with GPIO.event_detected() |
| 115 |
- Refactored events code |
| 116 |
- Rewrote tests to use unittest mechanism and new test board with loopbacks |
| 117 |
- Fixed adding events after a GPIO.cleanup() |
| 118 |
- Issue 64 - misleading /dev/mem permissions error |
| 119 |
- Issue 59 - name collision with PWM constant and class |
| 120 |
|
| 121 |
0.5.4 |
| 122 |
----- |
| 123 |
- Changed release status (from alpha to full release) |
| 124 |
- Warn when GPIO.cleanup() used with nothing to clean up (issue 44) |
| 125 |
- Avoid collisions in constants (e.g. HIGH / RISING / PUD_DOWN) |
| 126 |
- Accept BOARD numbers in gpio_function (issue 34) |
| 127 |
- More return values for gpio_function (INPUT, OUTPUT, SPI, I2C, PWM, SERIAL, UNKNOWN) |
| 128 |
- Tidy up docstrings |
| 129 |
- Fix /dev/mem access error with gpio_function |
| 130 |
|
| 131 |
0.5.3a |
| 132 |
------ |
| 133 |
- Allow pydoc for non-root users (issue 27) |
| 134 |
- Fix add_event_detect error when run as daemon (issue 32) |
| 135 |
- Simplified exception types |
| 136 |
- Changed from distribute to pip |
| 137 |
|
| 138 |
0.5.2a |
| 139 |
------ |
| 140 |
- Added software PWM (experimental) |
| 141 |
- Added switch bounce handling to event callbacks |
| 142 |
- Added channel number parameter to event callbacks (issue 31) |
| 143 |
- Internal refactoring and code tidy up |
| 144 |
|
| 145 |
0.5.1a |
| 146 |
------ |
| 147 |
- Fixed callbacks for multiple GPIOs (issue 28) |
| 148 |
|
| 149 |
0.5.0a |
| 150 |
------ |
| 151 |
- Added new edge detection events (interrupt handling) |
| 152 |
- Added add_event_detect() |
| 153 |
- Added remove_event_detect() |
| 154 |
- Added add_event_callback() |
| 155 |
- Added wait_for_edge() |
| 156 |
- Removed old experimental event functions |
| 157 |
- Removed set_rising_event() |
| 158 |
- Removed set_falling_event() |
| 159 |
- Removed set_high_event() |
| 160 |
- Removed set_low_event() |
| 161 |
- Changed event_detected() for new edge detection functionality |
| 162 |
- input() now returns 0/LOW == False or 1/HIGH == True (integers) instead of False or True (booleans). |
| 163 |
- Fix error on repeated import (issue 3) |
| 164 |
- Change SetupException to a RuntimeError so it can be caught on import (issue 25, Chris Hager <[email protected]>) |
| 165 |
- Improved docstrings of functions |
| 166 |
|
| 167 |
0.4.2a |
| 168 |
------ |
| 169 |
- Fix for installing on Arch Linux (Python 3.3) (issue 20) |
| 170 |
- Initial value when setting a channel as an output (issue 19) |
| 171 |
|
| 172 |
0.4.1a |
| 173 |
------ |
| 174 |
- Added VERSION |
| 175 |
- Permit input() of channels set as outputs (Eric Ptak <[email protected]>) |
| 176 |
|
| 177 |
0.4.0a |
| 178 |
------ |
| 179 |
- Added support for Revision 2 boards |
| 180 |
- Added RPI_REVISION |
| 181 |
- Added cleanup() function and removed automatic reset functionality on program exit |
| 182 |
- Added get_function() to read existing GPIO channel functionality (suggestion from Eric Ptak <[email protected]>) |
| 183 |
- Added set_rising_event() |
| 184 |
- Added set_falling_event() |
| 185 |
- Added set_high_event() |
| 186 |
- Added set_low_event() |
| 187 |
- Added event_detected() |
| 188 |
- Added test/test.py |
| 189 |
- Converted debian to armhf |
| 190 |
- Fixed C function short_wait() (thanks to Thibault Porteboeuf <[email protected]>) |
| 191 |
|
| 192 |
0.3.1a |
| 193 |
------ |
| 194 |
- Fixed critical bug with swapped high/low state on outputs |
| 195 |
- Added pull-up / pull-down setup functionality for inputs |
| 196 |
|
| 197 |
0.3.0a |
| 198 |
------ |
| 199 |
- Rewritten as a C extension |
| 200 |
- Now uses /dev/mem and SoC registers instead of /sys/class/gpio |
| 201 |
- Faster! |
| 202 |
- Make call to GPIO.setmode() mandatory |
| 203 |
- Added GPIO.HIGH and GPIO.LOW constants |
| 204 |
|
| 205 |
0.2.0 |
| 206 |
----- |
| 207 |
- Changed status from alpha to beta |
| 208 |
- Added setmode() to be able to use BCM GPIO 00.nn channel numbers |
| 209 |
- Renamed InvalidPinException to InvalidChannelException |
| 210 |
|
| 211 |
0.1.0 |
| 212 |
------ |
| 213 |
- Fixed direction bug |
| 214 |
- Added MANIFEST.in (to include missing file) |
| 215 |
- Changed GPIO channel number to pin number |
| 216 |
- Tested and working! |
| 217 |
|
| 218 |
0.0.3a |
| 219 |
------ |
| 220 |
- Added GPIO table |
| 221 |
- Refactored |
| 222 |
- Fixed a few critical bugs |
| 223 |
- Still completely untested! |
| 224 |
|
| 225 |
0.0.2a |
| 226 |
------ |
| 227 |
- Internal refactoring. Still completely untested! |
| 228 |
|
| 229 |
0.0.1a |
| 230 |
------ |
| 231 |
- First version. Completely untested until I can get hold of a Raspberry Pi! |
| 232 |
|