0.33.0
Pre-release
Pre-release
NOTE: this is a re-tag of 0.33.0
which was tied to wrong commit originally (it was not compiled / built previously). This re-tag is equivalent to 0.33.0
on NPM.
Features
- feat: support
emitDeclarationOnly
by @agilgur5 in #366 - feat: capture watch mode when called via the Rollup API by @agilgur5 in #384
Bugfixes
- fix: type-check
include
d files missed bytransform
(type-only files) by @agilgur5 in #345- Type-only files should now be type-checked if they are in the
tsconfig
include
, fixing #298
- Type-only files should now be type-checked if they are in the
- fix:
filter
"missed" declarations as well by @agilgur5 in #347 - fix: don't skip resolving files imported by other plugins by @agilgur5 in #365
- This fixes a
Could not resolve
error that could occur when importing TS files from another plugin, such as with Svelte in #283
- This fixes a
- fix(host):
getScriptSnapshot
must also callfileNames.add
by @agilgur5 in #364 - fix(cache): invalidate
codeCache
in most cases when imports change by @agilgur5 in #369 - fix(diagnostics):
pretty
defaults totrue
in TS 2.9+ by @agilgur5 in #372- We now align with TS's current default, which should make for much nicer error messages!
- revert: back to using
vue.d.ts
instead of.d.ts
for Vue declarations by @agilgur5 in #410- This fixes a regression in
0.32.0
that erroneously shifted to.d.ts
. The Vue team now mandates.vue.d.ts
, so we have reverted accordingly. See #224 (comment)
- This fixes a regression in
More Fixes ...
Internal Fixes ...
Optimizations
- optim(watch): don't reset
DocumentRegistry
b/t watch cycles by @agilgur5 in #388 - optim(cache): don't check imports for syntactic diagnostics by @agilgur5 in #389
More Optimizations ...
Docs
- docs/clean: formally deprecate
rollupCommonJSResolveHack
by @agilgur5 in #367 - docs: mention
module: "ES2020"
compatibility by @agilgur5 in #376 - docs: mention
ttypescript
, a common integration by @agilgur5 in #379 - docs: mention
transpileOnly
incheck: false
by @agilgur5 in #378 - docs: clarify
clean: true
and defaultinclude
by @agilgur5 in #387
More Docs ...
- docs: improve grammar & formatting, plus add TSConfig Reference links by @agilgur5 in #375
- docs: add a permalink to the og rpt by @agilgur5 in #380
- dx: add rpt2 prefix to remaining errors by @agilgur5 in #382
- dx(cache): improve
clean
edge-case errors with quotes by @agilgur5 in #394 - dx: be more explicit with
emitSkipped
error by @agilgur5 in #395
Internal Docs ...
GitHub
- github: add troubleshooting steps to the issue template by @agilgur5 in #350
- github: add more environment details to
envinfo
by @agilgur5 in #353 - github: add a reproduction environment to the issue template by @agilgur5 in #354
- github: add a Pull Request template by @agilgur5 in #370
Internal (testing, refactors)
- test: add initial integration test suite by @agilgur5 in #371
- test: add initial watch mode test suite by @agilgur5 in #386
- test: add
parse-tsconfig
spec by @agilgur5 in #397 - test: 100% coverage for
tslib.ts
(error case) by @agilgur5 in #399
More Internal ...
- clean: condense own
tsconfig
by removing defaults by @agilgur5 in #343 - clean: remove redundant
allImportedFiles
check in_onwrite
by @agilgur5 in #346 - refactor: invert another if for readabilty -- in
get-options-overrides
by @agilgur5 in #348 - refactor: simplify hosts to directly assign
tsModule.sys
where possible by @agilgur5 in #349 - fix(test): handle
pretty
formatting by @agilgur5 in #377 - refactor(cache):
makeName
->createHash
for clarity by @agilgur5 in #355 - refactor(cache): simplify condition w/ optional chaining by @agilgur5 in #356
- refactor(cache): tiny simplification to
walkTree
by @agilgur5 in #359 - refactor(cache): simplify
clean
method by @agilgur5 in #358 - refactor: split out a common
typecheckFile
func by @agilgur5 in #344 - refactor: use optional chaining for
sourceMapCallback
by @agilgur5 in #363 - refactor(cache): split a
getCached
function out by @agilgur5 in #360 - refactor(cache): simplify
noCache
condition by @agilgur5 in #362 - clean(cache): remove unused
checkNewCache
parameter by @agilgur5 in #368 - clean: remove backward-compat checks for old Rollup versions by @agilgur5 in #374
- refactor: move
generateRound = 0
tobuildEnd
by @agilgur5 in #390 - refactor: move
snapshot
check intotypecheckFile
by @agilgur5 in #391 - refactor: split out an
addDeclaration
func by @agilgur5 in #392 - refactor(cache): further condense
walkTree
by @agilgur5 in #393 - refactor(diagnostics): simplify some conditionals by @agilgur5 in #402
- refactor: combine two context files into one by @agilgur5 in #396
- refactor(test): use more specific checks in
check-tsconfig
spec by @agilgur5 in #398 - clean: remove redundant
generateRound === 0
check by @agilgur5 in #400 - test(cache): ignore coverage for corrupted cache check by @agilgur5 in #401
Full Changelog: 0.32.1...0.33.0.1