Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 1.82 KB

CHANGELOG.md

File metadata and controls

60 lines (41 loc) · 1.82 KB

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Bug Fixes

  • NPE: null cannot be cast to non-null type com.intellij.openapi.fileEditor.TextEditorWithPreview (GH-39)

Features

  • Add block comment support (#22)
  • Support block strings as shape ids (#23)
  • Support line continuations in shape ids, arrows, and values (#24)
  • Support line continuations in declarations and fix shape declarations (#30)

[1.3.0] - 2024-01-08

Added

  • Resolving of ambiguous shape references (shapes with the same names but declared in different containers).
  • Support parent reference.
  • Completion for shape keyword.

Fixed

  • Proper highlighting for vars, classes, style object syntax.
  • Parse property style.* in a non-shape map.

[1.2.0] - 2024-01-06

Added

  • Support style, classes and vars object syntax.

[1.1.1] - 2024-01-04

Fixed

  • D2Viewer must implement DumbAware (GH-2).

[1.1.0] - 2024-01-03

Added

  • Spellchecker for unquoted string, simplify parser.
  • If Dark IntelliJ theme is used, use dark D2 theme for preview by default.
  • Viewer toolbar to change layout, export.
  • Support direction keyword on top-level.

Fixed

  • A lot of space around the D2 file icon.
  • IJ Platform 2024.1 compatibility.

[1.0.0] - 2023-12-31

Added

  • Highlighting works for most D2 syntax.
  • Reference&Resolve is implemented for shapes.
  • Basic completion (keywords).

Fixed

  • Fix element color provider (logs.style.stroke: "#f4a261").