Bump the bundled pyrefly to 1.2.0 (#2021)

pyrefly 1.1.1 advertises workspace/willRenameFiles but answers it with null; 1.2.0 answers with the import edits (measured on the Python test repo). Needed by the file-rename support that follows.
This commit is contained in:
Mario Rial authored and GitHub committed 2026-09-23 15:44:15 +02:00
1 parent 637ab7b7ee
commit 9fa4237107
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -126,6 +126,9 @@ Status of the `main` branch. Changes prior to the next official version change w
version changed
- Fix: A language server's cache directory was determined by the language_id rather than
the language server identifier's key. The two identifiers coincided in most cases.
- Bump the bundled pyrefly to 1.2.0: 1.1.1 advertises `workspace/willRenameFiles` but answers it with `null`;
1.2.0 answers with the import edits (measured on the Python test repo: the two absolute importers of a
renamed module; a relative import of it, `from .models import`, is not rewritten by either)
- Fix: TypeScript and VTS now disable automatic type acquisition as intended, while VTS
preserves explicit user settings across initialization and configuration requests (#1989)
VTS initialization options now override defaults per top-level key rather than replacing the
@@ -30,7 +30,7 @@ from solidlsp.settings import SolidLSPSettings
log = logging.getLogger(__name__)
PYREFLY_VERSION = "1.1.1"
PYREFLY_VERSION = "1.2.0"
PYREFLY_CONFIG_DOC_URL = "https://pyrefly.org/en/docs/configuration/"
# Pyrefly cancels in-flight requests with these error codes whenever its workspace state mutates