From cc481edf37fdf57a98cb71ff1d401754482b6abf Mon Sep 17 00:00:00 2001 From: Frank Delporte Date: Tue, 24 Oct 2023 10:12:21 +0200 Subject: [PATCH] Release notes 2.4.0 --- content/_index.md | 2 +- content/about/release-notes.md | 27 +++++++++++++++++++ .../minimal-example-application.md | 14 +++++----- 3 files changed, 35 insertions(+), 8 deletions(-) diff --git a/content/_index.md b/content/_index.md index addc8ac20..14955a2e5 100644 --- a/content/_index.md +++ b/content/_index.md @@ -4,7 +4,7 @@ title: Welcome to Pi4J ## Welcome to Pi4J -**Latest release: V2.3.0 (2023-02-06, see [Release Notes](/about/release-notes/)).** +**Latest release: V2.4.0 (2023-10-24, see [Release Notes](/about/release-notes/)).** This project is intended to provide **a friendly object-oriented I/O API and implementation libraries for Java Programmers** to access the **full I/O capabilities of the Raspberry Pi platform**. This project diff --git a/content/about/release-notes.md b/content/about/release-notes.md index 9c4d40d43..a19e65a9c 100644 --- a/content/about/release-notes.md +++ b/content/about/release-notes.md @@ -5,6 +5,30 @@ weight: 40 All releases of Pi4J V.2 are listed on [github.com/Pi4J/pi4j-v2/releases](https://github.com/Pi4J/pi4j-v2/releases). +## 2023-10-24 - V2.4.0 + +* Extended LinuxFS plugin + * PWM provider + * First set of implementations for Digital Input and Output + * To be further extended, see https://github.com/Pi4J/pi4j-v2/issues/307 +* Implement blink method in DigitalOutputBase +* Added testcases for I2CRegisterDataReader, I2CRegisterDataWrite +* Fix I2C write register: multi byte register may fail with large data +* Fix mock SPI.transfer() functionality + * https://github.com/Pi4J/pi4j-v2/issues/298 + * https://github.com/Pi4J/pi4j-v2/issues/299 + * https://github.com/Pi4J/pi4j-v2/issues/300 +* Add readEntireMockBuffer() method to class MockSpi +* Fix for data read over I2C becomes out of sync over a slower wireless network + * https://github.com/Pi4J/pi4j-v2/issues/16 + * https://github.com/Pi4J/pi4j-v2/issues/303 +* Use Socket#setSoTimeout to timeout read requests of GPIO socket implementation + * https://github.com/Pi4J/pi4j-v2/issues/305 + +Thanks to [@GeVanCo](https://github.com/GeVanCo), [@MMMMMNG](https://github.com/MMMMMNG), [@IAmNickNack](https://github.com/IAmNickNack), [@savageautomate](https://github.com/savageautomate), [@eitch](https://github.com/eitch), [@taartspi](https://github.com/taartspi), [@FDelporte](https://github.com/FDelporte). + +All changes: https://github.com/Pi4J/pi4j-v2/compare/2.3.0...2.4.0 + ## 2023-02-06 - V2.3.0 * Improvements for PIGPIO.gpioCfgInterfaces by [@bwaldvogel](https://github.com/bwaldvogel). @@ -12,6 +36,8 @@ All releases of Pi4J V.2 are listed on [github.com/Pi4J/pi4j-v2/releases](https: * Fix in LinuxFsI2C byte array offset by [@harlanhu](https://github.com/harlanhu). * Remove unused JNA references by [@taartspi](https://github.com/taartspi). +All changes: https://github.com/Pi4J/pi4j-v2/compare/2.2.1...2.3.0 + ## 2022-10-17 - V2.2.1 Multiple fixes by [@taartspi](https://github.com/taartspi): @@ -21,6 +47,7 @@ Multiple fixes by [@taartspi](https://github.com/taartspi): * Add missing initialization in constructor * Track weather the user set the mode or bus config values to improve the use of SPI flags +All changes: https://github.com/Pi4J/pi4j-v2/compare/2.2.0...2.2.1 ## 2022-08-30 - V2.2.0 diff --git a/content/getting-started/minimal-example-application.md b/content/getting-started/minimal-example-application.md index e410305ac..6efa0c609 100644 --- a/content/getting-started/minimal-example-application.md +++ b/content/getting-started/minimal-example-application.md @@ -66,7 +66,7 @@ make the versions easy to update, we add those numbers as properties. 1.7.32 - 2.0 + 2.3.0 ``` @@ -226,14 +226,14 @@ $ mvn clean package $ cd target/distribution $ ls -l total 644 --rw-r--r-- 1 pi pi 364456 Jun 19 10:04 pi4j-core-2.0-SNAPSHOT.jar +-rw-r--r-- 1 pi pi 364456 Jun 19 10:04 pi4j-core-2.3.0.jar -rw-r--r-- 1 pi pi 7243 Jun 19 10:04 pi4j-example-minimal-0.0.1.jar --rw-r--r-- 1 pi pi 142461 Jun 19 10:04 pi4j-library-pigpio-2.0-SNAPSHOT.jar --rw-r--r-- 1 pi pi 37302 Jun 19 10:04 pi4j-plugin-pigpio-2.0-SNAPSHOT.jar --rw-r--r-- 1 pi pi 26917 Jun 19 10:04 pi4j-plugin-raspberrypi-2.0-SNAPSHOT.jar +-rw-r--r-- 1 pi pi 142461 Jun 19 10:04 pi4j-library-pigpio-2.3.0.jar +-rw-r--r-- 1 pi pi 37302 Jun 19 10:04 pi4j-plugin-pigpio-2.3.0.jar +-rw-r--r-- 1 pi pi 26917 Jun 19 10:04 pi4j-plugin-raspberrypi-2.3.0.jar -rwxr-xr-x 1 pi pi 101 Jun 19 10:04 run.sh --rw-r--r-- 1 pi pi 52173 Jun 19 10:04 slf4j-api-2.0.0-alpha0.jar --rw-r--r-- 1 pi pi 15372 Jun 19 10:04 slf4j-simple-2.0.0-alpha0.jar +-rw-r--r-- 1 pi pi 52173 Jun 19 10:04 slf4j-api-1.7.32.jar +-rw-r--r-- 1 pi pi 15372 Jun 19 10:04 slf4j-simple-1.7.32.jar ``` * Start the application with the provided `run.sh` script. **Make sure to start with `sudo` as Pi4J (at this moment) needs to be started with it**, to enable the native library that is part of Pi4J to communicate with the GPIOs: