sublimelsp / LSP-typescript

TypeScript, JavaScript support for Sublime LSP plugin
MIT License
135 stars 11 forks source link

Bump typescript-language-server from 0.6.5 to 0.7.0 #102

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps typescript-language-server from 0.6.5 to 0.7.0.

Release notes

Sourced from typescript-language-server's releases.

v0.7.0

Breaking

Changes to default options sent to tsserver could affect behavior (hopefully for the better). Read changes below for more details.

Changes

  • feat: include import specifier for import completions (#281) For completions that import from another package, the completions will include a "detail" field with the name of the module.

    Also aligned some other logic with the typescript language services used in VSCode:

    • annotate the completions with the local name of the import when completing a path in import foo from '...'
    • update completion "sortText" regardless if the completion "isRecommended"
  • feat: allow skip destructive actions on running OrganizeImports (#228) Add support for the new skipDestructiveCodeActions argument to TypeScript's organize imports feature - [1] to support [2].

    Support is added in two places:

    • Automatically inferring the proper value based on diagnostics for the file when returning code actions.
    • Supporting sending it when manually executing the organize imports action.

    Also added documentation to the readme about the supported commands that can be manually executed.

    [1] microsoft/TypeScript#43051 [2] apexskier/nova-typescript#273

  • feat: support running server on files without root workspace (#286) The tsserver seems to be good at inferring the project configuration when opening single files without a workspace so don't crash on missing rootPath.

  • feat: add disableAutomaticTypingAcquisition option to disable automatic type acquisition (#285)

  • feat: update default tsserver options (#284) Set the following additional options by default:

    allowRenameOfImportPath: true,
    displayPartsForJSDoc: true,
    generateReturnInDocTemplate: true,
    includeAutomaticOptionalChainCompletions: true,
    includeCompletionsForImportStatements: true,
    includeCompletionsWithSnippetText: true,
    

    This aligns more with the default options of the typescript language services in VSCode.

  • feat: announce support for "source.organizeImports.ts-ls" action (#283) Announcing support for that code action allows editors that support running code actions on save to automatically run the code action if the user has configured the editor with settings like

      "codeActionsOnSave": {
        "source.organizeImports": true,
        // or
    

... (truncated)

Changelog

Sourced from typescript-language-server's changelog.

[0.7.0] - 2021-11-09

Breaking

Changes to default options sent to tsserver could affect behavior (hopefully for the better). Read changes below for more details.

Changes

  • feat: include import specifier for import completions (#281) For completions that import from another package, the completions will include a "detail" field with the name of the module.

    Also aligned some other logic with the typescript language services used in VSCode:

    • annotate the completions with the local name of the import when completing a path in import foo from '...'
    • update completion "sortText" regardless if the completion "isRecommended"
  • feat: allow skip destructive actions on running OrganizeImports (#228) Add support for the new skipDestructiveCodeActions argument to TypeScript's organize imports feature - [1] to support [2].

    Support is added in two places:

    • Automatically inferring the proper value based on diagnostics for the file when returning code actions.
    • Supporting sending it when manually executing the organize imports action.

    Also added documentation to the readme about the supported commands that can be manually executed.

    [1] microsoft/TypeScript#43051 [2] apexskier/nova-typescript#273

  • feat: support running server on files without root workspace (#286) The tsserver seems to be good at inferring the project configuration when opening single files without a workspace so don't crash on missing rootPath.

  • feat: add disableAutomaticTypingAcquisition option to disable automatic type acquisition (#285)

  • feat: update default tsserver options (#284) Set the following additional options by default:

    allowRenameOfImportPath: true,
    displayPartsForJSDoc: true,
    generateReturnInDocTemplate: true,
    includeAutomaticOptionalChainCompletions: true,
    includeCompletionsForImportStatements: true,
    includeCompletionsWithSnippetText: true,
    

    This aligns more with the default options of the typescript language services in VSCode.

  • feat: announce support for "source.organizeImports.ts-ls" action (#283) Announcing support for that code action allows editors that support running code actions on save to automatically run the code action if the user has configured the editor with settings like

      "codeActionsOnSave": {
        "source.organizeImports": true,
    

... (truncated)

Commits
  • 814fb0d 0.7.0
  • 0b51359 add changelog for 0.7.0
  • efc3b3f feat: announce support for "source.organizeImports.ts-ls" action (#283)
  • 2c84b05 feat: update default typescript options (#284)
  • 9abd5dd feat: add options to disable automatic type acquisition (#285)
  • fbf72dd feat: support running server on files without root workspace (#286)
  • 3c109d5 fix: change default log level from "warn" to "info" (#287)
  • a397cf5 feat: allow skip destructive actions on running OrganizeImports (#228)
  • 7b4aeb2 feat: include import specifier for import completions (#281)
  • 21b768c chore(ci): run linting on single version to avoid duplicate annotations
  • See full diff in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)