Releases: mkslanc/ace-linters
Releases · mkslanc/ace-linters
v1.2.0
v1.1.3
v1.1.2
v1.1.1
What's Changed
- fix language client argument in Usage with WebWorker examples in README by @janmarsicek in #102
- document version bug fixed by @anijanyan in #103
New Contributors
- @janmarsicek made their first contribution in #102
Full Changelog: v1.1.0...v1.1.1
v1.1.0
v1.0.4
v1.0.3
v1.0.1
v1.0.0
What's Changed
registerServer
method inServiceManager
enables management of both services and servers on the web worker's side.
Just add new servers to your webworker like this:manager.registerServer("astro", { module: () => import("ace-linters/build/language-client"), modes: "astro", type: "socket", // "socket|worker" socket: new WebSocket("ws://127.0.0.1:3030/astro"), initializationOptions: { typescript: { tsdk: "node_modules/typescript/lib" } } });
- Multiple servers management on main thread. Just register servers like this:
let servers = [ { module: () => import("ace-linters/build/language-client"), modes: "astro", type: "socket", socket: new WebSocket("ws://127.0.0.1:3030/astro"), }, { module: () => import("ace-linters/build/language-client"), modes: "svelte", type: "socket", socket: new WebSocket("ws://127.0.0.1:3030/svelte"), } ] let languageProvider = AceLanguageClient.for(servers);
- Breaking change:
AceLanguageClient.for
interface was changed
Full Changelog: v0.13.3...v1.0.0