Skip to content

Latest commit

 

History

History
562 lines (328 loc) · 28.7 KB

CHANGELOG.md

File metadata and controls

562 lines (328 loc) · 28.7 KB

1.16.1 (2021-08-06)

Bug Fixes

  • disable test for drive characters except windows (91443a2)
  • path test (6d49d81)
  • use pending() in windows test (b32cadd)
  • convert/pathToUri: improve encoding of path other than the file (2bba886)

1.16.0 (2021-07-31)

Bug Fixes

  • added auto-languageclient's test (e1bd570)
  • apply comment (getLanguageIdFromEditor returns grammar name) (c074b49)
  • make the test name accurate (c0899dc)
  • test and comment (220c9fd)

Features

  • make the languageId of didOpen notifications configurable (cf8f666)

1.15.0 (2021-07-22)

Bug Fixes

Features

1.14.1 (2021-07-15)

Bug Fixes

  • bump atom-ide-base and devDependencies (02ad02d)
  • bump dependencies (4e90504)
  • bump zadeh - adds linux musl prebuilds (9568d62)
  • eslint fix (1075cac)

1.14.0 (2021-06-14)

Features

  • send codeActionLiteralSupport (ca02334)
  • support custom filterCodeActions (949e624)
  • support custom onApplyCodeActions (868f883)

1.13.0 (2021-06-14)

Bug Fixes

  • move adding completionItem to applyCompletionItemToSuggestion (3c46aa1)

Features

  • apply additionalTextEdits after completion (0e22593)

1.12.1 (2021-06-13)

Bug Fixes

  • determineProjectPath was called with the wrong this (e58c3a4)

1.12.0 (2021-06-13)

Features

  • allow disabling shutdownGracefully (14bec25)

1.11.0 (2021-06-13)

Bug Fixes

  • remove supportsDefinitionsForAdditionalPaths function (47773e9)

Features

  • allow overriding determineProjectPath (d3f213f)
  • populate additionalPaths based on definitions (e7e7828)
  • support out-of-project files (360d4fb)

1.10.1 (2021-06-10)

Bug Fixes

  • update atom-ide-base, zadeh, etc (6cf01e4)

1.10.0 (2021-05-14)

Bug Fixes

  • use connection.executeCommand from LS (2c62bf6)
  • use lsp.CodeActionResolveRequest.type (6fde7cf)

Features

  • add deorecated IdeDiagnosticAdapter (743aede)
  • add getLSDiagnostic for Linter adapter (3671896)
  • add getLSDiagnostics for Linter adapter (e878b8d)
  • add IdeDiagnosticAdapter methods for conversion to ls.Diagnostics (059af66)
  • codeActionResolve in languageClient (a9ca617)
  • update getCodeActions and createCodeActionParams (1c5430a)

1.9.0 (2021-05-13)

Features

1.8.3 (2021-05-01)

Bug Fixes

  • "object is possibly 'null'.ts(2531)" in codeaction test (1f61f73)
  • add null check (e20bba5)
  • early null check instead of empty array at codeActio provider (e7c26b4)
  • fixed test because the argument of _sendRequest function was changed (f2f09f0)
  • format (c9876c6)
  • lint(Missing return type on function) (d665159)
  • make highlight null-safe (a80e4d9)
  • match type definition to specification (85cc505)
  • use lsp package for type definition (1a31014)

1.8.2 (2021-04-21)

Bug Fixes

1.8.1 (2021-04-21)

Bug Fixes

  • set the correct fallback for Snippet completion (#148) (d3e06ee)

1.8.0 (2021-04-17)

Bug Fixes

  • eliminate casting (d753510)
  • fix import statement (19614ce)
  • format (5291209)
  • modify the type to pass the test (df5c53c)
  • should check only the first of the array / Moved isLocationLinkArray function (080f4ce)
  • type definition (f4f60cd)
  • type of normalizeLocations and convertLocationsToDefinitions (6b38b93)
  • use Array.prototype.every() for the isLocationLinkArray function (5d132b0)

Features

  • add LocationLink support for definition-adapter (06612be)

1.7.0 (2021-04-14)

Features

1.6.0 (2021-03-21)

Bug Fixes

  • consider showing the document in external programs a sucess (fabf882)
  • fix the doc for onShowDocument (03b9b20)
  • params.selection can be undefined (921613b)
  • rename onShowDocument function to showDocument (f9549c6)
  • return success false if view is undefined (7bede25)
  • try-catch showDocument (6e8770c)
  • use free functions instead of static methods (38441c9)

Features

  • implement window/showDocument (ff1aa7a)

1.5.0 (2021-03-19)

Bug Fixes

Features

  • add more compeletion properties in AutoLanguageClient (45d7d19)
  • allow disabling autocomplete for some scopes (a6e3244)

1.4.0 (2021-03-17)

Features

  • handling custom requests (543cd6e)

1.3.0 (2021-03-16)

Bug Fixes

Features

  • upgrade to LSP 3.16 and fix compiler errors (db07b3c)

1.2.2 (2021-02-23)

Bug Fixes

  • remove deprecated url.parse (e360195)

1.2.1 (2021-02-23)

Reverts

  • Revert "fix: fix url.parse deprecation" (002e7f7)

1.2.0 (2021-02-23)

Bug Fixes

  • add arch to the folder name (49abb87)
  • add close handler for lsProcess (2940f89)
  • add platform-arch to rootPath (9746992)
  • merge getExePath into spawn (a5c03a5)
  • return the exe name if the file doesn't exist (d57e55a)
  • use ChildProcess type for LanguageServerProcess (798ab56)

Features

  • add disconnect handler (3c29170)
  • add getExePath (7508f42)
  • add spawn to spawn general lsp exe (6d4b1e7)
  • allow providing custom error, close, exit handling (a40e8b5)

1.1.1 (2021-02-20)

Bug Fixes

  • autocomplete-extended types (a46f99c)
  • copy typings to build directory (900957a)
  • remove baseUrl (686df00)
  • tsconfig include all files (c69fd77)

1.1.0 (2021-02-20)

Features

  • added canAdapt & tests, exposed CommandExecutionAdapter (eb1cc74)
  • introduce an Adapter for executeCommand that also allows registering custom callbacks (fc6e182)

1.0.8 (2021-02-19)

Bug Fixes

  • bump atom-ide-base (dc2941b)
  • bump atom-ide-base - fixes JSX error (dcee038)
  • install atom-ide-base (a617e05)
  • temporary - pass null wordRegExp (254b94c)

1.0.7 (2021-02-07)

Bug Fixes

1.0.6 (2021-01-06)

Bug Fixes

  • fix autocomplete prefix (bd0576e)

1.0.5 (2020-12-20)

Bug Fixes

1.0.4 (2020-12-12)

Bug Fixes

  • set workspaceFolders to null when there is no workspace (5814197)

1.0.3 (2020-12-11)

Bug Fixes

1.0.2 (2020-11-30)

Bug Fixes

1.0.1 (2020-11-30)

Bug Fixes

  • fix removing triggerChar (5ef25a8)
  • kill and on exit signature match child_process (#103) (84f5401)

v1.0.0

v0.9.9

  • Fixes (bugs introduced in v0.9.8)
    • Logging expands the parameters out again #245
    • CompletionItems returning null handled again
  • Removed
    • Atom-mocha-test-runner because of vulnerable deps
    • Flow libraries - no longer supported here

v0.9.8

  • Support CodeActions that do not return Commands #239
  • AutoComplete
    • Trigger on last character in multi-character sequences (e.g. ::) #241
  • Outline view
    • Add icon mappings for Struct and EnumMember #236
    • Add textDocument/documentSymbol support for hierarchical outlines #237
  • Logging #242
    • Can now be filtered and intercepted by packages
    • Defaults to logging warnings and errors to console in non-dev mode
  • Dependencies updated (including tweaks to make it work where necessary)
    • TypeScript (3.1.6)
    • vscode-jsonrpc (4.0.0)
    • vscode-languageserver-protocol/types (3.12.0)
    • sinon, mocha, chai, tslint, @types/* (latest)

v0.9.7

  • Lock package.json to avoid compiler errors/warnings with more recent TypeScript defs
  • Fix compiler warning related to options.env

v0.9.6

  • Add document formatting handlers #231
  • Correctly dispose config observer when servers are closed #219
  • Clean up atom typings #214
  • TypeScript refactorings and clean-up #213
  • Compare actual notification message text to determine duplicates #210
  • Do not use autocomplete cache unless explicit trigger character is set #209
  • Set a timeout on the willSaveWaitUntil handler #203

v0.9.5

  • Respect server document sync capabilities #202
  • Implementation of willSaveWaitUntil #193
  • Tree-sitter grammars now work correctly with autocomplete-plus atom/autocomplete-plus#962

v0.9.4

  • Correctly handle multi-sequence symbols from autocomplete plus that could prevent triggering

v0.9.3

  • Display buttons on showRequestMessage LSP calls - fixes many prompts from LSP packages
  • logMessages from language servers are now available in the Atom IDE UI Console window

v0.9.2

  • Fix issue when completionItem documentation is returned as string
  • Export ActiveServer and LanguageClientConnection types for TypeScript users

v0.9.1

  • AutoComplete on a trigger character with no further filtering now does not remove the trigger char

v0.9.0

  • AutoComplete now triggers based on settings in autocomplete-plus (min word length)
  • AutoComplete now always filters results based on typed prefix (in case the server does not)
  • AutoComplete static methods have changed - this might be breaking if your package was using some of them
  • Converted project to TypeScript including some TypeScript type definitions for all the things!
  • Filter out document symbols that are missing a name to better handle badly behaved language servers
  • Duplicate visible notifications are now suppressed

v0.8.3

  • Ensure that triggerChars is correctly sent or not sent depending on whether it was auto-triggered

v0.8.2

  • Prevent ServerManager from hanging on a failed server startup promise #174 (thanks @alexheretic!)

v0.8.1

New

  • Auto-restart language servers that crash (up to 5 times in 3 minutes) #172
  • API to restart your language servers (e.g. after downloading new server, changing config) #172
  • Configuration change monitoring via workspace/didChangeConfiguration #167
  • API to get the connection associated with an editor to send custom messages #173

Changes

  • Trigger autocomplete all the time instead of just on triggerchars\

Fixes

  • Do not send non-null initialization parameters #171
  • Clean up after unexpected server shutdown #169

v0.8.0

This update improves auto complete support in a number of ways;

  • Automatic triggering only if a trigger character specified by the server is typed (this should improve performance as well as cut down connection issues caused by crashing servers)
  • Filtering is performed by atom-languageclient when server reports results are complete (perf, better results)
  • Resolve is now called only if the language server supports it #162
  • CompletionItemKinds defined in v3 of the protocol are now mapped
  • Allows customization of the conversion between LSP and autocomplete-plus suggestions via a hook #137
  • New onDidInsertSuggestion override available when autocomplete request inserted #115
  • Use CompletionItem.textEdit field for snippet content #165

Additional changes include;

  • CancellationToken support for cancelling pending requests #160
  • Automatic cancellation for incomplete resolve and autocomplete requests #160
  • Improved debug logging (stderr in #158 as well and signal report on exit)

v0.7.3

v0.7.2

  • AutoComplete to CompletionItems now actually work on Atom 1.24 not just a previous PR

v0.7.1

  • AutoComplete to CompletionItems now support resolve when using Atom 1.24 or later

v0.7.0

  • Support snippet type completion items
  • Move completionItem detail to right for consistency with VSCode
  • Make ServerManager restartable
  • Sort completion results
  • LSP v3 flow types plus wiring up of willSave
  • Support TextDocumentEdit in ApplyEditAdapter for v3
  • Upgrade flow, remove prettier
  • Busy Signals added for start and shutdown
  • Dispose connection on server stop, prevent rpc errors in console

v0.6.7

  • Update vscode-jsonrpc from 3.3.1 to 3.4.1
  • Allow file: uri without // or /// from the server

v0.6.6

  • Allow filtering for didChangeWatchedFiles to workaround language servers triggering full rebuilds on changes to .git/build folders etc.
  • Add flow type definitions for Atom IDE UI's busy signal

v0.6.5

  • Send rootUri along with rootPath on initialize for compatibility with LSP v3 servers
  • New signature helper adapter for textDocument/signatureHelp
  • Upgrade various npm runtime and dev dependencies
  • Revert to using item.label when no item.insertText for AutoComplete+
  • Take priority over built-in AutoComplete+ provider

v0.6.4

  • Capture error messages from child process launch/exit for better logging
  • New workspace/applyEdit adapter
  • New document/codeAction adapter
  • Order OutlineView depending on source line & position

v0.6.3

  • Additional error logging

v0.6.2

  • Clear linter messages on shutdown

v0.6.1

  • Accidental republish of v0.6.0

v0.6.0

  • Handle duplicate change events for incremental doc syncing
  • Handle files opened multiple times in different windows/editors
  • Fix GitHub repo link in package.json
  • Ensure child process killed on exit/reload
  • Do not convert http:// and https:// uri's as if they were file://

v0.5.0

  • Allow duplicate named nodes in OutlineView
  • Do not npm publish pre-transpiled sources or misc files
  • Send LSP exit notification after shutdown
  • Use atom.project.onDidChangeFiles for fs monitoring instead of faking on save

v0.4.1

  • New document/codeHighlights adapter
  • Change nuclide flowtypes to atomIde
  • Remove redundant log messaging
  • Add eslint to build and make files compliant

v0.4.0

  • Switch code format to new range provider
  • Remove postInstall now project is released