Releases: InSyncWithFoo/pyright-for-pycharm
Releases · InSyncWithFoo/pyright-for-pycharm
v0.8.0
For users
Added
- Command line mode now supports WSL.
Fixed
- The migration logic was enhanced to avoid overzealous modifications.
- The previous version had a bug causing the configuration file field
to always be discarded instead of saved. This has been fixed.
For contributors
- A few dependencies were updated.
v0.7.0
For users
The plugin is rewritten with a lot of functional changes and new settings.
If you encounter a bug, please file an issue.
Added
- Pyright can now be configured to emit localized messages.
- Pyright's logo is now used as the icon for
pyrightconfig.json
files. - Many new settings are added. Most of them were taken from
the old Pyright Language Server plugin without change.
See the documentation for more information.
For contributors
v0.6.0
For users
Added
- The command for the currently selected file can now be copied
using the newly added "Copy Pyright command" action.
This is useful for debugging purposes. - Experimental LSP support is now available via the LSP4IJ plugin.
- The executable can now be configured to run on multiple threads
via an UI option.
Fixed
- The annotator now always run, regardless of other annotators' results.
Previously, it would not run if previous analyses resulted in errors. - The active interpreter is now detected correcly on non-PyCharm IDEs.
For contributors
Added
- "Copy Pyright command" action is added. (4ca4b74)
- Global option "Number of threads" is added. (91d467a)
Changed
- The documentation is updated. (fcf2c0f, 91d467a, cf6becc)
PyrightBundle
andPyrightIcon
are renamed. (7032faf)- Gradle is updated to 8.9. (2397aaf, c5d7c8c)
- Kotlin Serialization Gradle Plugin is updated to 1.7.1.
(330ef0c, b839a59) - Kover Gradle Plugin is updated to 0.8.2. (eb30669, 87e5660)
- The
lsp4ij
submodule is added. (b67210b) - Various files are moved to the new
cli
submodule. (37136d6) - Path-hints-related logic is revisited to use
PropertyGraph
. (bf2de95) - IntelliJ Platform Gradle Plugin is updated to 2.0.0-rc1.
(ace16ca, d9dc2b0, 842dfd2)
Fixed
PyrightExternalAnnotator
now overrides
collectInformation(PsiFile, Editor, boolean)
instead ofcollectInformation(PsiFile)
. (7032faf)
v0.5.0
For users
Changed
- Errors are now detected and handled in a more user-friendly way,
with notifications and proper actions.
Previously, they would only be logged in the IDE's log file.
For contributors
Added
-
The documentation is updated.
logging.md
is added.
-
Global option "Process timeout" is added. (f3b7585)
Changed
PyrightRunner
and related classes are rewritten. (f3b7585)
Fixed
SuppressQuickFix
names are now stored as messages. (e2d9ca2)
v0.4.0
For users
Added
- Diagnostics can now be limited by severity levels.
Changed
- UI components are slightly changed.
For contributors
Added
- The plugin now supports 2024.2. (18897c6)
- Global option "Minimum severity level" is added. (74267a2)
- Documentation for LSP-specific settings is updated.
(9dbfbb8, b3ffed4, 69406c3, ebea0b8)
Changed
- Kover Gradle Plugin is updated to 0.8.0. (9d583cd)
- Qodana Gradle plugin and its corresponding action
@JetBrains/qodana-action are updated to 2024.1.5.
(7d2278a) - Kotlin JVM plugin is updated to 2.0.0. (99770f0)
HintIcon.toString()
now returns an empty string.
This is due toExpUiIcons
being deprecated. (9646545)
v0.3.1
For users
Fixed
- v0.3.0 has a bug causing an internal error
if the inspections' levels are set as "Weak warnings".
This has been fixed.
For contributors
Fixed
HighlightSeverity
members' names may contain spaces,
which causesProblemHighlightType.valueOf()
to throw.
A workaround is introduced by manually replacing" "
with"_"
. (cdd51d8)
v0.3.0
For users
Added
- Diagnostics can now be suppressed using quick fixes.
Changed
- An informational hint will now be given if
the given executable file's name is not a known name. - Application-level settings can now be exported using the
Export Settings... action.
Previously they would be omitted when exporting
and can only be found in the IDE's configuration directory.
For contributors
Added
- Documentation for LSP-specific settings is added.
(d8fd3b8, 115fabf, 519c54d, 5608c8d, bc55d40, 31982c8) - Message key names are slightly changed. (dc1240d)
AnnotationApplier
and newly added related constructs for quick fixes
are moved to the.annotations
module.
Corresponding tests and documentation are also added.
(2c9b87f, ae653d7, 8c98a03)
Changed
- Qodana Gradle plugin and its corresponding action
@JetBrains/qodana-action are updated to 2024.1.4.
(ba0e2ac, e9eafd5, f4331b4, 0f89d09, a58e962, 913fe61) - A new branch is added to
executablePathResolvingHint()
. (fb98eae) - Kotlin JVM plugin is updated to 1.9.24. (908f95a)
RoamingType.LOCAL
is used for application-level configurations
instead ofRoamingType.DISABLED
. (1554025)- The "Run Plugin" task now runs with the new UI enabled and
the.idea
subdirectory not hidden. (38b8c86)
v0.2.0
For users
Added
- Highlight severity levels are now configurable
using the options provided in the Inspection panel.
The inspection is renamed to "Pyright diagnostics".
For contributors
Added
- Three new properties are added to
PyrightInspection
to allow configuring highlight severity levels.
Corresponding documentation is added.
(0d6188f, 2591788) - Documentation for LSP-specific settings is added.
(2591788, cc71fb2)
Changed
- @gradle/actions/wrapper-validation is updated to 3.3.0.
(a8f6d5d, 5cff663)
v0.1.0
For users
Changed
- Default highlight severity levels are now
"Error", "Warning" and "Weak warning" instead of
"Warning", "Weak warning" and "Weak warning".
A future release will allow configuring these levels. - v0.1.0-mvp.5 has a bug causing the configurations to be always unresetable.
This has been fixed. - Configuration panels are slightly changed.
For contributors
Added
LICENSE_TEMPLATE.txt
is added. (e4b257e)
Changed
released.yaml
is renamed topublish.yml
.
Steps overlapping with other jobs are removed. (aff01a5)- Default highlight severity levels are now the same as sister's. (5fccec4)
- The "Always use global" and "Auto-suggest executable" are moved back
to the first column of the first row. (6e6c6df) - @gradle/wrapper-validation-action is updated to 2.1.3. (1c38c5a)
- The documentation is rewritten to reflect both plugins.
(4d1f29b, 5e997e7)
Fixed
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. (2eb2420)
v0.1.0-mvp.6
For users
Fixed
- v0.1.0-mvp.5 has a bug causing the configurations to be always unsavable.
This has been fixed.
For contributors
Changed
mkdocs-material
is updated to 9.5.17. (371c02c)pluginIcon.svg
is resized to 40 by 40 to comply with
the Approval Guidelines. (caf56f6)README.md
is rewritten to alter the plugin description. (fd655b5)- Bug reports and feature requests now have automatic assignees. (0f8ead3)
build.yaml
now runs tests on all three platforms. (c309ad9)
Fixed
- A
panel.apply()
call is added to
PyrightConfigurable.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. (6ac49d2) - The test module
configuration2
is renamed toconfiguration
.
(8f558f9)