Releases: sourcegraph/scip-typescript
v0.3.14
v0.3.13
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
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.
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
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
- @SuperAuguste made their first contribution in #250
Full Changelog: v0.3.8...v0.3.9
scip-typescript v0.3.8
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
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
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
scip-typescript v0.3.3
What's Changed
- Remove remnants from "LSIF Typed" by @olafurpg in #191
- chore: Fix .gitignore to ignore .scip test outputs. by @varungandhi-src in #193
- Don't emit duplicate subsequent occurrences by @olafurpg in #194
- Generate correct
scipSymbol
for namespace imports by @valerybugakov in #195 - Extract
isDefinition
helper by @valerybugakov in #196 - codeintel: add ignore-engines based on yarn version by @Strum355 in #197
- chore(deps): update typescript-eslint monorepo to ^5.42.0 by @renovate in #201
- chore(deps): update typescript-eslint monorepo to ^5.42.1 by @renovate in #204
- Fix bug where an interface definition had a conflicting symbol with a const in the same file by @olafurpg in #206
- Add support for private identifiers by @olafurpg in #209
New Contributors
- @valerybugakov made their first contribution in #195
- @Strum355 made their first contribution in #197
Full Changelog: v0.3.1...v0.3.3
scip-typescript v0.3.1
Improved code navigation for object destructuring patterns
Full Changelog: v0.3.0...v0.3.1
scip-typescript v0.3.0
"Go to definition" now works for import
statements
Previously, "go to definition" didn't work correctly for string literals like "./something" in statements like
import { Something } from "./something"`. This issue is now fixed.
Full Changelog: v0.2.11...v0.3.0