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 dependencies #36

Merged
merged 1 commit into from
Jul 30, 2024
Merged

chore(deps): update all dependencies #36

merged 1 commit into from
Jul 30, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 30, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
com.eed3si9n:sbt-assembly plugin minor 2.1.5 -> 2.2.0
com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-core Test minor 2.28.4 -> 2.30.7
com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-core minor 2.28.4 -> 2.30.7
com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-macros Test minor 2.28.4 -> 2.30.7
com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-macros minor 2.28.4 -> 2.30.7
com.lihaoyi:fastparse (source) minor 3.0.2 -> 3.1.1
com.lihaoyi:mainargs Test minor 0.6.2 -> 0.7.1
com.lihaoyi:mainargs minor 0.6.2 -> 0.7.1
com.lihaoyi:os-lib Test minor 0.9.3 -> 0.10.3
com.lihaoyi:os-lib minor 0.9.3 -> 0.10.3
com.lihaoyi:pprint Test minor 0.8.1 -> 0.9.0
com.lihaoyi:pprint minor 0.8.1 -> 0.9.0
com.lihaoyi:requests Test minor 0.8.0 -> 0.9.0
com.lihaoyi:requests minor 0.8.0 -> 0.9.0
com.softwaremill.magnolia1_3:magnolia (source) patch 1.3.4 -> 1.3.7
io.github.iltotore:iron Test minor 2.5.0 -> 2.6.0
io.github.iltotore:iron minor 2.5.0 -> 2.6.0
io.github.iltotore:iron-jsoniter Test minor 2.5.0 -> 2.6.0
io.github.iltotore:iron-jsoniter minor 2.5.0 -> 2.6.0
io.github.iltotore:iron-scalacheck Test minor 2.5.0 -> 2.6.0
org.scalacheck:scalacheck (source) Test minor 1.17.0 -> 1.18.0
org.scalatest:scalatest (source) Test patch 3.2.18 -> 3.2.19
sbt/sbt minor 1.9.9 -> 1.10.1
scalacenter/sbt-dependency-submission action major v2 -> v3

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

sbt/sbt-assembly (com.eed3si9n:sbt-assembly)

v2.2.0: 2.2.0

Compare Source

updates

behind the scenes

new contributors

Full Changelog: sbt/sbt-assembly@v2.1.5...v2.2.0

plokhotnyuk/jsoniter-scala (com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-core)

v2.30.7

Compare Source

  • More efficient writing of Float, Double, and java.time.Duration values using Scala.js

All changes plokhotnyuk/jsoniter-scala@v2.30.6...v2.30.7

v2.30.6

Compare Source

  • More efficient writing of numeric and java.time.* values using Scala.js

All changes plokhotnyuk/jsoniter-scala@v2.30.5...v2.30.6

v2.30.5

Compare Source

  • More efficient writing of BigDecimal, BigInt, Double, Long, and java.time.Duration values using Scala.js

All changes plokhotnyuk/jsoniter-scala@v2.30.4...v2.30.5

v2.30.4

Compare Source

  • More efficient writing of Double values using Scala.js
  • More efficient reading of BigDecimal, BigInt, Double, Float, Long, and java.time.Duration values using Scala.js

All changes plokhotnyuk/jsoniter-scala@v2.30.3...v2.30.4

v2.30.3

Compare Source

  • Update Scala Native to 0.5.4
  • Update scala-java-time to 2.6.0 for jsoniter-scala-coreJS and jsoniter-scala-coreNative modules
  • Update circe-core to 0.14.9 for jsoniter-scala-circe* modules

All changes plokhotnyuk/jsoniter-scala@v2.30.2...v2.30.3

v2.30.2

Compare Source

  • Fixed possible ArrayIndexOutOfBoundsException for some lengths of output buffer when serializing double values with 3-digit mantissa by JVMs
  • More efficient parsing of java.time.Duration values without nanoseconds
  • More efficient serialization of strings with escaped unicodes
  • More efficient serialization of double and float values
  • Added some compile-time optimizations

All changes plokhotnyuk/jsoniter-scala@v2.30.1...v2.30.2

v2.30.1

Compare Source

  • Fixed missing enforced discriminator field for module or enum classes
  • Disallowed discriminatorFieldName to be None when alwaysEmitDiscriminator is true

All changes plokhotnyuk/jsoniter-scala@v2.30.0...v2.30.1

v2.30.0

Compare Source

  • Added ability to enforce emitting of the discriminator field for ADT-based types if their codecs are derived not from the base ADT type

All changes plokhotnyuk/jsoniter-scala@v2.29.0...v2.30.0

v2.29.0

Compare Source

  • Added the ConfiguredJsonValuCodec[A] trait that can be used with the ... derives ... syntax for Scala 3 macros

All changes plokhotnyuk/jsoniter-scala@v2.28.5...v2.29.0

v2.28.5

Compare Source

  • Disabled generation of asymmetric codecs for sum types with leaf classes that are AnyVal or one value classes with CodecMakerConfig.withInlineOneValueClasses(true)
  • Update Scala 2.13.x to 2.13.14

All changes plokhotnyuk/jsoniter-scala@v2.28.4...v2.28.5

com-lihaoyi/fastparse (com.lihaoyi:fastparse)

v3.1.1

Compare Source

v3.1.0

Compare Source

com-lihaoyi/mainargs (com.lihaoyi:mainargs)

v0.7.1

Compare Source

Merged Pull Requests
New Contributors

Full Changelog: com-lihaoyi/mainargs@0.7.0...0.7.1

v0.7.0

Compare Source

Merged Pull Requests
New Contributors

Full Changelog: com-lihaoyi/mainargs@0.6.3...0.7.0

v0.6.3

Compare Source

com-lihaoyi/os-lib (com.lihaoyi:os-lib)

v0.10.3

Merged Pull Requests

Full Changelog: com-lihaoyi/os-lib@0.10.2...0.10.3

v0.10.2

Compare Source

Merged Pull Requests

Full Changelog: com-lihaoyi/os-lib@0.10.1...0.10.2

v0.10.1

Compare Source

Merged Pull Requests
New Contributors

Full Changelog: com-lihaoyi/os-lib@0.10.0...0.10.1

v0.10.0

Compare Source

Merged Pull Requests
New Contributors

Full Changelog: com-lihaoyi/os-lib@0.9.3...0.10.0

com-lihaoyi/PPrint (com.lihaoyi:pprint)

v0.9.0

Compare Source

com-lihaoyi/requests-scala (com.lihaoyi:requests)

v0.9.0

Compare Source

v0.8.3

Compare Source

v0.8.2

Compare Source

Iltotore/iron (io.github.iltotore:iron)

v2.6.0

Compare Source

Introduction

This release adds new "all" variants introduced in 2.5.0 as well as compile-time UX enhancements.

Main changes
First-order variants for Cats and ZIO

iron-cats and iron-zio now include "all" variants for ValidatedNec/EitherNec/Nel... and Validation.

opaque type Username = String :| Alphanumeric
object Username extends RefinedTypeOps[String, Alphanumeric, Username]
//Success(List("CoolSkeleton95", "Alice"): List[String :| Alphanumeric])
List("CookSkeleton95", "Alice").refineAllValidation[Alphanumeric]

/*
Failure(NonEmptyChunk(
  InvalidValue("Il_totore", "Should be alphanumeric"),
  InvalidValue(" ", "Should be alphanumeric")
))
*/
List("Il_totore", "CoolSkeleton95", " ", "Alice").refineAllValidation[Alphanumeric]

//Success(List("CoolSkeleton95", "Alice"): List[Username])
Username.validationAll(List("CookSkeleton95", "Alice"))

(Scastie)

More useful compile-time errors

A reason is now given when an error fails at compile-time:

val y: Int = ??? //Runtime value
val x: Int :| Greater[10] = y
[error]    |-- Constraint Error --------------------------------------------------------
[error]    |Cannot refine value at compile-time because the predicate cannot be evaluated.
[error]    |This is likely because the condition or the input value isn't fully inlined.
[error]    |
[error]    |To test a constraint at runtime, use one of the `refine...` extension methods.
[error]    |
[error]    |Inlined input: y
[error]    |Inlined condition: (y.>(10.0): scala.Boolean)
[error]    |Message: Should be greater than 10
[error]    |Reason: Some arguments of `>` are not inlined:
[error]    |Arg 0:
[error]    |  Term not inlined: y
[error]    |----------------------------------------------------------------------------
Better colors for compile-time errors

Instead of aqua, compile-time errors use magenta which is more readable in Scastie than the former. Expressions are now highlighted:

Screenshot

image

Configurable compile-time errors

Compile-time errors can now be tweaked with two options:

  • -Diron.color to enable (true)/disable (false) compile-time messages colorations, including syntax highlighting
  • -Diron.shortMessages to display short summaries instead of full messages. Useful for Lens (such as Error Lens on VSCode or Inspection Lens on Intellij IDEA) users to have quick insights while coding.
Lens screenshot

In the following example, the flag -Diron.shortMessages=true was added to BSP arguments.

image

Adopters

The company Clever Cloud and the Tessela project are now listed on the README as adopters.

Contributors

Full Changelog: Iltotore/iron@v2.5.0...v2.6.0

typelevel/scalacheck (org.scalacheck:scalacheck)

v1.18.0

Compare Source

This is the first release that supports Scala Native 0.5. Otherwise this is functionally the same as 0.17.1.

Updates

Full Changelog: typelevel/scalacheck@v1.17.1...v1.18.0

v1.17.1

Compare Source

Highlights

Updates

New Contributors

Full Changelog: typelevel/scalacheck@v1.17.0...v1.17.1

scalatest/scalatest (org.scalatest:scalatest)

v3.2.19

Compare Source

sbt/sbt (sbt/sbt)

v1.10.1: 1.10.1

Compare Source

bug fixes and updates

behind the scenes

Full Changelog: sbt/sbt@v1.10.0...v1.10.1

v1.10.0: 1.10.0

Compare Source

Changes with compatibility implications

  • For SIP-51 support, scalaVersion can no longer be a lower 2.13.x version number than its transitive depdencies. See below for details.
  • ConsistentAnalysisFormat is enabled by default. See below for details.
  • Updates lm-coursier-shaded to 2.1.4, which brings in Coursier 2.1.9 #​7513.
  • Updates Jsch to mwiede/jsch fork by @​azolotko in lm#436
  • Updates the Scala version used by sbt 1.x to 2.12.19 by @​SethTisue in #​7516.

SIP-51 Support for Scala 2.13 Evolution

Modern Scala 2.x has kept both forward and backward binary compatibility so a library compiled using Scala 2.13.12 can be used by an application compiled with Scala 2.13.11 etc, and vice versa. The forward compatibility restricts Scala 2.x from evolving during the patch releases, so in SIP-51 Lukas Rytz at Lightbend Scala Team proposed:

I propose to drop the forwards binary compatibility requirement that build tools enforce on the Scala 2.13 standard library. This will allow implementing performance optimizations of collection operations that are currently not possible. It also unblocks adding new classes and new members to existing classes in the standard library.

Lukas has also contributed changes to sbt 1.10.0 to enforce stricter scalaVersion. Starting sbt 1.10.0, when a Scala 2.13.x patch version newer than scalaVersion is found, it will fail the build as follows:

sbt:foo> run
[error] stack trace is suppressed; run last scalaInstance for the full output
[error] (scalaInstance) expected `foo/scalaVersion` to be "2.13.10" or later,
[error] but found "2.13.5"; upgrade scalaVerion to fix the build.
[error]
[error] to support backwards-only binary compatibility (SIP-51),
[error] the Scala 2.13 compiler cannot be older than scala-library on the
[error] dependency classpath.
[error] see `foo/evicted` to know why scala-library 2.13.10 is getting pulled in.

When you see the error message like above, you can fix this by updating the Scala version to the suggested version (e.g. 2.13.10):

ThisBuild / scalaVersion := "2.13.10"

Side note: Old timers might know that sbt 0.13.0 also introduced the idea of scala-library as a normal dependency. This created various confusions as developers expected scalaVersion, compiler version, and scala-library version as expected to align. With the hindsight, sbt 1.10.0 will continue to respect scalaVersion to be the source-of-truth, but will reject bad ones at build time.

This was contributed by Lukas Rytz in #​7480.

Zinc fixes

ConsistentAnalysisFormat: new Zinc Analysis serialization

sbt 1.10.0 adds a new Zinc serialization format that is faster and repeatable, unlike the current Protobuf-based serialization. Benchmark data based on scala-library + reflect + compiler:

Write time Read time File size
sbt Text 1002 ms 791 ms ~ 7102 kB
sbt Binary 654 ms 277 ms ~ 6182 kB
ConsistentBinary 157 ms 100 ms 3097 kB

Since Zinc Analysis is internal to sbt, sbt 1.10.0 will enable this format by default. The following setting can be used to opt-out:

Global / enableConsistentCompileAnalysis := false

This was contributed by Stefan Zeiger at Databricks in zinc#1326.

New CommandProgress API

sbt 1.10.0 adds a new CommandProgress API.

This was contributed by Iulian Dragos at Gradle Inc in #​7350.

Other updates

scalacenter/sbt-dependency-submission (scalacenter/sbt-dependency-submission)

[v3](https://github.com/scalac


Configuration

📅 Schedule: Branch creation - "after 7pm on thursday" (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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from 095db5d to be40103 Compare June 2, 2024 10:37
@renovate renovate bot force-pushed the renovate/all branch 2 times, most recently from 7646181 to ddba788 Compare June 23, 2024 01:12
@renovate renovate bot force-pushed the renovate/all branch 5 times, most recently from bc6f0c5 to 487671f Compare July 7, 2024 23:25
@renovate renovate bot force-pushed the renovate/all branch 3 times, most recently from 25c909a to 0a842de Compare July 14, 2024 15:30
@renovate renovate bot force-pushed the renovate/all branch 4 times, most recently from aefc803 to c6c81ba Compare July 27, 2024 01:55
@scarisey scarisey merged commit 6556eeb into main Jul 30, 2024
1 check passed
@renovate renovate bot deleted the renovate/all branch July 30, 2024 12:19
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