Skip to content

Commit

Permalink
docs: release notes v1.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
kasiaMarek committed Jul 25, 2024
1 parent 4c7b60f commit 8785814
Show file tree
Hide file tree
Showing 4 changed files with 154 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ body:
id: version
attributes:
label: Version of Metals
placeholder: v1.3.3
placeholder: v1.3.4
validations:
required: true

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mtags-auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ on:
metals_version:
description: "Metals Version"
required: true
default: "v1.3.3"
default: "v1.3.4"
metals_ref:
description: "Tag/branch-name from which run release"
required: true
# If you update this line after release
# just put the tag name (`v*.*.*`) here as in `metals_version.value` above.
# Don't be confused if this value contains `*.*.*_mtags_release`
default: "v1.3.3"
default: "v1.3.4"
jobs:
test_and_release:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Global / onChangedBuildSource := ReloadOnSourceChanges
Global / resolvers += "scala-integration" at
"https://scala-ci.typesafe.com/artifactory/scala-integration/"

def localSnapshotVersion = "1.3.4-SNAPSHOT"
def localSnapshotVersion = "1.3.5-SNAPSHOT"
def isCI = System.getenv("CI") != null

def isScala211(v: Option[(Long, Long)]): Boolean = v.contains((2, 11))
Expand Down
150 changes: 150 additions & 0 deletions website/blog/2024-07-24-thallium.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
---
author: Katarzyna Marek
title: Metals v1.3.4 - Thallium
authorImageURL: https://github.com/kasiaMarek.png
---

We're happy to announce the release of Metals v1.3.4, which above all improves the experience of working with non-compiling Scala 3 projects.

<table>
<tbody>
<tr>
<td>Commits since last release</td>
<td align="center">31</td>
</tr>
<tr>
<td>Merged PRs</td>
<td align="center">21</td>
</tr>
<tr>
<td>Contributors</td>
<td align="center">6</td>
</tr>
<tr>
<td>Closed issues</td>
<td align="center">12</td>
</tr>
<tr>
<td>New features</td>
<td align="center">2</td>
</tr>
</tbody>
</table>

For full details: [https://github.com/scalameta/metals/milestone/70?closed=1](https://github.com/scalameta/metals/milestone/70?closed=1)

Metals is a language server for Scala that works with VS Code, Vim, Emacs, Zed,
Helix and Sublime Text. Metals is developed at the
[Scala Center](https://scala.epfl.ch/) and [VirtusLab](https://virtuslab.com)
with the help from contributors from the community.

## TL;DR

Check out [https://scalameta.org/metals/](https://scalameta.org/metals/), and
give Metals a try!

- [Scala 3 best effort compilation](#scala-3-best-effort-compilation)
- [Sort workspace members with the same name by frequency](#sort-workspace-members-with-the-same-name-by-frequency)

## Scala 3 best effort compilation

Starting with this release Metals will take advantage of Scala 3 best effort compilation. This should greatly improve the IDE experience of working with non-compiling code. With best effort compilation Scala 3 compiler will produce a tasty-like format files that can also include partially broken trees even when a module does not compile. Those files, similarly to normal tasty files, will be later consumed by the presentation compiler providing most up to date information about the project. This great feature has been delivered by [jchyb](https://github.com/jchyb) and will be available starting with Scala `3.5.0`.

## Sort workspace members with the same name by frequency

Workspace member completions with the same name are now sorted by their usage frequency, so the symbols more often referenced in project appear higher on the list of completions. This cool feature was added by [Temurlock](https://github.com/Temurlock).

![sort-by-freq](https://i.imgur.com/lAOeVCZ.gif)

# Miscellaneous
- fix: show zero extent references for implicits when using pc
- fix: correctly handle `.scala` files with shebang
- fix: suggest import for maven/gradle when `defaultBspToBuildTool = true`
- fix: only detect 100% sure test names [tgodzik](https://github.com/tgodzik)
- fix: correctly prefix scope completions when conflicting for Scala 2

## Contributors

Big thanks to everybody who contributed to this release or reported an issue!

```
$ git shortlog -sn --no-merges v1.3.3..v1.3.4
11 Simon Parten
7 Katarzyna Marek
7 Tomasz Godzik
4 Scalameta Bot
1 Jan Chyb
1 temurlock
```

## Merged PRs

## [v1.3.4](https://github.com/scalameta/metals/tree/v1.3.4) (2024-07-24)

[Full Changelog](https://github.com/scalameta/metals/compare/v1.3.3...v1.3.4)

**Merged pull requests:**

- fix: correctly prefix scope completions when conflicting for Scala 2
[\#6615](https://github.com/scalameta/metals/pull/6615)
([kasiaMarek](https://github.com/kasiaMarek))
- bugfix: Only detect 100% sure test names
[\#6618](https://github.com/scalameta/metals/pull/6618)
([tgodzik](https://github.com/tgodzik))
- bugfix: Retry deleting Bloop folders
[\#6614](https://github.com/scalameta/metals/pull/6614)
([tgodzik](https://github.com/tgodzik))
- fix: suggest import for maven/gradle when `defaultBspToBuildTool = true`
[\#6603](https://github.com/scalameta/metals/pull/6603)
([kasiaMarek](https://github.com/kasiaMarek))
- fix: correctly handle `.scala` with shebang
[\#6602](https://github.com/scalameta/metals/pull/6602)
([kasiaMarek](https://github.com/kasiaMarek))
- fix: by-max on empty
[\#6610](https://github.com/scalameta/metals/pull/6610)
([kasiaMarek](https://github.com/kasiaMarek))
- build(deps): Update h2 from 2.2.224 to 2.3.230
[\#6605](https://github.com/scalameta/metals/pull/6605)
([scalameta-bot](https://github.com/scalameta-bot))
- build(deps): Update cli_3, scala-cli-bsp from 1.4.0 to 1.4.1
[\#6609](https://github.com/scalameta/metals/pull/6609)
([scalameta-bot](https://github.com/scalameta-bot))
- build(deps): Update ammonite-util from 3.0.0-M2-13-23a8ef64 to 3.0.0-M2-15-9bed9700
[\#6606](https://github.com/scalameta/metals/pull/6606)
([scalameta-bot](https://github.com/scalameta-bot))
- feature: Add support for Scala 3's Best Effort compilation
[\#5219](https://github.com/scalameta/metals/pull/5219)
([jchyb](https://github.com/jchyb))
- chore: remove some deprecations
[\#6600](https://github.com/scalameta/metals/pull/6600)
([kasiaMarek](https://github.com/kasiaMarek))
- test: fix `implicit-args-3` test
[\#6596](https://github.com/scalameta/metals/pull/6596)
([kasiaMarek](https://github.com/kasiaMarek))
- improvement: sorting workspace members with same name by frequency
[\#6393](https://github.com/scalameta/metals/pull/6393)
([Temurlock](https://github.com/Temurlock))
- Range selection for scala 3
[\#6485](https://github.com/scalameta/metals/pull/6485)
([Quafadas](https://github.com/Quafadas))
- fix: show zero extent references when using pc
[\#6583](https://github.com/scalameta/metals/pull/6583)
([kasiaMarek](https://github.com/kasiaMarek))
- improvement: Add supported by section
[\#6520](https://github.com/scalameta/metals/pull/6520)
([tgodzik](https://github.com/tgodzik))
- chore: Add support for Scala 3.3.4-RC1
[\#6591](https://github.com/scalameta/metals/pull/6591)
([tgodzik](https://github.com/tgodzik))
- build(deps): Update jsoup from 1.17.2 to 1.18.1
[\#6585](https://github.com/scalameta/metals/pull/6585)
([scalameta-bot](https://github.com/scalameta-bot))
- chore: Update mdoc to 2.5.4
[\#6523](https://github.com/scalameta/metals/pull/6523)
([tgodzik](https://github.com/tgodzik))
- bugfix: Fix release title
[\#6590](https://github.com/scalameta/metals/pull/6590)
([tgodzik](https://github.com/tgodzik))
- docs: Add release notes for Metals 1.3.3
[\#6578](https://github.com/scalameta/metals/pull/6578)
([tgodzik](https://github.com/tgodzik))

0 comments on commit 8785814

Please sign in to comment.