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 kotlinx-serialization-json from 1.3.1 to 1.3.2 #4485

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 24, 2021

Bumps kotlinx-serialization-json from 1.3.1 to 1.3.2.

Release notes

Sourced from kotlinx-serialization-json's releases.

1.3.2

This release contains several features and bugfixes for core API as well as for HOCON format. It uses Kotlin 1.6.10 by default.

Serializing objects to HOCON

It's now possible to encode Kotlin objects to Config values with new Hocon.encodeToConfig function. This feature may help edit existing configs inside Kotlin program or generate new ones.

Big thanks to Osip Fatkullin for implementing this.

Polymorphic default serializers

As of now, polymorphicDefault clause inside SerializersModule { } builder specifies a fallback serializer to be used only during deserialization process. A new function has been introduced to allow setting fallback serializer for serialization: polymorphicDefaultSerializer. This function should ease serializing vast hierarchies of third-party or Java classes.

Note that there are two new experimental functions, polymorphicDefaultSerializer and polymorphicDefaultDeserializer. To avoid naming confusion, we are going to deprecate polymorphicDefault in favor of polymorphicDefaultDeserializer in the next minor release (1.4.0).

Credit for the PR goes to our contributor Joseph Burton.

Other improvements

Bugfixes

  • Properly handle top-level value classes in encodeToJsonElement (#1777)
  • Fix incorrect handling of object end when JsonTreeReader (JsonElement) is used with decodeToSequence (#1782)
Changelog

Sourced from kotlinx-serialization-json's changelog.

1.3.2 / 2021-12-23

This release contains several features and bugfixes for core API as well as for HOCON format. It uses Kotlin 1.6.10 by default.

Serializing objects to HOCON

It's now possible to encode Kotlin objects to Config values with new Hocon.encodeToConfig function. This feature may help edit existing configs inside Kotlin program or generate new ones.

Big thanks to Osip Fatkullin for implementing this.

Polymorphic default serializers

As of now, polymorphicDefault clause inside SerializersModule { } builder specifies a fallback serializer to be used only during deserialization process. A new function has been introduced to allow setting fallback serializer for serialization: polymorphicDefaultSerializer. This function should ease serializing vast hierarchies of third-party or Java classes.

Note that there are two new experimental functions, polymorphicDefaultSerializer and polymorphicDefaultDeserializer. To avoid naming confusion, we are going to deprecate polymorphicDefault in favor of polymorphicDefaultDeserializer in the next minor release (1.4.0).

Credit for the PR goes to our contributor Joseph Burton.

Other improvements

Bugfixes

  • Properly handle top-level value classes in encodeToJsonElement (#1777)
  • Fix incorrect handling of object end when JsonTreeReader (JsonElement) is used with decodeToSequence (#1782)
Commits
  • 15a4dd2 Prepare 1.3.2 release
  • 8c93430 Merge remote-tracking branch 'origin/master' into dev
  • 02fe708 Update to 1.6.10
  • 261490a Hocon encoder implementation (#1740)
  • 77aa167 HOCON: parse strings into integers and booleans if possible (#1795)
  • a33ef02 Properly handle top-level value classes in encodeToJsonElement (#1777)
  • 4c30fcf Fixed a naming bug in Json kdocs (#1794)
  • 1b2344f Fix incorrect handling of object end when JsonTreeReader (JsonElement) is use...
  • 9755adc Reduce core module coverage bound
  • 51ccccf Update Kover to 0.4.2 (#1772)
  • 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 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 [kotlinx-serialization-json](https://github.com/Kotlin/kotlinx.serialization) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/Kotlin/kotlinx.serialization/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.serialization/blob/master/CHANGELOG.md)
- [Commits](Kotlin/kotlinx.serialization@v1.3.1...v1.3.2)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-serialization-json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 24, 2021
@github-actions
Copy link
Contributor

Diffuse output:

OLD: paymentsheet-example-release-master.apk (signature: none)
NEW: paymentsheet-example-release-pr.apk (signature: none)

          │            compressed            │           uncompressed            
          ├───────────┬───────────┬──────────┼───────────┬───────────┬───────────
 APK      │ old       │ new       │ diff     │ old       │ new       │ diff      
──────────┼───────────┼───────────┼──────────┼───────────┼───────────┼───────────
      dex │  11.8 MiB │  11.8 MiB │ +7.7 KiB │    40 MiB │  40.1 MiB │ +54.8 KiB 
     arsc │   1.4 MiB │   1.4 MiB │      0 B │   1.4 MiB │   1.4 MiB │       0 B 
 manifest │   2.6 KiB │   2.6 KiB │      0 B │  10.8 KiB │  10.8 KiB │       0 B 
      res │ 653.2 KiB │ 653.2 KiB │      0 B │     1 MiB │     1 MiB │       0 B 
    asset │  77.7 KiB │  77.7 KiB │    -17 B │ 109.2 KiB │ 109.1 KiB │     -17 B 
    other │    78 KiB │    78 KiB │     +2 B │   154 KiB │   154 KiB │       0 B 
──────────┼───────────┼───────────┼──────────┼───────────┼───────────┼───────────
    total │    14 MiB │    14 MiB │ +7.7 KiB │  42.7 MiB │  42.8 MiB │ +54.8 KiB 


         │          raw           │               unique               
         ├────────┬────────┬──────┼────────┬────────┬──────────────────
 DEX     │ old    │ new    │ diff │ old    │ new    │ diff             
─────────┼────────┼────────┼──────┼────────┼────────┼──────────────────
   files │      3 │      3 │    0 │        │        │                  
 strings │ 183548 │ 183487 │  -61 │ 168777 │ 168714 │  -63 (+463 -526) 
   types │  32758 │  32779 │  +21 │  30761 │  30781 │  +20 (+26 -6)    
 classes │  28393 │  28406 │  +13 │  28393 │  28406 │  +13 (+19 -6)    
 methods │ 164665 │ 164771 │ +106 │ 159785 │ 159890 │ +105 (+241 -136) 
  fields │ 115624 │ 115654 │  +30 │ 115004 │ 115034 │  +30 (+45 -15)   


 ARSC    │ old  │ new  │ diff 
─────────┼──────┼──────┼──────
 configs │  295 │  295 │  0   
 entries │ 4370 │ 4370 │  0
APK
     compressed     │     uncompressed     │                                                       
─────────┬──────────┼──────────┬───────────┤                                                       
 size    │ diff     │ size     │ diff      │ path                                                  
─────────┼──────────┼──────────┼───────────┼───────────────────────────────────────────────────────
 2.8 MiB │ +7.6 KiB │  7.8 MiB │ +54.8 KiB │ ∆ classes3.dex                                        
 2.7 MiB │    +57 B │  7.7 MiB │      +4 B │ ∆ classes2.dex                                        
 5.4 KiB │    -17 B │  5.3 KiB │     -17 B │ ∆ assets/dexopt/baseline.prof                         
   190 B │     +2 B │      6 B │       0 B │ ∆ META-INF/androidx.activity_activity-compose.version 
─────────┼──────────┼──────────┼───────────┼───────────────────────────────────────────────────────
 5.5 MiB │ +7.7 KiB │ 15.4 MiB │ +54.8 KiB │ (total)
DEX
STRINGS:

   old    │ new    │ diff            
  ────────┼────────┼─────────────────
   168777 │ 168714 │ -63 (+463 -526) 
  
  + SMAP
  AddressFieldElementRepository.kt
  Kotlin
  *S Kotlin
  *F
  + 1 AddressFieldElementRepository.kt
  com/stripe/android/ui/core/address/AddressFieldElementRepository
  + 2 _Collections.kt
  kotlin/collections/CollectionsKt___CollectionsKt
  + 3 Maps.kt
  kotlin/collections/MapsKt__MapsKt
  + 4 _Maps.kt
  kotlin/collections/MapsKt___MapsKt
  *L
  1#1,87:1
  1269#2,2:88
  1283#2,4:90
  1236#2,4:96
  1849#2,2:104
  438#3:94
  388#3:95
  125#4:100
  152#4,3:101
  *S KotlinDebug
  *F
  + 1 AddressFieldElementRepository.kt
  com/stripe/android/ui/core/address/AddressFieldElementRepository
  *L
  24#1:88,2
  24#1:90,4
  26#1:96,4
  50#1:104,2
  26#1:94
  26#1:95
  45#1:100
  45#1:101,3
  *E
  
  + SMAP
  CompleteFormFieldValueFilter.kt
  Kotlin
  *S Kotlin
  *F
  + 1 CompleteFormFieldValueFilter.kt
  com/stripe/android/paymentsheet/forms/CompleteFormFieldValueFilter
  + 2 Maps.kt
  kotlin/collections/MapsKt__MapsKt
  + 3 _Collections.kt
  kotlin/collections/CollectionsKt___CollectionsKt
  *L
  1#1,55:1
  511#2:56
  496#2,6:57
  1547#3:63
  1618#3,3:64
  2468#3,3:67
  *S KotlinDebug
  *F
  + 1 CompleteFormFieldValueFilter.kt
  com/stripe/android/paymentsheet/forms/CompleteFormFieldValueFilter
  *L
  41#1:56
  41#1:57,6
  50#1:63
  50#1:64,3
  51#1:67,3
  *E
  
  + SMAP
  CurrencyFormatter.kt
  Kotlin
  *S Kotlin
  *F
  + 1 CurrencyFormatter.kt
  com/stripe/android/ui/core/CurrencyFormatter
  + 2 Maps.kt
  kotlin/collections/MapsKt__MapsKt
  + 3 _Maps.kt
  kotlin/collections/MapsKt___MapsKt
  *L
  1#1,89:1
  511#2:90
  496#2,6:91
  125#3:97
  152#3,3:98
  *S KotlinDebug
  *F
  + 1 CurrencyFormatter.kt
  com/stripe/android/ui/core/CurrencyFormatter
  *L
  74#1:90
  74#1:91,6
  76#1:97
  76#1:98,3
  *E
  
  + SMAP
  FormViewModel.kt
  Kotlin
  *S Kotlin
  *F
  + 1 FormViewModel.kt
  com/stripe/android/paymentsheet/forms/FormViewModel_hiddenIdentifiers_2
  + 2 Maps.kt
  kotlin/collections/MapsKt__MapsKt
  + 3 _Maps.kt
  kotlin/collections/MapsKt___MapsKt
  *L
  1#1,191:1
  511#2:192
  496#2,6:193
  76#3:199
  96#3,5:200
  *S KotlinDebug
  *F
  + 1 FormViewModel.kt
  com/stripe/android/paymentsheet/forms/FormViewModel_hiddenIdentifiers_2
  *L
  129#1:192
  129#1:193,6
  132#1:199
  132#1:200,5
  *E
  
  + SMAP
  TransformToPaymentMethodCreateParams.kt
  Kotlin
  *S Kotlin
  *F
  + 1 TransformToPaymentMethodCreateParams.kt
  com/stripe/android/paymentsheet/paymentdatacollection/TransformToPaymentMethodCreateParams
  + 2 Maps.kt
  kotlin/collections/MapsKt__MapsKt
  + 3 _Collections.kt
  kotlin/collections/CollectionsKt___CollectionsKt
  *L
  1#1,116:1
  438#2:117
  388#2:118
  453#2:123
  399#2:124
  1236#3,4:119
  1236#3,4:125
  *S KotlinDebug
  *F
  + 1 TransformToPaymentMethodCreateParams.kt
  com/stripe/android/paymentsheet/paymentdatacollection/TransformToPaymentMethodCreateParams
  *L
  50#1:117
  50#1:118
  51#1:123
  51#1:124
  50#1:119,4
  51#1:125,4
  *E
  
  + SMAP
  TransformToPaymentMethodCreateParams.kt
  Kotlin
  *S Kotlin
  *F
  + 1 TransformToPaymentMethodCreateParams.kt
  com/stripe/android/paymentsheet/paymentdatacollection/TransformToPaymentMethodCreateParamsKt
  + 2 Maps.kt
  kotlin/collections/MapsKt__MapsKt
  *L
  1#1,116:1
  479#2,7:117
  *S KotlinDebug
  *F
  + 1 TransformToPaymentMethodCreateParams.kt
  com/stripe/android/paymentsheet/paymentdatacollection/TransformToPaymentMethodCreateParamsKt
  *L
  115#1:117,7
  *E
  
  + format(this, *args)
  + this as java.lang.String).getBytes(charset)
  + this as java.lang.String).toLowerCase(Locale.ROOT)
  + this as java.lang.String).toUpperCase(Locale.ROOT)
  + �
  ������H����������H
  ¢������
  + �
  
  ���
  ���0�H
  ¢����
  + 
  
  
  ���
  ������0�H
  ¢������
  + 
  
  ���
  ���
  ���0�*�0�H
  ¢����
  + 
  ���
  ��
  ��������H�����*�0������H
  ¢������
  + �
  
  ���
  ���
  ������0����������*�H�*�����H�0�H�@
  + �
  
  ���
  ���
  ������0�*�����0�0�H�@
  + �
  
  ��
  
  ���
  ���0�2�����0�H
  ¢����
  + �
  
  ���
  ���
  ����������0�0�H
  ¢������
  + �
  
  ���
  ���
  �������������0�0�H
  ¢������
  + �
  
  ���
  
  ��
  ���0�����*�0�H
 ¢����
 + �
 
 ���
 
 ���
 �� ���0�����*��
  ������H�0�0�H�@
  + �
  
  ���
  ���
  ���
  ���0����������*�0�H
  ¢����
  + �
  
  ���
  ���
  ���
  ���0�����2�����0�H
 ¢����
 + �
 
 ���
 ���
 ���
 ���0�
...✂

@michelleb-stripe michelleb-stripe merged commit 8a59e33 into master Dec 28, 2021
@michelleb-stripe michelleb-stripe deleted the dependabot/gradle/org.jetbrains.kotlinx-kotlinx-serialization-json-1.3.2 branch December 28, 2021 15:49
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.

None yet

1 participant