Skip to content

Releases: sourcegraph/scip-typescript

v0.4.0

Choose a tag to compare

@varungandhi-src varungandhi-src released this 02 Oct 12:32

What's Changed

New Contributors

Full Changelog: v0.3.16...v0.4.0

v0.3.16

Choose a tag to compare

@varungandhi-src varungandhi-src released this 02 Oct 12:31

What's Changed

  • chore(deps): update dependency @types/diff to v7 by @renovate[bot] in #393
  • chore(deps): update dependency @types/diff to v7.0.1 by @renovate[bot] in #396
  • chore(deps): update dependency prettier to v3.5.2 by @renovate[bot] in #398
  • chore(deps): update dependency prettier to v3.5.3 by @renovate[bot] in #401
  • chore: fixed dockerignore config in #402
  • Add dependabot by @willdollman in #417
  • Update typescript Dockerfile to latest node image by @willdollman in #419

New Contributors

Full Changelog: v0.3.15...v0.3.16

v0.3.15

Choose a tag to compare

@antonsviridov-src antonsviridov-src released this 07 Jan 14:06
1b2bf90

This release doesn't change scip-typescript itself, but modifes the Docker image it ships with – no longer using Alpine distribution of Node, and upgrading to Node 22.

What's Changed

New Contributors

Full Changelog: v0.3.14...v0.3.15

v0.3.14

Choose a tag to compare

@kritzcreek kritzcreek released this 02 Oct 06:37

Fixes the distribution to not mix ESM and CommonJS modules

v0.3.13

Choose a tag to compare

@kritzcreek kritzcreek released this 01 Oct 12:36

Emit references to object properties (#373)

Given the following example:

type MyType = { myProperty: number }
function myFunc(): MyType {
  return { myProperty: 42 };
}

Previously we'd fail to produce a reference to myProperty in the body of myFunc. Now we properly link the two together. This fixes a fair amount of issues around navigating through object literals.

Emit enclosing_range for calls in constructors (#372)

We now emit enclosing_range data for calls in constructors, which we were missing before.

v0.3.10

Choose a tag to compare

@olafurpg olafurpg released this 11 Jul 09:44
d56d117

Skip indexing large files

Previously, scip-typescript indexed all files regardless of file size. This could result in scip-typescript stalling progress to index very large files that were (frequently) auto-generated. This commit changes the default behavior to skip indexing files that are larger than 1mb, and makes this threshold configurable via the new --max-file-byte-size flag.

  • Skip indexing large files above 1mb, add option --max-file-byte-size by @olafurpg in #271

Documentation

The readme now has a troubleshooting section for out of memory (OOM) issues https://github.com/sourcegraph/scip-typescript#dealing-with-out-of-memory-issues-oom

Dependency updates

  • chore(deps): update typescript-eslint monorepo to ^5.59.1 by @renovate in #255
  • chore(deps): update dependency prettier to v2.8.8 by @renovate in #254
  • chore(deps): update typescript-eslint monorepo to ^5.59.2 by @renovate in #257
  • chore(deps): update typescript-eslint monorepo to ^5.59.8 by @renovate in #260
  • chore(deps): update typescript-eslint monorepo to ^5.59.9 by @renovate in #261
  • chore(deps): update typescript-eslint monorepo to ^5.60.1 by @renovate in #265
  • chore(deps): update typescript-eslint monorepo to ^5.61.0 by @renovate in #268

Full Changelog: v0.3.9...v0.3.10

v0.3.9

Choose a tag to compare

@olafurpg olafurpg released this 26 Apr 10:33

Code navigation for constructors

Add definitions and references for constructors by @SuperAuguste in #250

Previously, it was not possible to do "Find references" on constructors in cases like below

export class SuperConstructor {
  constructor(public readonly property: number) {}
//^^^^^^^^^^^ <--- "Find references" had no results here
}
export function useConstructor(): SuperConstructor {
  return new SuperConstructor(10)
//           ^^^^^^^^^^^^^^^^ <--- "Go to definition" went to the class instead of constructor
}

This release fixes this issue for both "Find references" and "Go to definition". Big kudos to @SuperAuguste for fixing important issue in his first contribution to scip-typescript 👏🏻

New Contributors

Full Changelog: v0.3.8...v0.3.9

scip-typescript v0.3.8

Choose a tag to compare

@olafurpg olafurpg released this 20 Apr 13:31

Improved "Find references" for properties of object literals

Previously, "find references" did not show meaningful results for the property hello in the object literal below

interface Messages {
  hello: string
}
function frenchMessages(): Messages {
  return { hello: "Bonjour" }
}

This releases fixes this issue specifically for return statements inside functions. Note that this issue can manifest in many other ways that we are planning to fix in future releases. Please report issues if you observe cases where "go to definition" or "find references" doesn't match what you see in VS Code or WebStorm.

What's Changed

  • chore(deps): update dependency prettier to v2.8.7 by @renovate in #241
  • chore(deps): update typescript-eslint monorepo to ^5.57.0 by @renovate in #242
  • chore(deps): update typescript-eslint monorepo to ^5.57.1 by @renovate in #246
  • Infer symbol relationship for object literals property in return statement by @olafurpg in #248

Full Changelog: v0.3.7...v0.3.8

v0.3.7

Choose a tag to compare

@olafurpg olafurpg released this 16 Mar 10:55

What's Changed

  • Don't throw error when failing to parse tsconfig.json by @olafurpg in #232
  • chore(deps): update typescript-eslint monorepo to ^5.54.0 by @renovate in #235
  • chore(deps): update typescript-eslint monorepo to ^5.54.1 by @renovate in #238
  • Gracefully handle incomplete package.json files by @olafurpg in #239

Full Changelog: v0.3.6...v0.3.7

scip-typescript v0.3.6

Choose a tag to compare

@olafurpg olafurpg released this 13 Feb 18:25

What's Changed

  • chore(deps): update dependency prettier to v2.8.0 by @renovate in #210
  • chore(deps): update typescript-eslint monorepo to ^5.45.0 by @renovate in #211
  • chore(deps): update typescript-eslint monorepo to ^5.45.1 by @renovate in #214
  • chore(deps): update dependency prettier to v2.8.1 by @renovate in #215
  • chore(deps): update dependency @sourcegraph/eslint-config to v0.33.0 by @renovate in #216
  • Update dependency @types/react to v17.0.52 by @renovate in #199
  • Add support for pnpm by @valerybugakov in #219
  • Update ChangeLog and bump version for releasing 0.3.3. by @valerybugakov in #221
  • Update ChangeLog and bump version for releasing 0.3.4. by @valerybugakov in #222
  • chore(deps): update typescript-eslint monorepo to ^5.48.0 by @renovate in #217
  • chore(deps): update dependency prettier to v2.8.2 by @renovate in #224
  • chore(deps): update dependency prettier to v2.8.3 by @renovate in #226
  • chore(deps): update typescript-eslint monorepo to ^5.50.0 by @renovate in #227
  • chore(deps): update typescript-eslint monorepo to ^5.51.0 by @renovate in #230
  • chore(deps): update dependency prettier to v2.8.4 by @renovate in #231

Full Changelog: v0.3.3...v0.3.6