Skip to content

[POM-leading for DSLs] Main update 20260625#1132

Closed
toinehartman wants to merge 58 commits into
feature/1010-pom-leading-for-dsls/finalfrom
feature/1010-pom-leading-for-dsls/main-update-20260625
Closed

[POM-leading for DSLs] Main update 20260625#1132
toinehartman wants to merge 58 commits into
feature/1010-pom-leading-for-dsls/finalfrom
feature/1010-pom-leading-for-dsls/main-update-20260625

Conversation

@toinehartman

Copy link
Copy Markdown
Member

Periodic merge of main into the long-running POM-leading feature branch.

toinehartman and others added 30 commits June 15, 2026 17:54
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.1 to 4.2.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md">js-yaml's
changelog</a>.</em></p>
<blockquote>
<h2>[4.2.0] - 2026-06-01</h2>
<h3>Added</h3>
<ul>
<li>Added <code>docs/safety.md</code> with notes about processing
untrusted YAML.</li>
<li>Added <code>maxDepth</code> (100) loader option. Not a problem, but
gives a better
exception instead of RangeError on stack overflow.</li>
<li>Added <code>maxMergeSeqLength</code> (20) loader option. Not a
problem after <code>merge</code> fix,
but an additional restriction for safety.</li>
<li>Added sourcemaps to <code>dist/</code> builds.</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Stop resolving numbers with underscores as numeric scalars, <a
href="https://redirect.github.com/nodeca/js-yaml/issues/627">#627</a>.</li>
<li>Switched dev toolchains to Vite / neostandard.</li>
<li>Updated demo.</li>
<li>Reorganized tests.</li>
<li><code>dist/</code> files are no longer kept in the repository.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fix parsing of properties on the first implicit block mapping key,
<a
href="https://redirect.github.com/nodeca/js-yaml/issues/62">#62</a>.</li>
<li>Fix trailing whitespace handling when folding flow scalar lines, <a
href="https://redirect.github.com/nodeca/js-yaml/issues/307">#307</a>.</li>
<li>Reject top-level block scalars without content indentation, <a
href="https://redirect.github.com/nodeca/js-yaml/issues/280">#280</a>.</li>
<li>Ensure numbers survive round-trip, <a
href="https://redirect.github.com/nodeca/js-yaml/issues/737">#737</a>.</li>
<li>Fix test coverage for issue <a
href="https://redirect.github.com/nodeca/js-yaml/issues/221">#221</a>.</li>
<li>Fix flow scalar trailing whitespace folding, <a
href="https://redirect.github.com/nodeca/js-yaml/issues/307">#307</a>.</li>
<li>Fix digits in YAML named tag handles.</li>
</ul>
<h3>Security</h3>
<ul>
<li>Fix potential DoS via quadratic complexity in merge - deduplicate
repeated
elements (makes sense for malformed files &gt; 10K).</li>
</ul>
<h2>[3.14.2] - 2025-11-15</h2>
<h3>Security</h3>
<ul>
<li>Backported v4.1.1 fix to v3</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/nodeca/js-yaml/commits">compare view</a></li>
</ul>
</details>
<br />

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…it, and only calculate path configs if we need them
Refreshing by toggling the language (causing a close+open) might lead to
requests coming in while the file is closed, therefore causing confusing
errors.
…ite) (#1125)

While implementing a few rascal features (namely #1122 ) we figured out
the `lsp+` scheme needed a bit more features to correctly work with.
DavyLandman and others added 21 commits June 19, 2026 09:30
…ations (#1128)

This should prevent some of the cancelled CI runs.
…1130)

This should reduce the changes of the race with the rascal.mf
diagnostics
- only use typescript for typechecking the code
- use esbuild for both tests & deployment
- refactored the package.json a bit more
1. Set document selectors for capabilities, such that capabilities can
only be triggered on documents that support them. Especially useful when
registering multiple languages.
2. Dynamically register semantic highlighting capability (to test the
former change, and make a start with registering all capabilities
dynamically).
3. Instead of toggling the language for open editors, request a refresh
of the open editors via LSP. This prevents races where requests can come
in while the file is 'closed'.

This PR is a preparation to easily enable #1117.
- Make sure capability updates always initiate from single-threaded
  request pool by executing language registration & initialization from
  that pool.
- Compute actual registrations on work pool.
This PR replaces (almost) all static capabilities with dynamically
registered counterparts. This allows for more fine-grained control over
the capabilities, depending on the registered languages.

On language registration, we update the capabilities. The client/IDE
will not do requests for capabilities that we do not register,
preventing empty contribution requests back and forth.

Closes #955.
@toinehartman toinehartman self-assigned this Jun 25, 2026
@toinehartman toinehartman force-pushed the feature/1010-pom-leading-for-dsls/main-update-20260625 branch from 94050d4 to 1b43c27 Compare June 25, 2026 08:07
@sonarqubecloud

Copy link
Copy Markdown

@toinehartman

Copy link
Copy Markdown
Member Author

Since this requires work on the registration of dynamic capabilities to pass all tests, will do the merge directly on feature/1010-pom-leading-for-dsls/final and the rest of the work in #1117.

@toinehartman toinehartman deleted the feature/1010-pom-leading-for-dsls/main-update-20260625 branch June 25, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants