diff --git a/CHANGELOG.md b/CHANGELOG.md index a90286f..3f84f0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,12 @@ # Changelog -## [Unreleased] +## 0.1.5 - 2026-10-22 -### Fixed +### Bug Fixes + +* Defer R file extensions and aliases to VS Code so the built-in `.R` default is preserved, and use `.Rmd` as the default extension for R Markdown files ([#11](https://github.com/REditorSupport/vscode-R-syntax/issues/11), [#16](https://github.com/REditorSupport/vscode-R-syntax/pull/16)) -- Defer R file extensions and aliases to VS Code so the built-in `.R` - default is preserved, and use `.Rmd` as the default extension for - R Markdown files (#11). +**Full Changelog**: https://github.com/REditorSupport/vscode-R-syntax/compare/v0.1.4...v0.1.5 ## 0.1.4 - 2026-03-08 @@ -14,7 +14,7 @@ * fix: further expand vscode version range -**Full Changelog**: https://github.com/REditorSupport/vscode-R-syntax/compare/v0.1.3...0.1.4 +**Full Changelog**: https://github.com/REditorSupport/vscode-R-syntax/compare/v0.1.3...v0.1.4 ## 0.1.3 - 2025-06-07 @@ -42,5 +42,3 @@ * init * Add r and rmarkdown syntaxes - - diff --git a/cliff.toml b/cliff.toml deleted file mode 100644 index d23b3a6..0000000 --- a/cliff.toml +++ /dev/null @@ -1,75 +0,0 @@ -[remote.github] -owner = "REditorSupport" -repo = "vscode-R-syntax" - -[changelog] -header = """ -# Changelog - -""" -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 %} - {% set_global issues = [] %}\ - {% if commit.remote.pr_number %}\ - {% set_global issues = issues | concat(with=commit.remote.pr_number) %}\ - {%- endif %}\ - {% for link in commit.links %}\ - {% set_global issues = issues | concat(with=link.text | split(pat="#") | last) %}\ - {%- endfor -%}\ - {% if commit.remote.pr_title -%}\ - {%- set commit_message = commit.remote.pr_title -%}\ - {%- else -%}\ - {%- set commit_message = commit.message -%}\ - {%- endif -%}\ - * {{ commit_message | split(pat="\n") | first | trim }}\ - {% set_global issues = issues | unique %}\ - {% if issues | length > 0 %} (\ - {% for issue in issues %}\ - [#{{ issue }}](https://github.com/REditorSupport/vscode-R-syntax/issues/{{ issue }})\ - {% if not loop.last %}, {% endif %}\ - {%- endfor -%})\ - {%- endif %}\ - {%- endfor -%}\n -{% endfor %}\ -{% if version %} - {% if previous.version %} - **Full Changelog**: https://github.com/REditorSupport/vscode-R-syntax/compare/{{ previous.version }}...{{ version }} - {% endif %} -{% else -%} - {% raw %}\n{% endraw %} -{% endif %}\ -""" -trim = true -footer = """ - -""" -postprocessors = [] - -[git] -conventional_commits = false -split_commits = false -commit_parsers = [ - { message = "(?i)^feat\\b", group = "Features" }, - { message = "(?i)^fix\\b", group = "Bug Fixes" }, - { message = "(?i)^docs\\b", group = "Documentation" }, - { message = "(?i)^perf\\b", group = "Performance" }, - { message = "(?i)^refactor\\b", group = "Refactor" }, - { message = "(?i)^style\\b", group = "Styling" }, - { message = "(?i)^test\\b", group = "Testing" }, - { message = "(?i)^(chore|bump to|Merge branch)\\b", skip = true }, - { body = ".*", group = "Other" }, -] -link_parsers = [ - { pattern = "(?i)\\b(?:close|closes|closed|fix|fixes|fixed|resolve|resolves|resolved) #(\\d+)", href = "https://github.com/REditorSupport/vscode-R-syntax/issues/$1" }, -] -filter_commits = true -topo_order = false -sort_commits = "oldest" diff --git a/package-lock.json b/package-lock.json index 84ee271..6eb29ef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,19 +1,18 @@ { "name": "r-syntax", - "version": "0.1.4", + "version": "0.1.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "r-syntax", - "version": "0.1.4", + "version": "0.1.5", "hasInstallScript": true, "license": "SEE LICENSE IN LICENSE", "devDependencies": { "@vscode/vsce": "^3.3.2", "chokidar": "^4.0.3", "cross-env": "^7.0.3", - "git-cliff": "^2.9.1", "jest": "^29.7.0", "js-yaml": "^4.1.0", "patch-package": "^8.0.0", @@ -3722,245 +3721,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/git-cliff": { - "version": "2.9.1", - "resolved": "https://registry.npmjs.org/git-cliff/-/git-cliff-2.9.1.tgz", - "integrity": "sha512-jELmNuu5oolmxmpZ4tZVPeyT4Cjx0ZXZb1mqEcE+ZaLdCECguNtRMcbbAiNMlMn6DlMalJpFiNChQvEHx2idQw==", - "dev": true, - "license": "MIT OR Apache-2.0", - "dependencies": { - "execa": "^8.0.1" - }, - "bin": { - "git-cliff": "lib/cli/cli.js" - }, - "engines": { - "node": ">=18.19 || >=20.6 || >=21" - }, - "optionalDependencies": { - "git-cliff-darwin-arm64": "2.9.1", - "git-cliff-darwin-x64": "2.9.1", - "git-cliff-linux-arm64": "2.9.1", - "git-cliff-linux-x64": "2.9.1", - "git-cliff-windows-arm64": "2.9.1", - "git-cliff-windows-x64": "2.9.1" - } - }, - "node_modules/git-cliff-darwin-arm64": { - "version": "2.9.1", - "resolved": "https://registry.npmjs.org/git-cliff-darwin-arm64/-/git-cliff-darwin-arm64-2.9.1.tgz", - "integrity": "sha512-e/n/1N68lNx3MrVhmj8Ttgey/8d3UcRhkEOnEI769DUcZVUKy3D/Kz6ZGIMKvDpCmQ40WkEcOhprV+GpLrncnA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT OR Apache-2.0", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/git-cliff-darwin-x64": { - "version": "2.9.1", - "resolved": "https://registry.npmjs.org/git-cliff-darwin-x64/-/git-cliff-darwin-x64-2.9.1.tgz", - "integrity": "sha512-sKf3wd+VBVXNmm3iMA6eThTz0AOkN7mRavStUJ+z5bSyZMrvgVXlj+GUImOuhPUsZd9qdE9wO7q+N10hCaCv8w==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT OR Apache-2.0", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/git-cliff-linux-arm64": { - "version": "2.9.1", - "resolved": "https://registry.npmjs.org/git-cliff-linux-arm64/-/git-cliff-linux-arm64-2.9.1.tgz", - "integrity": "sha512-VkHX6gIoTxCzG8Pxu3um98Ip2RCY7bbmlDpC8odx1rFK1J8bzu9hzIDfdSWy47yaVJnG47ACLVFsip5qSxRhGA==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT OR Apache-2.0", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/git-cliff-linux-x64": { - "version": "2.9.1", - "resolved": "https://registry.npmjs.org/git-cliff-linux-x64/-/git-cliff-linux-x64-2.9.1.tgz", - "integrity": "sha512-fEvgOdO9PJNXiQh+MC9WxZ+Hjwc1Hv5yP0JGZZB3ucLn1r7ZWPbngzM/2VoYGDgTkhpo6cHYrs/jl7R5fnBnGA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT OR Apache-2.0", - "optional": true, - "os": [ - "linux" - ] - }, - "node_modules/git-cliff-windows-arm64": { - "version": "2.9.1", - "resolved": "https://registry.npmjs.org/git-cliff-windows-arm64/-/git-cliff-windows-arm64-2.9.1.tgz", - "integrity": "sha512-zqCzo5VHFGc3f/dCHMAR1m1UWgMcU7lIy/YvoTJqp8h2q9debmnKe29bR9HvQUq3Q7VDOHL+aiRayxqZytMnCg==", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT OR Apache-2.0", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/git-cliff-windows-x64": { - "version": "2.9.1", - "resolved": "https://registry.npmjs.org/git-cliff-windows-x64/-/git-cliff-windows-x64-2.9.1.tgz", - "integrity": "sha512-I+kAYLzmSQQ757Nxz+WnX9Ivcl9yfpkiULzrHywU95kUeH0SA07A74lcwjCIv0i4eujj0oCX2Ke5c/V4igPv2A==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT OR Apache-2.0", - "optional": true, - "os": [ - "win32" - ] - }, - "node_modules/git-cliff/node_modules/execa": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", - "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", - "dev": true, - "license": "MIT", - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^8.0.1", - "human-signals": "^5.0.0", - "is-stream": "^3.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^5.1.0", - "onetime": "^6.0.0", - "signal-exit": "^4.1.0", - "strip-final-newline": "^3.0.0" - }, - "engines": { - "node": ">=16.17" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/git-cliff/node_modules/get-stream": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", - "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/git-cliff/node_modules/human-signals": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", - "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=16.17.0" - } - }, - "node_modules/git-cliff/node_modules/is-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", - "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/git-cliff/node_modules/mimic-fn": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", - "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/git-cliff/node_modules/npm-run-path": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz", - "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "path-key": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/git-cliff/node_modules/onetime": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", - "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "mimic-fn": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/git-cliff/node_modules/path-key": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", - "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/git-cliff/node_modules/strip-final-newline": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", - "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/github-from-package": { "version": "0.0.0", "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", diff --git a/package.json b/package.json index 5c33003..d87ed17 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "r-syntax", "displayName": "R Syntax", "description": "R Synxtax Highlight for Visual Studio Code", - "version": "0.1.4", + "version": "0.1.5", "author": "REditorSupport", "type": "module", "license": "SEE LICENSE IN LICENSE", @@ -114,7 +114,6 @@ }, "scripts": { "vscode:prepublish": "npm run build", - "changelog": "npx git-cliff -o", "test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest", "test:grammar": "node ./scripts/tmgrammar-test.js 'tests/testdata/*.R' 'tests/testdata/*.Rmd'", "build": "node ./scripts/build.js", @@ -127,7 +126,6 @@ "@vscode/vsce": "^3.3.2", "chokidar": "^4.0.3", "cross-env": "^7.0.3", - "git-cliff": "^2.9.1", "jest": "^29.7.0", "js-yaml": "^4.1.0", "patch-package": "^8.0.0",