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

Version 1.1 #167

Merged
merged 28 commits into from
Oct 9, 2023
Merged

Version 1.1 #167

merged 28 commits into from
Oct 9, 2023

Conversation

russhwolf
Copy link
Owner

@russhwolf russhwolf commented Aug 20, 2023

This branch contains changes that will be released as version 1.1. It includes fixes for issues #81 (superceding PR #117), #142, #157, #160, and #162.

TODO:

  • Sample project updates for 1.1
  • Readme updates
  • Docs for new serialization functions
  • Update remaining dependency versions

@@ -91,11 +96,16 @@ import platform.darwin.OSStatus
* every key, if the default behavior does not fit your needs.
*/
@ExperimentalSettingsImplementation
public class KeychainSettings(vararg defaultProperties: Pair<CFStringRef?, CFTypeRef?>) : Settings {
public class KeychainSettings @ExperimentalSettingsApi constructor(vararg defaultProperties: Pair<CFStringRef?, CFTypeRef?>) :
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a little ambivalent about how I want to handle the fact that we directly expose a @ExperimentalForeignApi-annotated type in this constructor. (I think this is the only place in the codebase where that happens in public API, unless there are others I missed). I think the natural thing to do would be to re-apply the annotation, but it's not applicable to constructors. So I landed on marking it @ExperimentalSettingsApi instead. This lets the rest of the class go stable without depending on Kotlin stabilizing these APIs.

Copy link
Contributor

@vanniktech vanniktech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

Also tweaks doc-related test-case
Includes Kotlin 1.9.10, AGP 8.1.2, Gradle 8.3, et al
Also migrate Android to use gradle namespace config and remove AndroidManifest files where unneeded.
@russhwolf
Copy link
Owner Author

Sample app build failure is expected right now. Updates in-progress in there.

@russhwolf russhwolf marked this pull request as ready for review October 3, 2023 00:35
russhwolf and others added 9 commits October 8, 2023 23:03
Also remove JavaFX CI config in preparation for sample updates
…ings/KeychainSettings.kt

Co-authored-by: Niklas Baudy <niklas.baudy@vanniktech.de>
Move things to recent AGP and JDK
Remove tornado-fx sample
This is (copy/paste) based on compose Android app, but deliberately doesn't share code for now.
@russhwolf russhwolf merged commit 2bcc395 into main Oct 9, 2023
4 checks passed
@russhwolf russhwolf deleted the 1.1 branch October 9, 2023 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants