Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jun 20, 2022

Bumps jSerialComm from 2.5.1 to 2.9.2.

Release notes

Sourced from jSerialComm's releases.

jSerialComm v2.9.2

  • New SerialPortThreadFactory class to allow users to change how internal threads are created
  • Fire CTS/DSR event on every line status change (not just when line asserted)
  • Make InputStream/OutputStream use wrapped function calls instead of native
  • Attempt to load native library for any available architecture for a given OS until one succeeds
  • Manually search Windows registry for unregistered virtual serial ports (e.g. those from VSPE)
  • Move package details into package-info.java file
  • Allow users to specify the path to a directory containing a manually placed native library via -DjSerialComm.library.path=<dir>
  • Don't delete an extracted native library until a newer version is detected
  • Output every accumulated error message if native library cannot be successfully loaded
  • Replace clock_gettime() with gettimeofday() on Linux to remove GLIBC_2.17 dependency
  • Extensive simplification of Linux port enumeration using sysfs
  • Make preset/preclear RTS/DTR respect allowElevatedPermissionsRequest() setting
  • Fix build.gradle to work without productionMode enabled (prints instructive warning if unable to build due to user's configuration)
  • Remove small bits of unused code

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

... (truncated)

Commits
  • 0958540 Remove unused exception constructors
  • bf6a0aa Update "production flag" in Gradle build file
  • b2ccac1 Update Posix condvar to use CLOCK_REALTIME
  • be21451 Update tests to match current source code
  • 15ef0dc Complete rewrite/simplification of Linux port enumeration using sysfs
  • c460d37 Clean up src PDB files after compilation
  • d4b8b1e Use gettimeofday instead of clock_gettime for backward compatibility
  • fe1132f Do not destroy the critical section lock in case of race conditions
  • 7d591b3 Only delete unpacked native library if new version detected
  • 066ebf9 Move package details into package-info.java file
  • 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.2.
- [Release notes](https://github.com/Fazecast/jSerialComm/releases)
- [Commits](Fazecast/jSerialComm@v2.5.1...v2.9.2)

---
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 Jun 20, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Dec 5, 2022

Superseded by #323.

@dependabot dependabot bot closed this Dec 5, 2022
@dependabot dependabot bot deleted the dependabot/maven/cnf/develop/com.fazecast-jSerialComm-2.9.2 branch December 5, 2022 21:06
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