Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## 2026.3.1 (21 July 2026) Release

Notable changes:

- Release version that includes changes through the [2026.2.109](https://github.com/microsoft/pylance-release/blob/main/CHANGELOG.md#20262109-14-july-2026-prerelease) prerelease build.
- Bug fix: [TSP] out of date example pyrefly version
[pylance-release#8133](https://github.com/microsoft/pylance-release/issues/8133)
- Bug fix: pylance pre-release 2026.2.109 incorrectly handles typing for pandas.Categorical
[pylance-release#8129](https://github.com/microsoft/pylance-release/issues/8129)

## 2026.2.109 (14 July 2026) PreRelease

Notable changes:

- Bug fix: [TSP] Failing to find node for file after opening [pylance-release#8123](https://github.com/microsoft/pylance-release/issues/8123)

## 2026.2.108 (8 July 2026) PreRelease

Notable changes:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -545,10 +545,10 @@ Pylance provides users with the ability to customize their Python language suppo
- path to a pyright-langserver.js file. For example, the Pyright installed by the PyPI Pyright module. In that case the path would be something like `~/.cache/pyright-python/1.1.397/node_modules/pyright/dist/pyright-langserver.js`

- `python.analysis.pyreflyVersion`
- Specifies the version of Pyrefly to use for diagnostics. This setting is only used when `python.analysis.diagnosticsSource` is set to `Pylance + Pyrefly`. Minimum version allowed is 0.60.0.
- Specifies the version of Pyrefly to use for diagnostics. This setting is only used when `python.analysis.diagnosticsSource` is set to `Pylance + Pyrefly`. Minimum version allowed is 1.1.1.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This states that 1.1.1 is the minimum allowed version, but the configured-version validation currently accepts versions from MIN_COMPATIBLE_PYREFLY_VERSION (1.0.0). Please either document the actual 1.0.0 floor or raise the enforced floor to 1.1.1 so configured versions and documentation agree.

- Accepted values:
- empty (default) — automatically find or download the latest version
- version string, e.g. `0.60.0` — download and use that specific version
- version string, e.g. `1.1.1` — download and use that specific version
- path to a local pyrefly executable

- `python.analysis.enableColorPicker`
Expand Down
1 change: 1 addition & 0 deletions releases/2026.3.1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"pylanceVersion":"2026.3.1","pyrightVersion":"1.1.411"}
2 changes: 1 addition & 1 deletion releases/latest-release.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"pylanceVersion":"2026.2.108","pyrightVersion":"1.1.411"}
{"pylanceVersion":"2026.3.1","pyrightVersion":"1.1.411"}