DataSpell 2024.3.1

Released: Dec 12, 2024

Updates in 2024.3.1

Fixes

Code Highlighting

  • Datagrip MariaDB dialect shows error when attempting EXECUTE <statement> USING <expression>.
  • 'Row' keyword is not backticked/escaped when inserting row to table.
  • Fixed support for 'execute immediate' statement.

Connectivity

  • Split MongoDB driver in DataGrip (use v1.18 for MongoDB 3.X).
  • Unable to connect to Oracle Database: Driver class 'com.intellij.execution.rmi.RemoteServer' not found.

Query Console

  • Missing UI toolbar for Execute script and select schema.

Code Insight

  • Inferred return type of overriden async method is wrong if the override method does not explicit specify the return type.
  • Incompatible types in class attribute assignments are not reported.
  • Ctrl-Click on TypedDict usage jumps to builtins.py instead of the TypedDict declaration in the use code.
  • PyCharm considers asynccontextmanager return type as Any.
  • typing.Self doesn't work on classmethods when the class is Generic.
  • Pycharm doesn't properly recognize aliases for Pydantic dataclass.
  • Automatically adding a type hint for a type containing TypedDict doesn't add its import.
  • Broken name resolution under unmatched sys.version_info version guards.
  • False positive: Unresolved attribute reference for class 'LiteralString' on Type[StrEnum] element.
  • Performance: Remove excess expensive calls to PythonLanguageLevelPusher.getLanguageLevelForFile from PyDefUseUtil#getLatestDefs.

Debugger

  • PYDEVD_USE_CYTHON=YES causes ImportError: cannot import name 'pydevd_pep_669_tracing_cython' from '_pydevd_bundle' while debugging with Python <3.12.
  • Debugger trims value copy of a variable.

Editing

  • Code insight: Type Annotations for list, set, tuple, frozenset in Python 3.9 insert from typing import.

Formatter

  • Remove spaces after "*" and "**" in the new type parameter syntax.

Packaging

  • Packages don't appear in the 'poetry.lock' and 'pyproject.toml' if they are installed via the 'Python Packages tool window' AND 'Legacy packages window'.
  • Installation of missing package is not suggested by quick-fix in projects.