Skip to content

Releases: EdricChan03/androidx-ktx-extras

Common Enums 0.2.0

10 May 16:41
[email protected]
389b4ce
Compare
Choose a tag to compare

Published on 11 May 2024

Links

Usage

0.2.0 is published on Maven Central as io.github.edricchan03.androidx.common:common-enums:0.2.0.

androidxtra-browser-ktx = "io.github.edricchan03.androidx.common:common-enums:0.2.0"

Artifacts

As this library is a Kotlin Multiplatform library, the following additional artifacts were published:

Target Link
common N.A.
jvm common-enums-jvm

Notable changes

  • A new interface (ValueEnum) has been added which enums can implement to provide an abstraction over enums which provide an internal value representation. This allows for operations to be done on generic value-based enums. (5973982)
  • ValueEnumFromValue (currently experimental!) has been added which provides a ValueEnum implementation of the EnumFromValue abstract class. (0abf688)

Dependency updates

Artifact Old version New version
Kotlin 1.9.0 1.9.23

Browser KTX 0.2.0

06 May 10:59
[email protected]
dfbdc57
Compare
Choose a tag to compare

Published on 6 May 2024

Usage

0.2.0 is published on Maven Central as io.github.edricchan03.androidx.browser:browser-ktx:0.2.0.

androidxtra-browser-ktx = "io.github.edricchan03.androidx.browser:browser-ktx:0.2.0"

Links

Notable changes

API updates

New extension properties

Property Docs
Intent.isBookmarksButtonEnabled Documentation
Intent.isDownloadButtonEnabled Documentation
Intent.isSendToExternalDefaultHandlerEnabled Documentation
Intent.translateLocale Documentation
Intent.isBackgroundInteractionEnabled Documentation
Intent.secondaryToolbarSwipeUpGesture Documentation

Dependency updates

Artifact Old version New version
Kotlin 1.9.0 1.9.23
Android Gradle Plugin 8.1.1 8.4.0
androidx.browser:browser 1.6.0 1.7.0

Common Enums 0.1.0

23 Aug 16:46
[email protected]
001c154
Compare
Choose a tag to compare

🚨 Breaking changes

The relocation POM is no longer published starting from this version. If you are still using the old Maven coordinates, please consider migrating:

-io.github.edricchan03.androidx.common.enums:common-enums:<version>
+io.github.edricchan03.androidx.common:common-enums:<version>

Notable changes

Dependency updates

Artifact Old version New version
Kotlin 1.8.22 1.9.0

Full Changelog: https://github.com/EdricChan03/androidx-ktx-extras/compare/[email protected]@0.1.0

Browser KTX 0.1.0

23 Aug 16:48
[email protected]
97c88c3
Compare
Choose a tag to compare

Notable changes

API updates

New extension properties

Property Docs
Intent.colorScheme Documentation
Intent.urlBarHidingEnabled Documentation
Intent.closeButtonIcon Documentation
Intent.showTitle Documentation
Intent.shareState Documentation
Intent.instantAppsEnabled Documentation

New setters for existing extension properties

Property Docs
Intent.activityResizeBehavior Documentation
Intent.initialActivityHeightPx Documentation
Intent.toolbarCornerRadiusDp Documentation
Intent.closeButtonPosition Documentation

Dependency updates

Artifact Old version New version
Kotlin 1.8.22 1.9.0
androidx.browser:browser 1.5.0 1.6.0
io.github.edricchan03.androidx.common:common-enums 0.0.2 0.1.0

Full Changelog: https://github.com/EdricChan03/androidx-ktx-extras/compare/[email protected]@0.1.0

Common Enums 0.0.2

17 Jul 16:10
5b4fb54
Compare
Choose a tag to compare

This release does not contain any new features, and should be backwards-compatible with 0.0.1.

Dependency updates

Artifact Old version New version
Kotlin 1.8.21 1.8.22

Relocation notice

The artifact is now published under the io.github.edricchan03.androidx.common:common-enums artifact:

Old artifact coordinates New artifact coordinates
io.github.edricchan03.androidx.common.enums:common-enums io.github.edricchan03.androidx.common:common-enums

Your build scripts must be updated to the following:

Kotlin/Groovy

-implementation("io.github.edricchan03.androidx.common.enums:common-enums:<version>")
+implementation("io.github.edricchan03.androidx.common:common-enums:<version>")

Version Catalogs (TOML)

[libraries]
-androidxtra-common-enums = "io.github.edricchan03.androidx.common.enums:common-enums:<version>
+androidxtra-common-enums = "io.github.edricchan03.androidx.common:common-enums:<version>

New versions of the common-enums artifact will still be published to the old artifact (io.github.edricchan.androidx.common.enums:common-enums) until the next minor SemVer release, 0.1.0.


See the CHANGELOG.md file for more information.

Full Changelog: https://github.com/EdricChan03/androidx-ktx-extras/compare/[email protected]@0.0.2

Browser KTX 0.0.2

17 Jul 16:15
1e33cb2
Compare
Choose a tag to compare

This release updates the transitive common-enums dependency to 0.0.2. No other
changes are included, and should be backwards-compatible with 0.0.1.

Note
If you are using the common-enums artifact in your own library code, do note the changes in 0.0.2's release notes, particularly the artifact relocation.

Dependency updates

Artifact Old version New version
Kotlin 1.8.21 1.8.22

Transitive dependency updates

Old artifact New artifact
io.github.edricchan03.androidx.common.enums:common-enums:0.0.1 io.github.edricchan03.androidx.common:common-enums:0.0.2
Visual diff
-io.github.edricchan03.androidx.common.enums:common-enums:0.0.1
+io.github.edricchan03.androidx.common:common-enums:0.0.2

See the CHANGELOG.md file for more information.

Full Changelog: https://github.com/EdricChan03/androidx-ktx-extras/compare/[email protected]@0.0.2

Common Enums 0.0.1

30 Jun 16:53
[email protected]
f79dead
Compare
Choose a tag to compare

Notable changes

  • This version is the initial release! 🎉

  • An abstract EnumFromValue class was added that all enums' companion object with an internal representation should inherit. An example usage is as shown below:

    enum class Example(val value: String) {
        One("one"),
        Two("two"),
        Three("abc");
    
        companion object : EnumFromValue<String, Example>(default = Three) {
            override fun fromValueOrNull(value: String) = when (value) {
                "one" -> One
                "two" -> Two
                "abc", "other value" -> Three
                else -> null
            }
        }
    }

Full Changelog: https://github.com/EdricChan03/androidx-ktx-extras/commits/[email protected]

Usage

common-enums is published on Maven Central (as io.github.edricchan03.androidx.common:common-enums) and can be included in your dependencies as shown below:

Kotlin/Groovy

build.gradle.kts:

implementation("io.github.edricchan03.androidx.common:common-enums:0.0.1")

Version Catalogs

libs.versions.toml:

[libraries]
androidxtra-common-enums = "io.github.edricchan03.androidx.common:common-enums:0.0.1"

build.gradle.kts:

implementation(libs.androidxtra.common.enums)

Browser KTX 0.0.1

30 Jun 16:57
[email protected]
f38b0cc
Compare
Choose a tag to compare

Notable changes

Full Changelog: https://github.com/EdricChan03/androidx-ktx-extras/commits/[email protected]


Version Compatibility

browser-ktx is published with the following dependencies:

Name Version Scope
Kotlin 1.8.21 implementation
AndroidX Annotation 1.6.0 api
AndroidX Browser 1.5.0 api
androidx-ktx-extras common-enums 0.0.1 api

See the module's build.gradle.kts for more info.

Usage

browser-ktx is published on Maven Central (as io.github.edricchan03.androidx.browser:browser-ktx) and can be included in your dependencies as shown below:

Kotlin/Groovy

build.gradle.kts:

implementation("io.github.edricchan03.androidx.browser:browser-ktx:0.0.1")

Version Catalogs

libs.versions.toml:

[libraries]
androidxtra-browser-ktx = "io.github.edricchan03.androidx.browser:browser-ktx:0.0.1"

build.gradle.kts:

implementation(libs.androidxtra.browser.ktx)