This page documents code changes.
For user-facing changes, see CHANGELOG.md
.
This section is currently empty.
0.6.0 - 2024-07-21
- "Copy Pyright command" action is added. (4ca4b746)
- Global option "Number of threads" is added. (91d467ac)
- The documentation is updated. (fcf2c0fb, 91d467ac, cf6beccd)
PyrightBundle
andPyrightIcon
are renamed. (7032faff)- Gradle is updated to 8.9. (2397aafd, c5d7c8c8)
- Kotlin Serialization Gradle Plugin is updated to 1.7.1. (330ef0c3, b839a59b)
- Kover Gradle Plugin is updated to 0.8.2. (eb306695, 87e5660a)
- The
lsp4ij
submodule is added. (b67210b7) - Various files are moved to the new
cli
submodule. (37136d65) - Path-hints-related logic is revisited to use
PropertyGraph
. (bf2de95e) - IntelliJ Platform Gradle Plugin is updated to 2.0.0-rc1. (ace16ca8, d9dc2b09, 842dfd25)
PyrightExternalAnnotator
now overridescollectInformation(PsiFile, Editor, boolean)
instead ofcollectInformation(PsiFile)
. (7032faff)
0.5.0 - 2024-06-04
-
The documentation is updated.
logging.md
is added.
(34b7c498, 7d02d73b, 8238bfd4)
-
Global option "Process timeout" is added. (f3b7585f)
PyrightRunner
and related classes are rewritten. (f3b7585f)
SuppressQuickFix
names are now stored as messages. (e2d9ca2b)
0.4.0 - 2024-05-27
- The plugin now supports 2024.2. (18897c60)
- Global option "Minimum severity level" is added. (74267a2c)
- Documentation for LSP-specific settings is updated. (9dbfbb86, b3ffed47, 69406c38, ebea0b86)
- Kover Gradle Plugin is updated to 0.8.0. (9d583cd2)
- Qodana Gradle plugin and its corresponding action @JetBrains/qodana-action are updated to 2024.1.5. (7d2278a5)
- Kotlin JVM plugin is updated to 2.0.0. (99770f0e)
HintIcon.toString()
now returns an empty string. This is due toExpUiIcons
being deprecated. (96465451)
0.3.1 - 2024-05-16
HighlightSeverity
members' names may contain spaces, which causesProblemHighlightType.valueOf()
to throw. A workaround is introduced by manually replacing" "
with"_"
. (cdd51d86)
0.3.0 - 2024-05-13
- Documentation for LSP-specific settings is added. (d8fd3b82, 115fabf6, 519c54d1, 5608c8da, bc55d40f, 31982c84)
- Message key names are slightly changed. (dc1240d4)
AnnotationApplier
and newly added related constructs for quick fixes are moved to the.annotations
module. Corresponding tests and documentation are also added. (2c9b87fe, ae653d79, 8c98a033)
- Qodana Gradle plugin and its corresponding action @JetBrains/qodana-action are updated to 2024.1.4. (ba0e2aca, e9eafd54, f4331b4c, 0f89d093, a58e9621, 913fe613)
- A new branch is added to
executablePathResolvingHint()
. (fb98eae7) - Kotlin JVM plugin is updated to 1.9.24. (908f95a8)
RoamingType.LOCAL
is used for application-level configurations instead ofRoamingType.DISABLED
. (15540255)- The "Run Plugin" task now runs with the new UI enabled and
the
.idea
subdirectory not hidden. (38b8c86a)
0.2.0 - 2024-04-17
- Three new properties are added to
PyrightInspection
to allow configuring highlight severity levels. Corresponding documentation is added. (0d6188f9, 25917886) - Documentation for LSP-specific settings is added. (25917886, cc71fb23)
- @gradle/actions/wrapper-validation is updated to 3.3.0. (a8f6d5d6, 5cff663e)
0.1.0 - 2024-04-10
LICENSE_TEMPLATE.txt
is added. (e4b257e5)
released.yaml
is renamed topublish.yml
. Steps overlapping with other jobs are removed. (aff01a5e)- Default highlight severity levels are now the same as sister's. (5fccec40)
- The "Always use global" and "Auto-suggest executable" are moved back to the first column of the first row. (6e6c6df6)
- @gradle/wrapper-validation-action is updated to 2.1.3. (1c38c5ac)
- The documentation is rewritten to reflect both plugins. (4d1f29b6, 5e997e73)
PyrightConfigurable
'sapply()
,isModified()
andreset()
now call the corresponding methods ofpanel
. This fixes a(nother) regression introduced in v0.1.0-mvp.5 which has been causing the configuration panels to be unresetable. (2eb24204)
0.1.0-mvp.6 - 2024-04-07
mkdocs-material
is updated to 9.5.17. (371c02c1)pluginIcon.svg
is resized to 40 by 40 to comply with the Approval Guidelines. (caf56f68)README.md
is rewritten to alter the plugin description. (fd655b50)- Bug reports and feature requests now have automatic assignees. (0f8ead3a)
build.yaml
now runs tests on all three platforms. (c309ad98)
- A
panel.apply()
call is added toPyrightConfigurable.isModified()
. This ensures that the state of panel is synchronized before being compared with the original state, which was not the case in v0.1.0-mvp.5. (6ac49d29) - The test module
configuration2
is renamed toconfiguration
. (8f558f9d)
0.1.0-mvp.5 - 2024-03-31
PathResolvingHint.kt
, corresponding testcases and test resources are added. (6e4f8c7c)
-
The
build.yaml
workflow now:- Edits old releases when the changelogs are changed, and
- Uploads corresponding artifacts as new drafts are created.
The two helper Python scripts are added under
.scripts
. (e9500f03) -
Qodana Gradle plugin and its corresponding action @JetBrains/qodana-action are updated to 2023.3.2. (caca9092)
-
UI-related code is rewritten to use Kotlin UI DSL. (6e4f8c7c)
-
All APIs are now either internal or private. (6e4f8c7c)
- Some of them no longer have the prefix
Pyright
in their names. (6e4f8c7c)
- Some of them no longer have the prefix
-
IntelliJ Platform Gradle plugin is updated to 1.17.3. (26fae6a3)
- The
configuration.common
module is removed in favor ofPyrightConfigurable.kt
. (6e4f8c7c)
0.1.0-mvp.4 - 2024-03-24
faq.md
,features.md
andproblems.md
are added. (99cb7753, 233aca23, 4e3d921a, b1c782bf, 6a0cd5ac, 624ce941, dbe24020)FUNDING.yaml
is added. (6a536243)- A list of frequently asked questions is added to the docs. (99cb7753, 233aca23, 4e3d921a, b1c782bf)
- Global option "Prefix tooltips" is added. (a3f9ca46)
- Project option "Auto-suggest executable" is added. (6a0cd5ac, 624ce941, ff9b6d92)
- Configuration field tests are added. (28f88c04)
- The inspection display name is changed. (64d8e273)
- Node 16 to 20 transition:
- The
develop
branch of @s0/git-publish-subdir-action is used instead ofv2.6.0
. (a8613613)
- The
- The project/repository is renamed from
pyright-plugin
topyright-for-pycharm
. (d9253998) - Gradle Qodana plugin is updated to 2023.3.1. (aa32c1b9)
- Configuration constructs are now marked
internal
. (54d74f74) CHANGELOG.md
is rewritten. (c02db458, 4650c88c, 7516e63d)- Notifications-related logic is rewritten. (6b4b8e2a, 6a0cd5ac)
- Duplicate SVG files are now converted to symlinks. (e2ed56fa)
The targets are those in the
resources/icons
directory. (e2ed56fa) - Messages are merged into one single bundle. (aeed108d)
- The "Always use global" option is moved to the second column of the second row. (624ce941)
- @gradle/wrapper-validation-action is updated to 2.1.2. (c9c27dda)
- Gradle is updated to 8.7. (ce835b88)
PyrightExternalAnnotator.kt
/String.toPreformatted()
is refactored to useHtmlChunk
. (6be9fd81)
- Documentation pages now have working edit links. (3365ac71, 5faaf33f)
- Workflows are rewritten and reformatted. (c485479e, 1285a3d8, 5e8e1ee3)
invokeLater()
is now only called if an executable is given. (cc7a4c66)
0.1.0-mvp.3 - 2024-03-10
release.yaml
no longer runs on prereleases. (ed9ce98d)- SVG files are reformatted. (c9512f44)
foojay-resolver-convention
is updated to 0.8.0. (1f0d9a04)- Kotlin is updated to 1.9.23. (6a0e537b)
- The
configuration
module is refactored. (9c1d5a05, a328920d) - Error-reporting logic is added. (61fbb0bc)
build.yaml
now works correctly. Distributions can now be downloaded from thebuild
branch, the Actions tab, or the Releases tab. (6349cddf, a2c6fb83)
0.1.0-mvp.2 - 2024-03-03
CODE_OF_CONDUCT.md
is added. (048ad24e)- Paths to executables are now resolved against the project path. (18fed10f)
- User documentation is added. (d4b5aa9f, 2d926821)
- Global option "Use editor font" is added. (43d253d1)
- Error-handling logic for
saveDocumentAsIs()
is removed. (930e06f7) PyrightException
is nowsealed
. (40c43683)- Add "Build" run configuration. (a073dccb)
- Annotation-applying logic is extracted to a dedicated class. (83587afe)
- Commands are now logged as JSON. (b3426911)
- Support for 2023.3.3 is discontinued. (9c8981d4)
- The bug report template is rewritten. Previously it was a blind copy-and-paste from @JetBrains/intellij-platform-plugin-template. (4efd384b)
- The project interpreter path is now also passed to the executable, allowing the corresponding packages to be recognized correctly. (83587afe)
0.1.0-mvp.1 - 2024-02-26
- Project initialized.