Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package tree-sitter-markdown for
openSUSE:Factory checked in at 2025-12-22 22:50:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tree-sitter-markdown (Old)
and /work/SRC/openSUSE:Factory/.tree-sitter-markdown.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tree-sitter-markdown"
Mon Dec 22 22:50:12 2025 rev:6 rq:1324037 version:0.5.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/tree-sitter-markdown/tree-sitter-markdown.changes
2025-04-02 17:13:33.981860015 +0200
+++
/work/SRC/openSUSE:Factory/.tree-sitter-markdown.new.1928/tree-sitter-markdown.changes
2025-12-22 22:53:23.039270919 +0100
@@ -1,0 +2,9 @@
+Mon Dec 22 01:04:30 UTC 2025 - Richard Rahl <[email protected]>
+
+- Update to version 0.5.1:
+ * fix(scanner): remove unnecessary char casting
+ * build: install pkgconfig file to libdir
+- Update to version 0.5.0:
+ * Require tree-sitter.json for Successful Tree-Sitter Build
+
+-------------------------------------------------------------------
Old:
----
tree-sitter-markdown-0.4.1.tar.gz
New:
----
tree-sitter-markdown-0.5.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ tree-sitter-markdown.spec ++++++
--- /var/tmp/diff_new_pack.6xPKL3/_old 2025-12-22 22:53:24.131315956 +0100
+++ /var/tmp/diff_new_pack.6xPKL3/_new 2025-12-22 22:53:24.135316121 +0100
@@ -18,7 +18,7 @@
%define _name markdown
Name: tree-sitter-markdown
-Version: 0.4.1
+Version: 0.5.1
Release: 0
Summary: Markdown grammar for tree-sitter
License: MIT
++++++ tree-sitter-markdown-0.4.1.tar.gz -> tree-sitter-markdown-0.5.1.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tree-sitter-markdown-0.4.1/.github/workflows/ci.yml
new/tree-sitter-markdown-0.5.1/.github/workflows/ci.yml
--- old/tree-sitter-markdown-0.4.1/.github/workflows/ci.yml 2025-03-21
16:39:14.000000000 +0100
+++ new/tree-sitter-markdown-0.5.1/.github/workflows/ci.yml 2025-09-16
19:08:32.000000000 +0200
@@ -3,27 +3,13 @@
on:
push:
branches: [split_parser]
- paths:
- - "scripts/*"
- - "common/*"
- - "*/grammar.js"
- - "*/src/**"
- - "*/test/**"
- - "*/bindings/**"
- - "bindings/**"
- - "binding.gyp"
- - "setup.py"
pull_request:
- paths:
- - "scripts/*"
- - "common/*"
- - "*/grammar.js"
- - "*/src/**"
- - "*/test/**"
- - "*/bindings/**"
- - "bindings/**"
- - "binding.gyp"
- - "setup.py"
+ branches: [split_parser]
+ workflow_dispatch:
+
+concurrency:
+ group: ${{github.workflow}}-${{github.ref}}
+ cancel-in-progress: true
jobs:
test:
@@ -32,29 +18,37 @@
strategy:
fail-fast: false
matrix:
- os: [ubuntu-latest, windows-latest, macos-14]
+ os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout repository
- uses: actions/checkout@v4
- - name: Install tree-sitter CLI
- uses: tree-sitter/setup-action/cli@v1
+ uses: actions/checkout@v5
+
+ - name: Set up tree-sitter
+ uses: tree-sitter/setup-action@v2
+ with:
+ install-lib: false
+
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{vars.NODE_VERSION}}
+
- name: Build with all extensions
run: node scripts/build.js
env:
ALL_EXTENSIONS: 1
+
- name: Run tests
- uses: tree-sitter/parser-test-action@v2
+ uses: tree-sitter/parser-test-action@v3
with:
- test-rust: true
+ generate: false
test-parser-cmd: node scripts/test.js
+
- name: Rebuild with default extensions
run: node scripts/build.js
- name: Verify grammar consistency
run: git diff --exit-code -- */src/grammar.json
+
fuzz:
name: Fuzz parsers
runs-on: ubuntu-latest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/tree-sitter-markdown-0.4.1/.github/workflows/publish.yml
new/tree-sitter-markdown-0.5.1/.github/workflows/publish.yml
--- old/tree-sitter-markdown-0.4.1/.github/workflows/publish.yml
2025-03-21 16:39:14.000000000 +0100
+++ new/tree-sitter-markdown-0.5.1/.github/workflows/publish.yml
2025-09-16 19:08:32.000000000 +0200
@@ -3,13 +3,9 @@
on:
push:
tags: ["*"]
+ workflow_dispatch:
jobs:
- github:
- uses: tree-sitter/workflows/.github/workflows/release.yml@main
- permissions:
- contents: write
- id-token: write
npm:
uses: tree-sitter/workflows/.github/workflows/package-npm.yml@main
with:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/tree-sitter-markdown-0.4.1/.github/workflows/release.yml
new/tree-sitter-markdown-0.5.1/.github/workflows/release.yml
--- old/tree-sitter-markdown-0.4.1/.github/workflows/release.yml
1970-01-01 01:00:00.000000000 +0100
+++ new/tree-sitter-markdown-0.5.1/.github/workflows/release.yml
2025-09-16 19:08:32.000000000 +0200
@@ -0,0 +1,21 @@
+name: Create release
+
+on:
+ push:
+ tags: ["*"]
+ workflow_dispatch:
+
+concurrency:
+ group: ${{github.workflow}}-${{github.ref}}
+ cancel-in-progress: true
+
+permissions:
+ contents: write
+ id-token: write
+ attestations: write
+
+jobs:
+ release:
+ uses: tree-sitter/workflows/.github/workflows/release.yml@main
+ with:
+ attestations: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tree-sitter-markdown-0.4.1/CMakeLists.txt
new/tree-sitter-markdown-0.5.1/CMakeLists.txt
--- old/tree-sitter-markdown-0.4.1/CMakeLists.txt 2025-03-21
16:39:14.000000000 +0100
+++ new/tree-sitter-markdown-0.5.1/CMakeLists.txt 2025-09-16
19:08:32.000000000 +0200
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.13)
project(tree-sitter-markdown
- VERSION "0.4.0"
+ VERSION "0.5.1"
DESCRIPTION "Markdown grammar for tree-sitter"
HOMEPAGE_URL
"https://github.com/tree-sitter-grammars/tree-sitter-markdown"
LANGUAGES C)
@@ -55,7 +55,7 @@
install(FILES
"${CMAKE_CURRENT_SOURCE_DIR}/bindings/c/tree-sitter-${name}.h"
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/tree_sitter")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/tree-sitter-${name}.pc"
- DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/pkgconfig")
+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
install(TARGETS tree-sitter-${name}
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}")
endmacro()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tree-sitter-markdown-0.4.1/Cargo.toml
new/tree-sitter-markdown-0.5.1/Cargo.toml
--- old/tree-sitter-markdown-0.4.1/Cargo.toml 2025-03-21 16:39:14.000000000
+0100
+++ new/tree-sitter-markdown-0.5.1/Cargo.toml 2025-09-16 19:08:32.000000000
+0200
@@ -1,7 +1,7 @@
[package]
name = "tree-sitter-md"
description = "Markdown grammar for tree-sitter"
-version = "0.4.0"
+version = "0.5.1"
authors = ["MDeiml"]
license = "MIT"
readme = "README.md"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tree-sitter-markdown-0.4.1/common/common.mak
new/tree-sitter-markdown-0.5.1/common/common.mak
--- old/tree-sitter-markdown-0.4.1/common/common.mak 2025-03-21
16:39:14.000000000 +0100
+++ new/tree-sitter-markdown-0.5.1/common/common.mak 2025-09-16
19:08:32.000000000 +0200
@@ -3,7 +3,7 @@
endif
HOMEPAGE_URL := https://github.com/tree-sitter-grammars/tree-sitter-markdown
-VERSION := 0.4.0
+VERSION := 0.5.1
# repository
SRC_DIR := src
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tree-sitter-markdown-0.4.1/package-lock.json
new/tree-sitter-markdown-0.5.1/package-lock.json
--- old/tree-sitter-markdown-0.4.1/package-lock.json 2025-03-21
16:39:14.000000000 +0100
+++ new/tree-sitter-markdown-0.5.1/package-lock.json 2025-09-16
19:08:32.000000000 +0200
@@ -1,12 +1,12 @@
{
"name": "@tree-sitter-grammars/tree-sitter-markdown",
- "version": "0.4.0",
+ "version": "0.5.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@tree-sitter-grammars/tree-sitter-markdown",
- "version": "0.4.0",
+ "version": "0.5.1",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tree-sitter-markdown-0.4.1/package.json
new/tree-sitter-markdown-0.5.1/package.json
--- old/tree-sitter-markdown-0.4.1/package.json 2025-03-21 16:39:14.000000000
+0100
+++ new/tree-sitter-markdown-0.5.1/package.json 2025-09-16 19:08:32.000000000
+0200
@@ -1,6 +1,6 @@
{
"name": "@tree-sitter-grammars/tree-sitter-markdown",
- "version": "0.4.0",
+ "version": "0.5.1",
"description": "Markdown grammar for tree-sitter",
"repository": "github:tree-sitter-grammars/tree-sitter-markdown",
"license": "MIT",
@@ -19,6 +19,7 @@
"binding.gyp",
"prebuilds/**",
"bindings/node/*",
+ "tree-sitter.json",
"tree-sitter-*/grammar.js",
"tree-sitter-*/queries/*",
"tree-sitter-*/src/**",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tree-sitter-markdown-0.4.1/pyproject.toml
new/tree-sitter-markdown-0.5.1/pyproject.toml
--- old/tree-sitter-markdown-0.4.1/pyproject.toml 2025-03-21
16:39:14.000000000 +0100
+++ new/tree-sitter-markdown-0.5.1/pyproject.toml 2025-09-16
19:08:32.000000000 +0200
@@ -5,7 +5,7 @@
[project]
name = "tree-sitter-markdown"
description = "Markdown grammar for tree-sitter"
-version = "0.4.0"
+version = "0.5.1"
keywords = ["incremental", "parsing", "tree-sitter", "markdown"]
classifiers = [
"Intended Audience :: Developers",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/tree-sitter-markdown-0.4.1/tree-sitter-markdown/src/parser.c
new/tree-sitter-markdown-0.5.1/tree-sitter-markdown/src/parser.c
--- old/tree-sitter-markdown-0.4.1/tree-sitter-markdown/src/parser.c
2025-03-21 16:39:14.000000000 +0100
+++ new/tree-sitter-markdown-0.5.1/tree-sitter-markdown/src/parser.c
2025-09-16 19:08:32.000000000 +0200
@@ -1,4 +1,4 @@
-/* Automatically generated by tree-sitter v0.25.3 */
+/* Automatically @generated by tree-sitter v0.25.9 */
#include "tree_sitter/parser.h"
@@ -14,7 +14,7 @@
#pragma GCC optimize ("O0")
#endif
-#define LANGUAGE_VERSION 14
+#define LANGUAGE_VERSION 15
#define STATE_COUNT 925
#define LARGE_STATE_COUNT 351
#define SYMBOL_COUNT 203
@@ -11061,7 +11061,7 @@
}
}
-static const TSLexMode ts_lex_modes[STATE_COUNT] = {
+static const TSLexerMode ts_lex_modes[STATE_COUNT] = {
[0] = {.lex_state = 0, .external_lex_state = 1},
[1] = {.lex_state = 2030, .external_lex_state = 2},
[2] = {.lex_state = 2030, .external_lex_state = 3},
@@ -59745,6 +59745,7 @@
.state_count = STATE_COUNT,
.large_state_count = LARGE_STATE_COUNT,
.production_id_count = PRODUCTION_ID_COUNT,
+ .supertype_count = SUPERTYPE_COUNT,
.field_count = FIELD_COUNT,
.max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH,
.parse_table = &ts_parse_table[0][0],
@@ -59771,6 +59772,13 @@
tree_sitter_markdown_external_scanner_deserialize,
},
.primary_state_ids = ts_primary_state_ids,
+ .name = "markdown",
+ .max_reserved_word_set_size = 0,
+ .metadata = {
+ .major_version = 0,
+ .minor_version = 5,
+ .patch_version = 1,
+ },
};
return &language;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/tree-sitter-markdown-0.4.1/tree-sitter-markdown/src/tree_sitter/parser.h
new/tree-sitter-markdown-0.5.1/tree-sitter-markdown/src/tree_sitter/parser.h
---
old/tree-sitter-markdown-0.4.1/tree-sitter-markdown/src/tree_sitter/parser.h
2025-03-21 16:39:14.000000000 +0100
+++
new/tree-sitter-markdown-0.5.1/tree-sitter-markdown/src/tree_sitter/parser.h
2025-09-16 19:08:32.000000000 +0200
@@ -18,7 +18,6 @@
typedef uint16_t TSSymbol;
typedef uint16_t TSFieldId;
typedef struct TSLanguage TSLanguage;
-typedef struct TSLanguageMetadata TSLanguageMetadata;
typedef struct TSLanguageMetadata {
uint8_t major_version;
uint8_t minor_version;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/tree-sitter-markdown-0.4.1/tree-sitter-markdown-inline/src/parser.c
new/tree-sitter-markdown-0.5.1/tree-sitter-markdown-inline/src/parser.c
--- old/tree-sitter-markdown-0.4.1/tree-sitter-markdown-inline/src/parser.c
2025-03-21 16:39:14.000000000 +0100
+++ new/tree-sitter-markdown-0.5.1/tree-sitter-markdown-inline/src/parser.c
2025-09-16 19:08:32.000000000 +0200
@@ -1,4 +1,4 @@
-/* Automatically generated by tree-sitter v0.25.3 */
+/* Automatically @generated by tree-sitter v0.25.9 */
#include "tree_sitter/parser.h"
@@ -14,7 +14,7 @@
#pragma GCC optimize ("O0")
#endif
-#define LANGUAGE_VERSION 14
+#define LANGUAGE_VERSION 15
#define STATE_COUNT 1161
#define LARGE_STATE_COUNT 166
#define SYMBOL_COUNT 149
@@ -12481,7 +12481,7 @@
}
}
-static const TSLexMode ts_lex_modes[STATE_COUNT] = {
+static const TSLexerMode ts_lex_modes[STATE_COUNT] = {
[0] = {.lex_state = 0, .external_lex_state = 1},
[1] = {.lex_state = 2182, .external_lex_state = 2},
[2] = {.lex_state = 2182, .external_lex_state = 3},
@@ -75670,6 +75670,7 @@
.state_count = STATE_COUNT,
.large_state_count = LARGE_STATE_COUNT,
.production_id_count = PRODUCTION_ID_COUNT,
+ .supertype_count = SUPERTYPE_COUNT,
.field_count = FIELD_COUNT,
.max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH,
.parse_table = &ts_parse_table[0][0],
@@ -75693,6 +75694,13 @@
tree_sitter_markdown_inline_external_scanner_deserialize,
},
.primary_state_ids = ts_primary_state_ids,
+ .name = "markdown_inline",
+ .max_reserved_word_set_size = 0,
+ .metadata = {
+ .major_version = 0,
+ .minor_version = 5,
+ .patch_version = 1,
+ },
};
return &language;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/tree-sitter-markdown-0.4.1/tree-sitter-markdown-inline/src/scanner.c
new/tree-sitter-markdown-0.5.1/tree-sitter-markdown-inline/src/scanner.c
--- old/tree-sitter-markdown-0.4.1/tree-sitter-markdown-inline/src/scanner.c
2025-03-21 16:39:14.000000000 +0100
+++ new/tree-sitter-markdown-0.5.1/tree-sitter-markdown-inline/src/scanner.c
2025-09-16 19:08:32.000000000 +0200
@@ -26,7 +26,7 @@
} TokenType;
// Determines if a character is punctuation as defined by the markdown spec.
-static bool is_punctuation(char chr) {
+static bool is_punctuation(int32_t chr) {
return (chr >= '!' && chr <= '/') || (chr >= ':' && chr <= '@') ||
(chr >= '[' && chr <= '`') || (chr >= '{' && chr <= '~');
}
@@ -189,7 +189,7 @@
// is whitespace punctuation or other.
bool next_symbol_whitespace =
line_end || lexer->lookahead == ' ' || lexer->lookahead == '\t';
- bool next_symbol_punctuation = is_punctuation((char)lexer->lookahead);
+ bool next_symbol_punctuation = is_punctuation(lexer->lookahead);
// Information about the last token is in valid_symbols. See grammar.js
// for these tokens for how this is done.
if (valid_symbols[EMPHASIS_CLOSE_STAR] &&
@@ -251,7 +251,7 @@
// is whitespace punctuation or other.
bool next_symbol_whitespace =
line_end || lexer->lookahead == ' ' || lexer->lookahead == '\t';
- bool next_symbol_punctuation = is_punctuation((char)lexer->lookahead);
+ bool next_symbol_punctuation = is_punctuation(lexer->lookahead);
// Information about the last token is in valid_symbols. See grammar.js
// for these tokens for how this is done.
if (valid_symbols[STRIKETHROUGH_CLOSE] &&
@@ -314,7 +314,7 @@
// is whitespace punctuation or other.
bool next_symbol_whitespace =
line_end || lexer->lookahead == ' ' || lexer->lookahead == '\t';
- bool next_symbol_punctuation = is_punctuation((char)lexer->lookahead);
+ bool next_symbol_punctuation = is_punctuation(lexer->lookahead);
// Information about the last token is in valid_symbols. See grammar.js
// for these tokens for how this is done.
if (valid_symbols[EMPHASIS_CLOSE_UNDERSCORE] &&
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/tree-sitter-markdown-0.4.1/tree-sitter-markdown-inline/src/tree_sitter/parser.h
new/tree-sitter-markdown-0.5.1/tree-sitter-markdown-inline/src/tree_sitter/parser.h
---
old/tree-sitter-markdown-0.4.1/tree-sitter-markdown-inline/src/tree_sitter/parser.h
2025-03-21 16:39:14.000000000 +0100
+++
new/tree-sitter-markdown-0.5.1/tree-sitter-markdown-inline/src/tree_sitter/parser.h
2025-09-16 19:08:32.000000000 +0200
@@ -18,7 +18,6 @@
typedef uint16_t TSSymbol;
typedef uint16_t TSFieldId;
typedef struct TSLanguage TSLanguage;
-typedef struct TSLanguageMetadata TSLanguageMetadata;
typedef struct TSLanguageMetadata {
uint8_t major_version;
uint8_t minor_version;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tree-sitter-markdown-0.4.1/tree-sitter.json
new/tree-sitter-markdown-0.5.1/tree-sitter.json
--- old/tree-sitter-markdown-0.4.1/tree-sitter.json 2025-03-21
16:39:14.000000000 +0100
+++ new/tree-sitter-markdown-0.5.1/tree-sitter.json 2025-09-16
19:08:32.000000000 +0200
@@ -1,6 +1,6 @@
{
"metadata": {
- "version": "0.4.0",
+ "version": "0.5.1",
"license": "MIT",
"authors": [
{