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

chore(deps): update all non-major dependencies (except core kotlin) #531

Merged
merged 4 commits into from
May 15, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 15, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.kotest:kotest-assertions-core 5.6.1 -> 5.6.2 age adoption passing confidence
com.akuleshov7:ktoml-file 0.4.1 -> 0.5.0 age adoption passing confidence
com.akuleshov7:ktoml-core 0.4.1 -> 0.5.0 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-serialization-properties 1.5.0 -> 1.5.1 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-serialization-json 1.5.0 -> 1.5.1 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-serialization-core 1.5.0 -> 1.5.1 age adoption passing confidence

Release Notes

kotest/kotest

v5.6.2

5.6.2 May 2023

Assertions
Property testing
Documentation
Other

⚠️ Reverted behavior of Arb.string()

With Kotest 5.6.0, Codepoint.ascii() was changed to include a wider range of ascii chararacters, and Codepoint.printableAscii() was introduced with the historic range used by Codepoint.ascii().

Arb.string() has been using Codepoint.ascii() as it's default for generating chars for the string. This caused issues for some users, and we decided to revert Arb.string() to the historic behavior by changing the default to the new Codepoint.printableAscii().

Hopefully this doesn't cause any issues for you. If it does, you can revert to the 5.6.0 ~ 5.6.1 behavior by using Codepoint.ascii() explicitly.

If you added explicit usage of Codepoint.printableAscii() to circumvent the issue, you can safely remove the explicit parameter starting with Kotest 5.6.2.

New Contributors

Full Changelog: kotest/kotest@v5.6.1...v5.6.2

akuleshov7/ktoml

v0.5.0

Breaking changes
  • In this release, we have made some changes to the library's API and removed old deprecated methods;
  • For instance, we removed methods that used the deprecated TomlConfig and left only those that use TomlInputConfig or TomlOutputConfig;
  • Additionally, we have started to stream data during decoding and parsing, which should improve performance;
  • However, this may affect the way you use some ktoml methods.
Changes that deserve your attention

❗ Now toml-file is only one of the example for reading the data from source. For your particular case you can implement your own source provider based on okio.Source. For this purpose we have prepared toml-source module and implemented an example with java streams for JVM target.

// add com.akuleshov7:ktoml-source to your project
import com.akuleshov7.ktoml.source

val resultFromString = TomlFileReader.decodeFromSource<MyClass>(serializer(), /* your source */)
val resultFromList = TomlFileReader.partiallyDecodeFromSource<MyClass>(serializer(),  /* your source */, /* table name */)
What else is new
Infrastructure changes

Full Changelog: orchestr7/ktoml@v0.4.1...v0.5.0

Kotlin/kotlinx.serialization

v1.5.1

==================
This release contains an important Native targets overhaul, as well as numerous enhancements and bugfixes.
Kotlin 1.8.21 is used by default.

New set of Native targets

The official Kotlin target support policy has recently been published
describing new target policy: each target belongs to a certain tier, and different tiers have different stability guarantees.
The official recommendation for library authors is to support targets up to Tier 3,
and kotlinx.serialization now follows it.
It means that in this release, there are a lot of new targets added from this tier,
such as androidNativeX86 or watchosDeviceArm64.
Note that since they belong to Tier 3, they're not auto-tested on CI.

kotlinx.serialization also ships some deprecated Kotlin/Native targets that do not belong to any tier (e.g. iosArm32, mingwX86).
We'll continue to release them, but we do not provide support for them, nor do we plan to add new targets from the deprecated list.

Improvements in Json elements

There are two new function sets that should make creating raw Json elements easier.
First one contains overloads for JsonPrimitive constructor-like function
that accept unsigned types: JsonPrimitive(1u).
Second one adds new addAll functions to JsonArrayBuilder to be used with collections
of numbers, booleans or strings: buildJsonArray { addAll(listOf(1, 2, 3)) }
Both were contributed to us by aSemy.

Other enhancements
  • Potential source-breaking change: Rename json-okio target variables to sink (#​2226)
  • Function to retrieve KSerializer by KClass and type arguments serializers (#​2291)
  • Added FormatLanguage annotation to Json methods (#​2234)
  • Properties Format: Support sealed/polymorphic classes as class properties (#​2255)
Bugfixes
  • KeyValueSerializer: Fix missing call to endStructure() (#​2272)
  • ObjectSerializer: Respect sequential decoding (#​2273)
  • Fix value class encoding in various corner cases (#​2242)
  • Fix incorrect json decoding iterator's .hasNext() behavior on array-wrapped inputs (#​2268)
  • Fix memory leak caused by invalid KTypeWrapper's equals method (#​2274)
  • Fixed NoSuchMethodError when parsing a JSON stream on Java 8 (#​2219)
  • Fix MissingFieldException duplication (#​2213)

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 becomes conflicted, 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 has been generated by Mend Renovate. View repository job log here.

@github-actions
Copy link

github-actions bot commented May 15, 2023

JUnit Tests (Linux, EnricoMi/publish-unit-test-result-action@v1)

245 tests  ±0   221 ✔️ ±0   12m 34s ⏱️ + 2m 26s
  48 suites ±0     24 💤 ±0 
  48 files   ±0       0 ±0 

Results for commit 2445c45. ± Comparison against base commit f958ab4.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented May 15, 2023

JUnit Tests (macOS, EnricoMi/publish-unit-test-result-action@v1)

245 tests  ±0   221 ✔️ ±0   13m 14s ⏱️ - 6m 35s
  48 suites ±0     24 💤 ±0 
  48 files   ±0       0 ±0 

Results for commit 2445c45. ± Comparison against base commit f958ab4.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented May 15, 2023

JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v1)

245 tests  ±0   221 ✔️ ±0   16m 33s ⏱️ + 4m 41s
  48 suites ±0     24 💤 ±0 
  48 files   ±0       0 ±0 

Results for commit 2445c45. ± Comparison against base commit f958ab4.

♻️ This comment has been updated with latest results.

@kgevorkyan kgevorkyan self-assigned this May 15, 2023
### What's done:
* .
@renovate
Copy link
Contributor Author

renovate bot commented May 15, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

### What's done:
* .
@@ -9,7 +9,7 @@ org.gradle.caching=true
# Kotlin
kotlin.code.style=official
kotlin.mpp.stability.nowarn=true
kotlin.native.cacheKind.linuxX64=static
kotlin.native.cacheKind.linuxX64=none
Copy link
Member

Choose a reason for hiding this comment

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

think it's okay
build failed with caches

@kgevorkyan kgevorkyan requested a review from nulls May 15, 2023 14:03
### What's done:
* .
@@ -9,7 +9,6 @@ org.gradle.caching=true
# Kotlin
kotlin.code.style=official
kotlin.mpp.stability.nowarn=true
kotlin.native.cacheKind.linuxX64=static
kotlin.mpp.hierarchicalStructureSupport=true
Copy link
Member

Choose a reason for hiding this comment

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

@codecov
Copy link

codecov bot commented May 15, 2023

Codecov Report

Merging #531 (2445c45) into main (f958ab4) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##               main     #531   +/-   ##
=========================================
  Coverage     48.32%   48.32%           
  Complexity      164      164           
=========================================
  Files            53       53           
  Lines          1877     1877           
  Branches        313      313           
=========================================
  Hits            907      907           
  Misses          841      841           
  Partials        129      129           
Flag Coverage Δ
unittests 48.32% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...otlin/com/saveourtool/save/core/utils/TomlUtils.kt 78.26% <100.00%> (ø)

@kgevorkyan kgevorkyan merged commit 711315f into main May 15, 2023
@kgevorkyan kgevorkyan deleted the renovate/all-minor-patch branch May 15, 2023 14:58
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.

1 participant