Skip to content

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps scala-library from 2.12.4 to 2.13.0.

Release notes

Sourced from scala-library's releases.

Scala 2.13.0

DRAFT RELEASE NOTES STILL ACTIVELY BEING REVISED

We are delighted to announce the availability of Scala 2.13.0!

Collections redesign

Standard library collections have been overhauled.

This is the centerpiece of the release.

Most ordinary code that used the old collections will continue to work as-is, except as detailed below.

The most important collections changes are:

  • Simpler method signatures
    • No more CanBuildFrom. Transformation methods no longer take an implicit CanBuildFrom parameter.
    • The resulting library is easier to understand (in code, Scaladoc, and IDE code completion).
    • It also makes user code compile faster.
    • A new BuildFrom implicit is used in a handful of places that need it.
  • Simpler type hierarchy
    • No more Traversable and TraversableOnce
      • They remain only as deprecated aliases for Iterable and IterableOnce
    • Parallel collections are now a separate module
    • No more GenSeq, GenTraversableOnce, et al.
  • Immutable scala.Seq
    • Seq is now an alias for scala.collection.immutable.Seq
    • Before, it was an alias for the possibly-mutable scala.collection.Seq.
    • This also changes the type of varargs in methods and pattern matches.
    • Arrays passed as varargs are defensively copied. (#6970)
  • Simplified views that work
    • scala.collection.Views have been vastly simplified and should now work reliably.
  • New, faster HashMap/Set implementations
    • Both immutable (d5ae93e) and mutable (#7348) versions were completely replaced.
    • They substantially outperform the old implementations in most scenarios.
    • The mutable versions now perform on par with the Java standard library's implementations.
  • New concrete collections
    • immutable.LazyListreplaces immutable.Stream. Stream had different laziness behavior and is now deprecated. (#7558, #7000)
    • immutable.ArraySeq is an immutable wrapper for an array.
    • mutable.CollisionProofHashMap guards against denial-of-service attacks (#7633)
    • mutable.ArrayDeque is a double-ended queue that internally uses a resizable circular buffer (scala/collection-strawman#490)
  • New abstract collection type SeqMap
    • immutable.SeqMap provides immutable maps that maintain insertion order. (#7954)
    • Implementations: VectorMap (#6854) and TreeSeqMap (#7146) (in addition to the already existing ListMap).

Additional collections changes:

  • New to(Collection) method
    • Replaces old to[Collection] method.
... (truncated)
Commits
  • 43e040f Merge pull request #8113 from szeiger/wip/stringops-collect
  • 6961265 Merge pull request #8118 from magnolia-k/add_doc_ArraySeq#unsafeWrapArray
  • b5927fb Merge pull request #8058 from dwijnand/spec-dont-recur-on-eta-expansion
  • f6cc304 Add StringOps#collect methods
  • 6f02f40 Merge pull request #8117 from xuwei-k/fix-11551
  • 6a5db80 Added to the document about why it is 'unsafe'.
  • 5ea2460 fix 11551. use == instead of equals in BitmapIndexedSetNode
  • 3274eff Merge pull request #8115 from SethTisue/rc3-is-starr
  • fb46b4e re-STARR and reset MiMa onto RC3
  • a73bacc fixup mima
  • 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 ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Bumps [scala-library](https://github.com/scala/scala) from 2.12.4 to 2.13.0.
- [Release notes](https://github.com/scala/scala/releases)
- [Commits](scala/scala@v2.12.4...v2.13.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jun 7, 2019
@dependabot-preview
Copy link
Contributor Author

Superseded by #61.

@dependabot-preview dependabot-preview bot deleted the dependabot/maven/org.scala-lang-scala-library-2.13.0 branch September 18, 2019 12:19
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.

0 participants