Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Feb 21, 2022

Bumps jSerialComm from 2.5.1 to 2.9.1.

Release notes

Sourced from jSerialComm's releases.

jSerialComm v2.9.1

  • Remove Java-side class synchronization
  • Move global resource locks to native code
  • Only lock code sections which alter globally shared resources
  • Try to interrupt Java thread if it does not join after timeout
  • Ensure that event listener does not join on itself
  • Do not block-drain serial ports on native close() in Posix
  • Update getCommPorts() documentation about returning all currently open ports
  • Update getLastErrorLocation() documentation to remove instructions that port must remain open
  • Do not block SIGTERM from arriving at Java application
  • Update openPort() documentation about BT failures/retries
  • Break out of event listening thread if global app is shutting down
  • Do not use pthread_condattr_setclock on Android
  • Use minimum amount of JNI memory necessary to enumerate Windows ports
  • Move library init/uninit functionality into JNI_OnLoad and JNI_OnUnload
  • Add method to allow users to add application shutdown hooks for custom serial port cleanup

jSerialComm v2.9.0

  • Allow SIGINT to reach top-level Java application for graceful shutdown
  • Add function to verify user/port group membership on Posix
  • Retrieve port details/description if possible when calling getCommPort(String)
  • New method allowElevatedPermissionsRequest() to explicitly allow operations requiring elevated privileges
  • Elevated permissions used to set FTDI latency on Windows (if allowed using above method)
  • Elevated permissions used to grant access to serial port on Posix (if allowed using above method)
  • Disable use of operations requiring elevated privileges by default
  • Update Android native library loading based on deprecated architectures
  • Ensure that -1 is returned from readBytes() upon error
  • Only process RECEIVED_DATA events if able to read > 0 bytes
  • Override sigemptyset implementation for platforms that do not support it

jSerialComm v2.8.5

  • Retry native write() call upon errno == EAGAIN on Posix
  • Remove all FTDI native driver calls to FT_Open, FT_Close, FT_GetComPort, and FT_SetDriverLatency on Windows
  • Update FTDI enumeration using registry keys directly on Windows
  • Search for serial modem devices in addition to plain serial devices on Windows
  • Set FTDI latency using the registry on Windows (requires admin first time)
  • Only set FTDI latency when calling openPort()
  • Ignore LPT parallel devices on Windows

jSerialComm v2.8.4

  • Fixed bug where calling removeDataListener() on an unopened port caused a crash

jSerialComm v2.8.3

  • RS485-mode ioctl errors are no longer treated as fatal errors
  • Small updates to getLastErrorLine() and getLastError() when a port has failed to open
  • All JNI functions are now checked for and cleared of exceptions at runtime
  • The portHandle pointer returned from native code to Java is guaranteed to be 0 if there is an error, else a valid number
  • All "open port" checks now verify that the portHandle is not equal to exactly 0
  • Implemented full functionality for OpenBSD x86 and amd64

... (truncated)

Commits
  • d86f261 Add method to allow users to add application shutdown hooks
  • 024c757 Move library init/uninit to JNI_OnLoad/JNI_OnUnload
  • 05aae90 Use minimal amount of memory needed to enumerate in Windows
  • ea3c593 Ensure that event listener thread does not join on itself
  • 96a47bc Static code analysis updates
  • ea7a505 Remove all native OS calls from Critical Section
  • bc4eae8 Do not attempt to use pthread_condattr_setclock on Android
  • 4184072 Break out of event listening thread if global app is shutting down
  • 8899eff Update documentation about openPort on BT failures/retries
  • fe805ca Do not block SIGTERM from arriving at Java app
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

Bumps [jSerialComm](https://github.com/Fazecast/jSerialComm) from 2.5.1 to 2.9.1.
- [Release notes](https://github.com/Fazecast/jSerialComm/releases)
- [Commits](Fazecast/jSerialComm@v2.5.1...v2.9.1)

---
updated-dependencies:
- dependency-name: com.fazecast:jSerialComm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Feb 21, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jun 20, 2022

Superseded by #203.

@dependabot dependabot bot closed this Jun 20, 2022
@dependabot dependabot bot deleted the dependabot/maven/cnf/develop/com.fazecast-jSerialComm-2.9.1 branch June 20, 2022 21:14
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.

1 participant