Skip to content

Bump pi4j.version from 2.8.0 to 3.0.2 #132

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

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2025

Bumps pi4j.version from 2.8.0 to 3.0.2.
Updates com.pi4j:pi4j-core from 2.8.0 to 3.0.2

Release notes

Sourced from com.pi4j:pi4j-core's releases.

3.0.2

  • Board model can now be forced to allow the use of Pi4J on other/unrecognized boards. See Overriding the Detected Board for more info.
  • BoardInfoHelper.usesRP1() has been improved as more boards use this RP1 (5, 500, Compute 5), and even more are expected in the future.
  • [Issue #455](Pi4J/pi4j#455): GpioDDigitalInput may never start monitoring line events. Fixed by simplifying and improving the wait for the input listener loop to exit on shutdown.
  • APIdia badge and link added to README.md
  • [Pull request #461](Pi4J/pi4j#461): Removal in the core code of the SpiChipSelect to enforce a PiGpio limitation of the values 0, 1, or 2.

Thanks to contributions by @​ylexus, @​taartspi, @​eitch, @​fdelporte.

All changes: Pi4J/pi4j@3.0.1...3.0.2

3.0.1

This is the first release of Pi4J that requires Java runtime 21 or higher. Check the blog post Pi4J welcomes Java 21 to understand why we needed this change to prepare the project for the future...

Because of a last-minute change to improve the detection of Raspberry Pi 5, 500, and Compute 5, release 3.0.0 has been skipped.

  • Bump the Java version to 21 and update many dependencies, such as the Maven plugin.
  • Added JNA dependency (needed for Java 21).
  • Added Maven wrapper.
  • Improved lifecycle shutdown handling for registry elements: Updated the Lifecycle interface to clarify shutdown behavior and added tests to ensure proper element recreation after shutdown. These enhancements make the shutdown process more robust and intuitive.
  • Issue #308: Remove serial support from Pi4J. All serial methods are marked as @Deprecated(forRemoval = true). We advise using jSerialComm for all serial communication.
  • Pull request #438: Extra unit test for shutdown and re-creation of a DigitalInput.
  • Issue #439: Allow Specifying GPIO Chip for GpioDContext. For more info on how to use, see Specifying the GPIO Chip.
  • Pull request #449: Fixes a minor bug in DigitalOutput where pulseAsync ignored the given state and always pulsed high.
  • Pull request #452: PWM linuxfs failed if the first interface call was off().
  • Pull request #453 for issue #296: Generic BoardModels (with and without RP1) have been added, with a new method BoardInfoHelper.current().setBoardModel(BoardModel.GENERIC); to make it possible to use Pi4J on other types of boards, see Overriding the Detected Board. The goal of the Pi4J project is still to focus on the Raspberry Pi. However, this should allow testing the library's compatibility with other boards with similar architecture. We are excited to hear from the community about possible improvements to this approach.

Thanks to contributions by @​stefanhaustein, @​Haruka0522, @​mpilone, @​dariuszzbyrad, @​taartspi, @​eitch, @​fdelporte.

All changes: Pi4J/pi4j@2.8.0...3.0.1

Commits
  • 66da952 [Project] Set new version 3.0.2
  • d2a97be Merge branch 'develop' into release/3.0
  • bf48352 [Project] Downgrade version to 3.0.0-SNAPSHOT in all POM files
  • 16f1a76 Merge pull request #462 from Pi4J/spi_chipselect_max
  • f3cdf61 Extra log if SpiChipSelect not found with parse
  • fb5d60d * Simplified if
  • 91ca86b Merge pull request #461 from Pi4J/spi_chipselect_max
  • 1d2f361 SpiChipSelect located in the core code base contained code enforcing a Pigpio...
  • 7f68d2a Update README.md
  • 813980a Update README.md
  • Additional commits viewable in compare view

Updates com.pi4j:pi4j-plugin-raspberrypi from 2.8.0 to 3.0.2

Updates com.pi4j:pi4j-plugin-linuxfs from 2.8.0 to 3.0.2

Updates com.pi4j:pi4j-plugin-pigpio from 2.8.0 to 3.0.2

Updates com.pi4j:pi4j-plugin-gpiod from 2.8.0 to 3.0.2

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Aug 1, 2025
Bumps `pi4j.version` from 2.8.0 to 3.0.2.

Updates `com.pi4j:pi4j-core` from 2.8.0 to 3.0.2
- [Release notes](https://github.com/Pi4J/pi4j/releases)
- [Changelog](https://github.com/Pi4J/pi4j/blob/develop/autoRelease)
- [Commits](Pi4J/pi4j@2.8.0...3.0.2)

Updates `com.pi4j:pi4j-plugin-raspberrypi` from 2.8.0 to 3.0.2

Updates `com.pi4j:pi4j-plugin-linuxfs` from 2.8.0 to 3.0.2

Updates `com.pi4j:pi4j-plugin-pigpio` from 2.8.0 to 3.0.2

Updates `com.pi4j:pi4j-plugin-gpiod` from 2.8.0 to 3.0.2

---
updated-dependencies:
- dependency-name: com.pi4j:pi4j-core
  dependency-version: 3.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: com.pi4j:pi4j-plugin-raspberrypi
  dependency-version: 3.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: com.pi4j:pi4j-plugin-linuxfs
  dependency-version: 3.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: com.pi4j:pi4j-plugin-pigpio
  dependency-version: 3.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: com.pi4j:pi4j-plugin-gpiod
  dependency-version: 3.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/maven/development/pi4j.version-3.0.2 branch from bf2190d to 7850720 Compare August 4, 2025 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants