Skip to content

Releases: mkslanc/ace-linters

v1.8.1

25 Jul 09:39
2b607ec
Compare
Choose a tag to compare

What's Changed

  • add manualSessionControl provider option to disable automatic session registration. When enabled, you must manually handle session changes:
// Create provider with manual session control
let languageProvider = LanguageProvider.create(worker, {
  manualSessionControl: true
});

// Register sessions manually
languageProvider.registerSession(editor.session, editor, {
  filePath: 'path/to/file.ts',
  joinWorkspaceURI: true
});

// Handle session changes manually
editor.on("changeSession", ({session}) => {
  languageProvider.registerSession(session, editor, session.lspConfig);
});
  • add setSessionLspConfig method to set LSP configuration on Ace sessions:
// Set LSP configuration on session
languageProvider.setSessionLspConfig(editor.session, {
    filePath: 'src/components/MyComponent.tsx',
    joinWorkspaceURI: true
});
  • add setDocumentOptions method to replace deprecated setSessionOptions:
// Configure document-specific options (replaces setSessionOptions)
languageProvider.setDocumentOptions(editor.session, {
    // service-specific options here
});

#185

Full Changelog: v1.8.0...v1.8.1

v1.8.0

18 Jul 14:01
Compare
Choose a tag to compare

What's Changed

Breaking Changes

  • setSessionFilePath method signature changed to accept configuration object instead of separate parameters

Migration Guide

// Old way
languageProvider.setSessionFilePath(session, filePath, true);

// New way
languageProvider.setSessionFilePath(session, {
    filePath: filePath,
    joinWorkspaceURI: true
});

Full Changelog: v1.7.1...v1.8.0

v1.7.1

14 Jul 14:38
3bebccb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.7.0...v1.7.1

v1.7.0

29 May 14:37
c286d85
Compare
Choose a tag to compare

What's Changed

  • Add inline autocompletion and integrate with Copilot by @mkslanc in #162

Full Changelog: v1.6.0...v1.7.0

v1.6.0

15 May 11:39
Compare
Choose a tag to compare

What's Changed

  • Fix: types not resolving for non-entry point by @mkslanc in #173

Full Changelog: v1.5.3...v1.6.0

v1.5.3

06 May 14:52
534df87
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.5.2...v1.5.3

v1.5.2

28 Mar 08:31
50421f6
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.5.1...v1.5.2

v1.5.1

13 Mar 09:01
b82798c
Compare
Choose a tag to compare

What's Changed

  • Fix: resolve relative paths in json schema by @mkslanc in #163

Full Changelog: v1.5.0...v1.5.1

v1.5.0

19 Feb 10:24
ed57836
Compare
Choose a tag to compare

What's Changed

  • Get rid of unnecessary dependencies by @mkslanc in #153
  • Fix yaml build; add integration test for yaml by @mkslanc in #154

Full Changelog: v1.4.1...v1.5.0

v1.4.1

24 Jan 12:54
Compare
Choose a tag to compare

What's Changed

  • Fix: wrong init call on set filename by @mkslanc in #149
  • Fix: not working documentation tooltip for Typescript Service by @mkslanc in #151

Full Changelog: v1.4.0...v1.4.1