Skip to content
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

Bump com.juul.kable:kable-core from 0.34.0 to 0.35.0 #432

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 9, 2024

Bumps com.juul.kable:kable-core from 0.34.0 to 0.35.0.

Release notes

Sourced from com.juul.kable:kable-core's releases.

0.35.0

[!NOTE] If you haven't been using the 0.35.0 release candidate (RC) releases, be sure and see the release notes for 0.35.0-rc and 0.35.0-rc2, as 0.35.0 brings Peripheral lifecycle changes (specifically: a Peripheral no longer has a parent CoroutineScope and needs to be explicitly disposed via cancel when no longer needed).

0.35.0-rc2

  • Improve exception message when attempting to connect a cancelled peripheral (#808)
  • Change InternalException to InternalError (#801)
  • Make peripheral builder argument optional (#795), thanks to @​PavlosTze for reporting
  • Have deprecated CoroutineScope.peripheral uphold previous behavior (#779)

Logo Android

  • Provide Peripheral(Identifier) builder function (#803), thanks to @​PavlosTze for reporting

🧰 Maintenance

  • Update AndroidManifest.xml reference (#787), thanks to @​emmanuel-ferdman for the contribution
  • Update atomicfu to v0.26.1 (#781, #806)
  • Update dependency org.jetbrains.kotlin-wrappers:kotlin-wrappers-bom to v1.0.0-pre.835 (#780, #782, #785, #796, #799)
  • Update dependency com.juul.khronicle:khronicle-core to v0.4.1 (#800)
  • Update dependency androidx.startup:startup-runtime to v1.2.0 (#797)
  • Update dependency androidx.core:core-ktx to v1.15.0 (#786)
  • Update plugin android-library to v8.7.2 (#783)

0.35.0-rc

[!TIP] The SensorTag sample app has been updated to use this release of Kable.

🚀 Changes

This release includes major internal re-workings of Kable, as well as some externally facing API changes. Most notably, the scanning and connection handling internals have been refactored to better leverage structured concurrency and provide a more predictable connection shutdown procedure.

The exception hierarchy has been significantly simplified, making error handling more consistent and possible in common code.

In general, you should now only ever need to catch IOException when calling Kable functions, all other exceptions should be considered programming error (could've been prevented by pre-checking conditions). Pre-conditions that could change between a check and call are thrown as IOExceptions.

Deprecate Peripheral creation via CoroutineScope extension function

Creating a Peripheral via CoroutineScope extension function has been deprecated.

A Peripheral's connection needs to be explicitly managed, having its lifecycle be implicitly governed by a parent CroutineScope provided a footgun.

It is clearer / easier to reason about if a Peripheral shall be disposed of manually when it is no longer needed: the Peripheral.cancel function provides an explicit means of disposing of a Peripheral.

... (truncated)

Commits
  • 1fce4e2 Add maximumWriteValueLength to Peripheral (#809)
  • 64f054e Improve exception message when attempting to connect a cancelled peripheral...
  • b39aef7 Update atomicfu to v0.26.1 (#806)
  • 61bfcb8 Provide Peripheral(Identifier) builder function (#803)
  • c2915bb Change InternalException to InternalError (#801)
  • cabe137 Update dependency org.jetbrains.kotlin-wrappers:kotlin-wrappers-bom to v1.0.0...
  • 623ea9e Update dependency com.juul.khronicle:khronicle-core to v0.4.1 (#800)
  • 2dd133d Make the peripheral builder argument optional (#795)
  • 5cb1567 Update dependency androidx.startup:startup-runtime to v1.2.0 (#797)
  • ee3c18d Update dependency org.jetbrains.kotlin-wrappers:kotlin-wrappers-bom to v1.0.0...
  • 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 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)

Bumps [com.juul.kable:kable-core](https://github.com/JuulLabs/kable) from 0.34.0 to 0.35.0.
- [Release notes](https://github.com/JuulLabs/kable/releases)
- [Commits](JuulLabs/kable@0.34.0...0.35.0)

---
updated-dependencies:
- dependency-name: com.juul.kable:kable-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 9, 2024
@dependabot dependabot bot requested a review from PavlosTze December 9, 2024 01:35
@PavlosTze PavlosTze closed this Dec 17, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 17, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/gradle/com.juul.kable-kable-core-0.35.0 branch December 17, 2024 10:36
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant