Vigia

yaml-language-server को 1.x से 2.x पर अपग्रेड करना

yaml-language-server 1.25.0 और 2.0.0 के सार्वजनिक API की तुलना, उनके TypeScript टाइप से अपने-आप निकाली गई। बदला हुआ सिग्नेचर संभावित असंगत बदलाव है, निश्चितता नहीं।

सारांश

हटाए गए इम्पोर्ट पाथ0
हटाए गए एक्सपोर्ट0
बदले गए सिग्नेचर0
क्लास या इंटरफ़ेस के हटाए गए सदस्य0
क्लास या इंटरफ़ेस के बदले गए सदस्य0
नए डिप्रिकेटेड0
आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ)1
नए एक्सपोर्ट0

हटाए गए एक्सपोर्ट

कुछ नहीं मिला।

बदले गए सिग्नेचर

कुछ नहीं मिला।

क्लास या इंटरफ़ेस के हटाए गए सदस्य

कुछ नहीं मिला।

क्लास या इंटरफ़ेस के बदले गए सदस्य

कुछ नहीं मिला।

नए डिप्रिकेटेड

कुछ नहीं मिला।

आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ)

पहलेबाद में
engines.node—>=22.13.0

इन संस्करणों के बीच का changelog

पैकेज के लेखकों द्वारा प्रकाशित पाठ, जैसा है वैसा दिखाया गया।

2.0.0
- Breaking: Replace the separate CommonJS, UMD, and ESM builds with one ESM build, including TypeScript declarations, under `out/src`. Consumers referencing `out/server/src`, `lib/esm`, or `lib/umd` must update their paths and ensure their configuration supports ESM.
- Breaking: Move the browser server entry point to `yaml-language-server/out/src/webworker/yamlServerMain.js`.
- Chore: Replace Mocha with Node’s built-in `node:test` runner and compile tests with `tsc` instead of running them through `ts-node`.
- Chore: Replace `nyc` with `c8` to collect coverage from native ESM execution and generate LCOV reports.
- Chore: Replace Sinon, sinon-chai, and their typings with Node’s built-in mocks.
- Chore: Upgrade `vscode-languageserver` to 10.1.2 and `vscode-languageserver-types` to 3.18.4, and adapt code to the updated APIs.

See [#1363](https://github.com/redhat-developer/yaml-language-server/pull/1363) for details.

अपने AI एजेंट को ये तथ्य दें

Vigia एक मुफ़्त MCP सर्वर है: आपका कोडिंग एजेंट कोड लिखने से पहले वर्ज़न, ब्रेकिंग बदलाव और कमज़ोरियाँ जाँचता है। न साइनअप, न API कुंजी।

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Cursor में जोड़ेंVS Code में जोड़ें★ GitHub पर स्टार दें

कोई भी दूसरा MCP क्लाइंट
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

एजेंट स्किल (SKILL.md): एजेंट को बताती है कि Vigia कब इस्तेमाल करना है · पुल रिक्वेस्ट के लिए GitHub Action

अक्सर पूछे जाने वाले प्रश्न

yaml-language-server को 1 से 2 पर अपग्रेड करने पर कौन-से असंगत बदलाव हैं?

yaml-language-server 1.25.0 और 2.0.0 के बीच Vigia को 0 हटाए गए एक्सपोर्ट, 0 बदले गए सिग्नेचर और 0 हटाए या बदले गए क्लास/इंटरफ़ेस सदस्य मिले।

yaml-language-server 2 में क्या डिप्रिकेट हुआ?

yaml-language-server 2.0.0 में 0 एक्सपोर्ट या सदस्य नए रूप से डिप्रिकेटेड चिह्नित हैं।

एजेंटों के लिए

GET https://vigia.coredls.cloud/v1/packages/npm/yaml-language-server/upgrade?from=1.25.0&to=2.0.0