- Breaking change:
reference.ts
generation now does EOL based on the current OS. This is the only rational reasonable way to handle EOLs. - Breaking change:
fast:true
is now the default. This means that your project might not be build ready just because the lastts:compile
succeeded. You should add a task to clean.tscache
and recompile everything for that safety before you push to the build server.
- Fix: Automatically clear the
.tscache
on loadinggrunt-ts
task. TypeStrong#81
- Fix: if fast compiling and user specified an
outDir
butbaseDir
isn't specified, figure one out based on the target src glob. (TypeStrong#77 (comment)) - Chore: updated chokidar TypeStrong#94
- Update cache hashed filename to be more intuitive : TypeStrong#96 (comment)
- Change
baseDir
temporary file to be less intrusive : TypeStrong#77 (comment)
- Breaking Change: updated
fast
task option to have three levels: TypeStrong#96 (comment)watch
(default) |always
|never
. If you never specified it than you don't need to do anything as the new default'watch'
is same as old defaulttrue
- use grunt-ts to smoothe grunt-ts development workflow
- Update LKG is automatic at the moment because of TypeStrong#97
- Fix LKG TypeStrong#97 i.e.
grunt upgrade
- Cleanup
.npmignore
- Breaking Change: Update the bundled TSC to v1.0.0
- Breaking Change: Remove
index
option (TypeStrong#68). This has been replaced by transformers. Plus the blindly created index is unreliable for when we have any file that doesn'texport
anything.
- Do not update templateCache if previous file is same as the new calculated one
- Add
///ts:ref
transform for reference tags - change
'./../path/to/file'
to be'../path/to/file'
when doing transforms
- Add
failOnTypeErrors
task option. Iffalse
build succeeds (exit code 0) if JS can be emitted successfully. More : TypeStrong#103
- Add additional error summary for type error vs. code emit preventing error : TypeStrong#120
- No need to warn when default values are usable. Ref: TypeStrong#115
- Fix path.join error because of
grunt.task.current.target
: TypeStrong#118 - Update LKG with self
- FEAT: Add a
compiler
task option to specify a custom compiler bin path : TypeStrong#126 - DOCS: Add documentation for transforms (TypeStrong#85) +
ts:ref
- DOCS: I don't like
amdLoader
anymore now that we have transforms. So deprecating it and moving its docs to its own file. - DOCS: Moved docs for customizing
html2ts
output into their own file as I want readme to be quick and effective (focused on why). - DOCS: Add documentation for fast compile
- All tasks like
grunt-contrib-watch
are supported - will not work with
--out
- the granularity TypeStrong#96 (comment)
- All tasks like
- Fix: Make
/// ts:import
etc. work same as///ts:import
i.e. whitespace independent.(#135)
- Update bundled TypeScript compiler to v1.0.1
- DOCS: recommend
fast:always
withgrunt-contrib-watch
becausespawn:false
breaks under stress (i.e.interrupt:true
) - FIX: use
stdout
if not empty. Otherwise fall back tostderr
(a change introduced in the latest version of the compiler for consistency with other Microsoft compilers) See TypeStrong#140
- FIX:
///ts:import
and///ts:ref
will now work withd.ts
files as well.
- import/export transforms can provide an alternate variable name to use instead of the file name (#143)
- Error displayed when
/// ts:???
is detected but no transform exists for???
- FIX: transforms should now work for files with BOM (#146)
- FIX: transforms will now pick up a generated references.ts (#148)
- ENANCEMENT: Transforms are run even when the compile option is false