Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: scala/docs.scala-lang
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ce6ea82
Choose a base ref
...
head repository: scala/docs.scala-lang
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1ae6d88
Choose a head ref
  • 8 commits
  • 6 files changed
  • 8 contributors

Commits on Apr 18, 2025

  1. Merge pull request #3183 from scala/bump-ubuntu-runner-image

    Bump runner image to ubuntu-22.04
    sjrd authored Apr 18, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    7d73821 View commit details

Commits on Apr 22, 2025

  1. Bump nokogiri from 1.18.4 to 1.18.8

    Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.18.4 to 1.18.8.
    - [Release notes](https://github.com/sparklemotion/nokogiri/releases)
    - [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
    - [Commits](sparklemotion/nokogiri@v1.18.4...v1.18.8)
    
    ---
    updated-dependencies:
    - dependency-name: nokogiri
      dependency-version: 1.18.8
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Apr 22, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    d44c0ce View commit details
  2. Merge pull request #3184 from scala/dependabot/bundler/nokogiri-1.18.8

    Bump nokogiri from 1.18.4 to 1.18.8
    sjrd authored Apr 22, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    4cace3b View commit details

Commits on Apr 29, 2025

  1. fix typo

    matsuyoshi30 committed Apr 29, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    matsuyoshi30 Masaya Watanabe
    Copy the full SHA
    daac5f3 View commit details
  2. Merge pull request #3186 from matsuyoshi30/fix-typo

    fix typo
    xuwei-k authored Apr 29, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    835c89f View commit details

Commits on May 7, 2025

  1. Add API links for 3.7.0 and update JDK compatibility table (#3188)

    * Add Scala 3.7.0
    
    * Add JDK 25 compatibility table entry
    WojciechMazur authored May 7, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    36ac728 View commit details

Commits on May 8, 2025

  1. chore: Update Scala 3.3.6 (#3190)

    tgodzik authored May 8, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    1bebf7a View commit details

Commits on May 9, 2025

  1. Fix typo (#3187)

    * Fix typo
    
    * Update _overviews/scala3-macros/tutorial/quotes.md
    
    Co-authored-by: Philippus Baalman <philippus@gmail.com>
    
    ---------
    
    Co-authored-by: Philippus Baalman <philippus@gmail.com>
    andrzejressel and Philippus authored May 9, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    1ae6d88 View commit details
Showing with 14 additions and 9 deletions.
  1. +3 −3 Gemfile.lock
  2. +1 −1 _config.yml
  3. +1 −1 _ja/tour/higher-order-functions.md
  4. +2 −1 _overviews/jdk-compatibility/overview.md
  5. +1 −1 _overviews/scala3-macros/tutorial/quotes.md
  6. +6 −2 api/all.md
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -264,11 +264,11 @@ GEM
minitest (5.25.4)
net-http (0.6.0)
uri
nokogiri (1.18.4-arm64-darwin)
nokogiri (1.18.8-arm64-darwin)
racc (~> 1.4)
nokogiri (1.18.4-x64-mingw-ucrt)
nokogiri (1.18.8-x64-mingw-ucrt)
racc (~> 1.4)
nokogiri (1.18.4-x86_64-linux-gnu)
nokogiri (1.18.8-x86_64-linux-gnu)
racc (~> 1.4)
octokit (4.25.1)
faraday (>= 1, < 3)
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ keywords:

scala-version: 2.13.16
scala-212-version: 2.12.20
scala-3-version: 3.6.4
scala-3-version: 3.7.0

collections:
style:
2 changes: 1 addition & 1 deletion _ja/tour/higher-order-functions.md
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ Scalaコンパイラはパラメーターの型を(Intが1つだけと)既
唯一の注意点はパラメータ名の代わりに`_`を使う必要があるということです(先の例では`x`でした)。

## メソッドを関数に強制変換
高階関数には引数としてとしてメソッドを渡すことも可能で、それはScalaコンパイラがメソッドを関数に強制変換するからです。
高階関数には引数としてメソッドを渡すことも可能で、それはScalaコンパイラがメソッドを関数に強制変換するからです。
```scala mdoc
case class WeeklyWeatherForecast(temperatures: Seq[Double]) {

3 changes: 2 additions & 1 deletion _overviews/jdk-compatibility/overview.md
Original file line number Diff line number Diff line change
@@ -14,7 +14,8 @@ Minimum Scala versions:

| JDK | 3 | 3 LTS | 2.13 | 2.12 | 2.11 |
|:-----------:|:--------:|:--------:|:---------:|:---------:|:----------:|
| 24 (ea) | 3.6.4 | 3.3.6* | 2.13.16 | 2.12.21* | |
| 25 (ea) | 3.7.1* | 3.3.6 | 2.13.17* | 2.12.21* | |
| 24 | 3.6.4 | 3.3.6 | 2.13.16 | 2.12.21* | |
| 23 | 3.6.2 | 3.3.5 | 2.13.15 | 2.12.20 | |
| 22 | 3.4.0 | 3.3.4 | 2.13.13 | 2.12.19 | |
| 21 (LTS) | 3.4.0 | 3.3.1 | 2.13.11 | 2.12.18 | |
2 changes: 1 addition & 1 deletion _overviews/scala3-macros/tutorial/quotes.md
Original file line number Diff line number Diff line change
@@ -433,7 +433,7 @@ As with expression quote patterns, type variables are represented using lower ca

## FromExpr

The `Expr.value`, `Expr.valueOrAbort`, and `Expr.unapply` methods uses intances of `FromExpr` to extract the value if possible.
The `Expr.value`, `Expr.valueOrAbort`, and `Expr.unapply` methods use instances of `FromExpr` to extract the value if possible.
```scala
extension [T](expr: Expr[T]):
def value(using Quotes)(using fromExpr: FromExpr[T]): Option[T] =
8 changes: 6 additions & 2 deletions api/all.md
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ redirect_from:

* Scala {{site.scala-3-version}}
* [Library API](https://www.scala-lang.org/api/{{site.scala-3-version}}/)
* Scala 3.3.5 LTS
* [Library API](https://www.scala-lang.org/api/3.3.5/)
* Scala 3.3.6 LTS
* [Library API](https://www.scala-lang.org/api/3.3.6/)
* Scala 2.13.16
* [Library API](https://www.scala-lang.org/api/2.13.16/)
* [Compiler API](https://www.scala-lang.org/api/2.13.16/scala-compiler/scala/)
@@ -64,6 +64,8 @@ https://scala-ci.typesafe.com/artifactory/scala-integration/org/scala-lang/

## Previous releases

* Scala 3.6.4
* [Library API](https://www.scala-lang.org/api/3.6.4/)
* Scala 3.6.3
* [Library API](https://www.scala-lang.org/api/3.6.3/)
* Scala 3.6.2
@@ -82,6 +84,8 @@ https://scala-ci.typesafe.com/artifactory/scala-integration/org/scala-lang/
* [Library API](https://www.scala-lang.org/api/3.4.1/)
* Scala 3.4.0
* [Library API](https://www.scala-lang.org/api/3.4.0/)
* Scala 3.3.5 LTS
* [Library API](https://www.scala-lang.org/api/3.3.5/)
* Scala 3.3.4 LTS
* [Library API](https://www.scala-lang.org/api/3.3.4/)
* Scala 3.3.3 LTS