Skip to content

Commit

Permalink
docs: release notes for 1.5.1 (#7156)
Browse files Browse the repository at this point in the history
  • Loading branch information
kasiaMarek authored Jan 24, 2025
1 parent 13d5ded commit fbc4f9f
Show file tree
Hide file tree
Showing 5 changed files with 108 additions and 7 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.5.0
placeholder: v1.5.1
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.5.0"
default: "v1.5.1"
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.5.0"
default: "v1.5.1"
jobs:
test_and_release:
runs-on: ubuntu-latest
Expand Down
4 changes: 1 addition & 3 deletions bin/test-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ suffix=${argumentsRest:-}

coursier fetch \
org.scalameta:metals_2.13:$version \
org.scalameta:mtags_3.2.2:$version \
org.scalameta:mtags_3.3.2:$version \
org.scalameta:mtags_3.3.1:$version \
org.scalameta:mtags_3.3.3:$version \
org.scalameta:mtags_2.13.11:$version \
org.scalameta:mtags_2.13.12:$version \
org.scalameta:mtags_2.13.13:$version \
org.scalameta:mtags_2.13.14:$version \
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.5.1-SNAPSHOT"
def localSnapshotVersion = "1.5.2-SNAPSHOT"
def isCI = System.getenv("CI") != null
def isTest = System.getenv("METALS_TEST") != null

Expand Down
103 changes: 103 additions & 0 deletions website/blog/2025-01-24-strontium.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
---
authors: kmarek
title: Metals v1.5.1 - Strontium
---

We're happy to announce the release of Metals v1.5.1, which brings a hotfix for go to definition error reporting.

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

For full details: [https://github.com/scalameta/metals/milestone/76?closed=1](https://github.com/scalameta/metals/milestone/76?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!

- [Create an error report only on an empty definition](#create-an-error-report-only-on-empty-definition)

## Create an error report only on an empty definition
Fix for a bug, where an error report would be created always on go to definition action.

## Miscellaneous
- improvement: Don't fail on creating short type (Scala 2) [kasiaMarek](https://github.com/kasiaMarek)
- improvement: Default to empty object if no metals section [tgodzik](https://github.com/tgodzik)
- improvement: Use only current source tree for searching for local symbols in pc (Scala 3) [kasiaMarek](https://github.com/kasiaMarek)

## Contributors

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

```
$ git shortlog -sn --no-merges v1.5.0..v1.5.1
5 kasiaMarek
2 Scalameta Bot
3 Tomasz Godzik
1 Katarzyna Marek
1 dependabot[bot]
1 tgodzik
```

## Merged PRs

## [v1.5.1](https://github.com/scalameta/metals/tree/v1.5.1) (2025-01-24)

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

**Merged pull requests:**

- fix: report error only on an empty definition
[\#7155](https://github.com/scalameta/metals/pull/7155)
([kasiaMarek](https://github.com/kasiaMarek))
- build(deps): Update cli_3, scala-cli-bsp from 1.5.4 to 1.6.1
[\#7154](https://github.com/scalameta/metals/pull/7154)
([scalameta-bot](https://github.com/scalameta-bot))
- build(deps): Update scalafmt-core from 3.8.5 to 3.8.6
[\#7152](https://github.com/scalameta/metals/pull/7152)
([scalameta-bot](https://github.com/scalameta-bot))
- bugfix: Start http server earlier
[\#7084](https://github.com/scalameta/metals/pull/7084)
([tgodzik](https://github.com/tgodzik))
- improvement: don't fail on `shortType`
[\#7148](https://github.com/scalameta/metals/pull/7148)
([kasiaMarek](https://github.com/kasiaMarek))
- improvement: Default to empty object if no metals section
[\#7150](https://github.com/scalameta/metals/pull/7150)
([tgodzik](https://github.com/tgodzik))
- improvement: look for definition in pc only for local symbols in the current tree
[\#7105](https://github.com/scalameta/metals/pull/7105)
([kasiaMarek](https://github.com/kasiaMarek))
- build(deps): bump undici from 6.19.8 to 6.21.1 in /website
[\#7147](https://github.com/scalameta/metals/pull/7147)
([dependabot[bot]](https://github.com/dependabot[bot]))
- docs: release notes for Metals 1.5.0
[\#7124](https://github.com/scalameta/metals/pull/7124)
([kasiaMarek](https://github.com/kasiaMarek))

0 comments on commit fbc4f9f

Please sign in to comment.