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

Update all non-major dependencies (except core Kotlin) #141

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 5, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.junit.jupiter:junit-jupiter-engine (source) 5.10.3 -> 5.11.4 age adoption passing confidence
org.ajoberstar.reckon:reckon-gradle 0.18.3 -> 0.19.1 age adoption passing confidence
io.gitlab.arturbosch.detekt:detekt-gradle-plugin (source) 1.23.6 -> 1.23.7 age adoption passing confidence
org.apache.logging.log4j:log4j-core (source) 2.23.1 -> 2.24.3 age adoption passing confidence
org.apache.logging.log4j:log4j-slf4j2-impl (source) 2.23.1 -> 2.24.3 age adoption passing confidence
io.github.petertrr:kotlin-multiplatform-diff 0.5.0 -> 0.7.0 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-datetime 0.6.0 -> 0.6.1 age adoption passing confidence
com.gradle.enterprise 3.17.6 -> 3.19 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-serialization-properties 1.7.1 -> 1.8.0 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-serialization-json 1.7.1 -> 1.8.0 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-serialization-core 1.7.1 -> 1.8.0 age adoption passing confidence
com.squareup.okio:okio-fakefilesystem 3.9.0 -> 3.10.2 age adoption passing confidence
com.squareup.okio:okio 3.9.0 -> 3.10.2 age adoption passing confidence

Release Notes

ajoberstar/reckon (org.ajoberstar.reckon:reckon-gradle)

v0.19.1

Compare Source

NOTE: 0.19.1 is the same as 0.19.0. There was a publishing issue preventing 0.19.0 from getting out to Central.

This release makes commit message scope suppliers more flexible.

Use of scopeSupplier = calcScopeFromCommitMessages() allowed specifying the scope with a commit message like major: My Message or patch: My message. However, there was a special case when the project hadn't reached 1.0.0 yet.

Before a project reaches 1.0.0, major: prefixes were downgraded to minor. The intent was to encourage breaking changes to still be committed as major: for consistency, but respecting that reaching 1.0.0 is a more significant decision than just the first breaking change introduced into your code.

The downside was that the only alternative to get to 1.0.0 was to use -Preckon.scope=major to supersede what the commit message supplier decided. This can be incompatible with many workflows that don't allow user interaction when reckon runs.

With this release:

  • scopeSupplier = calcScopeFromCommitMessages() now additionally supports a major!: prefix which ignores whether the project is pre-1.0.0 and forces use of the major scope
  • Introduces scopeSupplier = calcScopeFromCommitMessageParser(BiFunction) which allows custom logic to consider both the commit message and whether the project is pre-1.0.0 when it makes it's scope decision
  • scopeSupplier = calcScopeFromCommitMessages(Function) continues to use the same pre-1.0.0 behavior when a major scope is returned for backwards compatibility

Breaking Changes

None

Enhancements

  • #​205 Allow commit message scope suppliers to bump version to v1.0.0

Fixes

  • Dependency updates

Deprecations

None

Compatibility

Tested against the following versions.

Java Version Gradle Versions
11 7.0.2, 7.6.4, 8.0.2, 8.11.1
17 7.3.3, 7.6.4, 8.0.2, 8.11.1
21 8.4, 8.11.1
detekt/detekt (io.gitlab.arturbosch.detekt:detekt-gradle-plugin)

v1.23.7

1.23.7 - 2024-09-08

This is a point release for Detekt 1.23.0, built against Kotlin 2.0.10, with fixes for several bugs that got reported by the community.

Notable Changes
  • fix(deps): update kotlin monorepo to v2.0.10 - #​7517
  • Update to Kotlin 2.0.0 #​6640
  • fix(deps): update kotlin monorepo to v1.9.24 - #​7264
  • fix(deps): update dependency com.android.tools.build:gradle to v8.5.2 - #​7525
  • chore(deps): update dependency gradle to v8.10 - #​7546
Changelog
  • Add basic support for isolated projects to 1.x - #​7526
  • ExplicitCollectionElementAccessMethod: fix false positive when Map put has 3 arguments - #​7563
  • BracesOnIfStatements: fix false-positive when chained - #​7444
  • Add enum entry check in UndocumentedPublicProperty - #​7426
  • Use the anchor which is already present before - #​7423
  • Fix small corner-case in "SerialVersionUIDInSerializableClass" rule, … - #​7346
  • SwallowedException: fix false positive when exception is used as a receiver - #​7288
  • NamedArguments: fix false positive on spread varargs - #​7283
  • MultilineLambdaItParameter: fix false negative with single statement on multiple lines - #​7221
  • Check for root of receiver in selector expression - #​7220
  • Check for public companion object for UndocumentedPublicClass - #​7219
  • fix: TopLevelPropertyNaming also detecting extension property name - #​7212
  • Publish detekt-compiler-plugin-all to Maven and GH Releases - #​7179
  • versioned default detekt config file link - #​7161
  • Support rangeUntil operator for UnusedImport rule - #​7104
  • Fix false positive on it usages when type parameter is specified - #​6850
Housekeeping/Docs
  • [bugfix] AnnotationOnSeparateLine in snippets - #​6526
  • Add docs about using the Compiler Plugin with the Kotlin CLI compiler - #​7184
petertrr/kotlin-multiplatform-diff (io.github.petertrr:kotlin-multiplatform-diff)

v0.7.0

What's Changed

New Contributors

Full Changelog: petertrr/kotlin-multiplatform-diff@v0.6.0...v0.7.0

v0.6.0

What's Changed

New Contributors

Full Changelog: petertrr/kotlin-multiplatform-diff@v0.5.0...v0.6.0

Kotlin/kotlinx-datetime (org.jetbrains.kotlinx:kotlinx-datetime)

v0.6.1

  • Prohibit parsing non-ASCII digits as numbers in DateTimeFormat (#​405)
  • More accurately determine which files represent time zones and which don't on Linux and Darwin (#​395)
  • Fix a regression that occasionally considered the right boundary of a time overlap to be a part of it on Native (#​399)
  • Introduce various small improvements to the timezone handling on Windows (#​390)
  • On Linux, allow not having any /etc/localtime set, defaulting to TimeZone.UTC as the system time zone (#​426)
Kotlin/kotlinx.serialization (org.jetbrains.kotlinx:kotlinx-serialization-properties)

v1.8.0

==================

This is a release candidate for the next version. It is based on Kotlin 2.1.0 and includes a few new features, as well
as bugfixes and improvements:

@JsonIgnoreUnknownKeys annotation

Previously, only global setting JsonBuilder.ignoreUnknownKeys controlled whether Json parser would throw exception if
input contained a property that was not declared in a @Serializable class.
There were a lot of complaints that this setting is not
flexible enough.
To address them, we added new @JsonIgnoreUnknownKeys annotation that can be applied on a per-class basis.
With this annotation, it is possible to allow unknown properties for annotated classes, while
general decoding methods (such as Json.decodeFromString and others) would still reject them for everything else.
See details in the corresponding PR.

Stabilization of SerialDescriptor API and @SealedSerializationApi annotation

SerialDescriptor, SerialKind, and related API has been around for a long time and has proven itself useful.
The main reason @ExperimentalSerializationApi was on SerialDescriptor's properties is that we wanted to discourage
people from subclassing it.
Fortunately, Kotlin 2.1 provides a special mechanism for such a
case — SubclassOptInRequired.
New kotlinx.serialization.SealedSerializationApi annotation designates APIs
as public for use, but closed for implementation — the case for SerialDescriptor, which is a non-sealed interface for
technical reasons.
Now you can use most of SerialDescriptor and its builders API without the need to opt-in into experimental
serialization API.
See the PR for more details.

Note: All SerialKinds are stable API now, except PolymorphicKind — we may want to expand it in the future.

Generate Java 8's default method implementations in interfaces

TL;DR This change ensures better binary compatibility in the future for library. You should not experience any
difference from it.

kotlinx.serialization library contains a lot of interfaces with default method implementations. Historically, Kotlin
compiled a synthetic DefaultImpls class for them.
Starting from Kotlin 1.4,
it was possible to compile them using as Java 8's default methods to ensure
that new methods can still be added to interfaces without the need for implementors to recompile.
To preserve binary compatibility with existing clients, a special all-compatbility mode is supported in compiler
to generate both default methods and synthetic DefaultImpls class.

Now, kotlinx.serialization finally makes use of this all-compatibility mode,
which potentially allows us to add new methods to interfaces such as SerialDescriptor, Encoder, Decoder, etc.,
without breaking existing clients. This change is expected to have no effect on existing clients, and no action from
your side is required.
Note that Kotlin 2.2 plans to enable all-compatibility
mode by default.

Other bugfixes and improvements

  • Correctly skip structures with Cbor.ignoreUnknownKeys setting (#​2873)
  • Handle missing system property without NPE (#​2867)
  • Fixed keeping INSTANCE field and serializer function for serializable objects in R8 full mode (#​2865)
  • Correctly parse invalid numbers in JsonLiteral.long and other extensions (#​2852)
  • Correctly handle serial name conflict for different classes in SerializersModule.overwriteWith (#​2856)
  • Add inline reified version of encodeToString as a Json member to streamline the experience for newcomers. (#​2853)
  • Do not check kind or discriminator collisions for subclasses' polymorphic serializers if Json.classDiscriminatorMode
    is set to NONE (#​2833)

v1.7.3

==================

This release aims to fix important issues that were discovered in the 1.7.2 release,
including the inability to sync certain projects into Android Studio/IntelliJ IDEA and exceptions from custom Uuid serializers.

It uses Kotlin 2.0.20 by default.

  • Use explicit kotlin-stdlib and kotlin-test versions from version catalog (#​2818)
  • Drop usage of deprecated Any?.freeze() in K/N target (#​2819)
  • Check against serialName instead of simpleClassName (#​2802)
  • Ignore NoClassDefFoundError when initializing builtins map for serializer() function (#​2803)
  • Clarify example for SerializationException (#​2806)

v1.7.2

==================

This release provides several new features, including a major Cbor configuration rework.
It uses Kotlin 2.0.20 by default.

Cbor feature set for COSE compliance

This change brings a lot of features to the CBOR format, namely:

  • Serial Labels — see @CborLabel annotation and preferCborLabelsOverNames flag.
  • Tagging of keys and values — see encode*Tags and verify*Tags set of flags
  • Definite length encoding — see useDefiniteLengthEncoding. This flag affects object encoding, since decoding of arrays with definite lenghts is automatically supported.
  • Option to globally prefer major type 2 for byte array encoding — see alwaysUseByteString flag.

Since there are quite a lot of flags now, they were restructured to a separate CborConfiguration class, similarly to JsonConfiguration.
It is possible to retrieve this configuration from CborEncoder/CborDecoder interfaces in your custom serializers (see their documentation for details).

All of these features make it possible to serialize and parse COSE-compliant CBOR, for example, ISO/IEC 18013-5:2021-compliant mobile driving license data.
In case you want to make use of them, there is a predefined Cbor.CoseCompliant instance.
However, some canonicalization steps (such as sorting keys) still need to be performed manually.

This functionality was contributed to us by Bernd Prünster.

Keeping generated serializers

One of the most requested features for serialization plugin was to continue to generate a serializer even if a custom one is specified for the class.
It allows using a plugin-generated serializer in a fallback or delegate strategy, accessing type structure via descriptor, using default serialization behavior in inheritors that do not use custom serializers.

Starting with this release, you can specify the @KeepGeneratedSerializer annotation on the class declaration to instruct the plugin to continue generating the serializer.
In this case, the serializer will be accessible using the .generatedSerializer() function on the class's companion object.

This annotation is currently experimental. Kotlin 2.0.20 or higher is required for this feature to work.

You can check out the examples in the documentation and in the PRs: #​2758, #​2669.

Serializer for kotlin.uuid.Uuid

Kotlin 2.0.20 added a common class to represent UUIDs in a multiplatform code.
kotlinx.serialization 1.7.2 provides a corresponding Uuid.serializer() for it, making it possible to use it in @Serializable classes.
Note that for now, serializer should be provided manually with @Contextual annotation.
Plugin will be able to automatically insert Uuid serializer in Kotlin 2.1.0.

See more details in the corresponding PR.

Other bugfixes and improvements

  • Prohibited using of zero and negative field numbers in ProtoNumber (#​2766)
  • Improve readability of protobuf decoding exception messages (#​2768) (thanks to xiaozhikang0916)
  • docs(serializers): Fix grammatical errors (#​2779) (thanks to jamhour1g)
  • Fixed VerifyError after ProGuard optimization (#​2728)
  • Add wasm-wasi target to Okio integration (#​2727)
square/okio (com.squareup.okio:okio-fakefilesystem)

v3.10.2

Compare Source

2025-01-08

  • Fix: okio-nodefilesystem artifact is no longer empty.

v3.10.1

Compare Source

2025-01-07

  • New: FileSystem.close() may prevent future access and/or clean up associated resources depending on the backing implementation. FakeFileSystem will prevent future operations once closed.
  • InputStreams created from BufferedSource.inputStream() now have a more efficient version of InputStream.transferTo() which reduces memory copies.
  • okio-nodefilesystem is no longer publised as a JS project, but a Kotlin multiplatform project with only a JS target. This change should not affect consumers in any way, and is motivated by the Kotlin Gradle plugin deprecating the JS-only plugin.

v3.10.0

Compare Source

2025-01-06

This version is equivalent to the subsequent 3.10.1, but it did not fully publish to Maven Central due to infrastructure problems.

v3.9.1

2024-09-12

  • Fix: Support paths containing a single dot (".") in Path.relativeTo.
  • Fix: Do not read from the upstream source when a 0-byte read is requested.
  • Fix: Update kotlinx.datetime to 0.6.0 to correct a Gradle module metadata problem with 0.5.0.
    Note: this artifact is only used in 'okio-fakefilesystem' and 'okio-nodefilesystem' and not in the Okio core.

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 82557d5 to cab8911 Compare August 14, 2024 11:32
@renovate renovate bot changed the title Update dependency io.github.petertrr:kotlin-multiplatform-diff to v0.7.0 Update all non-major dependencies (except core Kotlin) Aug 14, 2024
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from eea8bc9 to 7986477 Compare August 20, 2024 16:37
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 7986477 to cf9eca9 Compare August 28, 2024 18:47
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from 3af0295 to 85ea6ca Compare September 12, 2024 22:29
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 7414085 to 10546cd Compare September 19, 2024 18:33
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from eb1f93c to 52f97a1 Compare September 29, 2024 16:05
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 52f97a1 to 236cbef Compare October 4, 2024 17:01
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 236cbef to c638c2a Compare October 21, 2024 15:58
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from c638c2a to 9afc577 Compare November 13, 2024 12:43
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from b1d766e to d69e186 Compare November 24, 2024 07:10
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from b86f3ba to ae36961 Compare December 16, 2024 15:18
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 2 times, most recently from 2be4134 to ef82c86 Compare January 8, 2025 13:24
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from ef82c86 to ee66c42 Compare January 8, 2025 18:54
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.

0 participants