-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
107 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,44 @@ | ||
<!-- Keep a Changelog guide -> https://keepachangelog.com --> | ||
All notable changes to this project will be documented in this file. | ||
|
||
# d2-intellij Changelog | ||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
## [1.2.0] - 2024-01-06 | ||
|
||
### Features | ||
|
||
- Support style object syntax | ||
|
||
### Miscellaneous Tasks | ||
|
||
- Do not use *** gradle to generate lexer and grammar, as gradle *** | ||
|
||
## [1.1.1] - 2024-01-04 | ||
|
||
- D2Viewer must implement DumbAware ([7fe9d91](https://github.com/develar/d2-intellij-plugin/commit/7fe9d916d9a43d1b0c237eb9964d93c12638de8d)). | ||
### Bug Fixes | ||
|
||
- D2Viewer must implement DumbAware | ||
|
||
### Documentation | ||
|
||
- Add note about support for older IDE versions | ||
|
||
## [1.1.0] - 2024-01-03 | ||
|
||
- Viewer toolbar: theme and layout choosers, export, compilation output and info. | ||
- if Dark IntelliJ theme is used, use dark D2 theme for preview by default ([34ce304](https://github.com/develar/d2-intellij-plugin/commit/34ce30413394b4754a8414bcdc7bd6c5a6d74409)), closes [#1](https://github.com/develar/d2-intellij-plugin/issues/1) | ||
- spellchecker for unquoted string. | ||
### Bug Fixes | ||
|
||
- 2024.1 compatibility | ||
- A lot of space around d2 icon | ||
|
||
### Features | ||
|
||
- 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 | ||
|
||
## [1.0.0] - 2023-12-31 | ||
- Highlighting works for most D2 syntax. | ||
- Fix element color provider (`logs.style.stroke: "#f4a261"`). | ||
- Reference&Resolve is implemented for shapes. | ||
- Basic completion (keywords). | ||
|
||
## [0.0.2-eap] - 2022-12-13 | ||
|
||
### Added | ||
- Completion contributor | ||
- Formatter | ||
|
||
## [0.0.1-eap] | ||
|
||
### Added | ||
- Initial release | ||
|
||
[Unreleased]: https://github.com/DVDAndroid/d2-intellij/compare/v0.0.2-eap...HEAD | ||
[0.0.2-eap]: https://github.com/DVDAndroid/d2-intellij/compare/v0.0.1-eap...v0.0.2-eap | ||
[0.0.1-eap]: https://github.com/DVDAndroid/d2-intellij/commits/v0.0.1-eap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# git-cliff ~ configuration file | ||
# https://git-cliff.org/docs/configuration | ||
|
||
[changelog] | ||
# changelog header | ||
header = """ | ||
# D2 IntelliJ Changelog\n | ||
All notable changes to this project will be documented in this file. | ||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).\n | ||
""" | ||
# template for the changelog body | ||
# https://keats.github.io/tera/docs/#introduction | ||
body = """ | ||
{% if version -%} | ||
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} | ||
{% else -%} | ||
## [Unreleased] | ||
{% endif -%} | ||
{% for group, commits in commits | group_by(attribute="group") %} | ||
### {{ group | upper_first }} | ||
{% for commit in commits %} | ||
- {{ commit.message | upper_first }}\ | ||
{% endfor %} | ||
{% endfor %}\n | ||
""" | ||
# template for the changelog footer - well, for 1.0.0 the commit convention was not used | ||
footer = """ | ||
## [1.0.0] - 2023-12-31 | ||
- Highlighting works for most D2 syntax. | ||
- Fix element color provider (`logs.style.stroke: "#f4a261"`). | ||
- Reference&Resolve is implemented for shapes. | ||
- Basic completion (keywords). | ||
""" | ||
# remove the leading and trailing whitespace from the templates | ||
trim = true | ||
|
||
[git] | ||
# parse the commits based on https://www.conventionalcommits.org | ||
conventional_commits = true | ||
# filter out the commits that are not conventional | ||
filter_unconventional = true | ||
# process each line of a commit as an individual commit | ||
split_commits = false | ||
# regex for parsing and grouping commits | ||
commit_parsers = [ | ||
{ message = "^feat", group = "Features" }, | ||
{ message = "^fix", group = "Bug Fixes" }, | ||
{ message = "^doc", group = "Documentation", default_scope = "unscoped" }, | ||
{ message = "^perf", group = "Performance" }, | ||
{ message = "^refactor", group = "Refactor" }, | ||
{ message = "^style", group = "Styling" }, | ||
{ message = "^test", group = "Testing" }, | ||
{ message = "^chore\\(release\\): prepare for", skip = true }, | ||
{ message = "^chore", group = "Miscellaneous Tasks" }, | ||
{ body = ".*security", group = "Security" }, | ||
] | ||
|
||
# protect breaking changes from being skipped due to matching a skipping commit_parser | ||
protect_breaking_commits = false | ||
# filter out the commits that are not matched by commit parsers | ||
filter_commits = true | ||
# regex for matching git tags | ||
tag_pattern = "v[0-9].*" | ||
# regex for skipping tags | ||
skip_tags = "v0.1.0-beta.1" | ||
# regex for ignoring tags | ||
ignore_tags = "" | ||
# sort the tags topologically | ||
topo_order = false | ||
# sort the commits inside sections by oldest/newest order | ||
sort_commits = "oldest" | ||
|
||
[remote.github] | ||
owner = "develar" | ||
repo = "d2-intellij-plugin" |