Releases: TypeStrong/grunt-ts
Releases · TypeStrong/grunt-ts
v5.0.0
Version 5 of grunt-ts represents a major overhaul of the options resolution system. More than 100 new tests have been added, so this should be the highest quality version of grunt-ts yet. Also, many integration tests have been rewritten as "heavy unit tests" (meaning they call into grunt-ts from grunt, but don't actually call tsc
, so they run in ~0.02 sec). This allows validation of grunt-ts warnings, and assertion of exact command line parameters. Even though testing quality has gone up significantly, the overall time to run grunt release
on grunt-ts itself has dropped from 184 seconds to 112 seconds - a 64% improvement.
- FIX: amdloader will now work for
.tsx
extension as well - FEAT: Added support for
tsconfig.json
#202. Supports maintenance offiles
property and optional TypeStrong customfilesGlob
extension. - NOTE: Upgrade to TypeScript 1.6 was out of scope for version 5.0 - that will be part of version 5.1 which should be available soon.
- NOTE: Significant use of ES6 features throughout - let & const, ES6 imports, destructuring, etc.
- CHORE: Upgraded to tslint v2.4.0.
- CHORE: Upgraded to csproj2ts v0.0.4.
- NOTE: Added dependency on strip-bom npm package.
- CHORE: Updated several definition files including nodeunit, NodeJS, and es6-promises.
- CHORE: 'use strict' throughout.
- CHORE: Upgraded to csproj2ts v0.0.4.
- FIX: Will now provide warning if
sourcemap
is used; should besourceMap
. This issue will be auto-resolved. - FIX: Templates in grunt targets should always be resolved consistently now #273. Thanks for the report, @bjorm.
- FIX: html2ts should now honor the
outdir
setting #271. Thanks for the report, @hoeni. - FIX: Target options should always work properly in conjunction with the
vs
option #264. Thanks for the report, @vtkalek. - FIX: Task and target-level options should always override consistently now #248.
- FIX: out and outDir in VS projects will now work consistently between grunt-ts and Visual Studio; the paths will resolve to be relative to the gruntfile even if the VS project is not in the same folder.
- If
vs
is used withfiles
, there will still be a warning, but grunt-ts will now append the files from the Visual Studio project to the result of each files glob. Previously it would compile the Visual Studio project files only (once per files entry). - Fixed several broken warnings such as using an array for
dest
withfiles
.
v4.2.0
- FEAT: TypeScript 1.5.3 support (TypeScript 1.5 "RTM").
- While still compatible with older versions, grunt-ts now depends on TypeScript 1.5.3 by default (via package.json).
- Added support for new TS 1.5 switches: newLine, noEmit, emitDecoratorMetadata, experimentalDecorators, isolatedModules, noEmitHelpers, inlineSourceMap, inlineSources.
- Added support for SystemJS ('system') and UMD ('umd') on
module
option. - Grunt-ts now compiles correctly with TypeScript 1.5.3, and all tests pass. Development should now be done with TypeScript 1.5.
- If emitDecoratorMetadata is specified, experimentalDecorators will now be enabled automatically.
- If both inlineSources and inlineSourceMap are specified, sourceMap will now be disabled automatically. Thanks @bryanforbes for notifying us of the change between TypeScript 1.5-alpha and 1.5-beta.
- DOCS: Updated for the above. Thanks to @hdeshev for the PR.
v4.2.0-beta.1
- FEAT: TypeScript 1.5 beta support.
- Added support for new TS 1.5 switches: newLine, noEmit, emitDecoratorMetadata, isolatedModules, noEmitHelpers, inlineSourceMap, inlineSources.
- Added support for SystemJS ('system') and UMD ('umd') on
module
option. - Grunt-ts now compiles correctly with TypeScript 1.5 beta, and all tests pass. Development should now be done with TypeScript 1.5.
- FEAT: Added new
additionalFlags
option to allow passing arbitrary strings to tsc (To allow immediate support for new or custom features on the command-line) - FEAT: Implemented support for arbitrary HTML transforms, such as to external modules (#249). Thanks to @SEthX for the Pull Request.
- FIX: Now grunt-ts provides a warning if someone uses --out with an external module system (#257). Thanks to @dbeckwith for the report.
- DOCS: Updated the docs for all of the above.
v4.1.2
v4.1.1
v4.1.0
- FIX: The
reference
property should properly work with Grunt transforms again (#235 + #245). Thanks to @thorseye for the PR and @smfeest for independently reporting. - FIX: Should work better in situations where
node
isn't the PATH of the current process (#236). Thanks to @ryanthomas840310 for the PR and @olegccc for the initial report. - FIX: The
html
feature now emits TypeScript that passes tslint (#226). Thank you for the suggestion and example code @BerndWessels. - FIX: The
html
feature now supports file names with periods (#237). Thanks to @starstuffharvestingstarlight. - CHORE: Updated to latest chokidar in
package.json
(#232). Thanks to @paulmillr. - CHORE: Cleaned up our sample Gruntfile (#228). Thanks to @bennyn.
- DOCS: Improved documentation for
html
feature (#234). Thanks to @ben8p.
v4.0.1
- FIX: Corrected an issue introduced in 4.0.0 where Grunt transforms were not running on
out
,outDir
,reference
,mapRoot
, orsourceRoot
. (#220 - thanks to paulgambrell and JoeFirebaugh for the report.) - FIX: An empty compile step was getting called once per project file if
vs
was used; this has been corrected. - FIX: Ignored a dev-only directory for npm.
- FIX: Comments will now be preserved when using
vs
unless RemoveComments is explicitly set in the Visual Studio project. - DOCS: Clarified that Compile on Save is not necessarily disabled if you follow the instructions to disable the Visual Studio TypeScript build (but it can be disabled if desired).
v4.0.0
- FEAT: Now supports parsing and compiling directly against the TypeScript files and configuration specified in a Visual Studio project file - .csproj or .vbproj. Visual Studio not required and files list/config override-able, ignorable and extend-able. (#215)
- FEAT: Now includes a custom TypeScript targets file to easily disable the internal Visual Studio TypeScript build.
- DOCS: New detailed instructions on how to disable TypeScript build within Visual Studio while keeping TypeScript Build project properties pane functional.
- DOCS: Several documentation improvements and clarifications.
- FIX: report error on wrong
module
option. (#212) - FIX: Corrected an issue where the grunt-ts transforms module might transform itself. #SkyNet
- CHORE: Added unit test for ///ts:ref= transform.
- CHORE: Removed dependency on tslint-path-formatter and upgraded grunt-tslint dev dependency to 2.0.0.
v3.0.0
- Breaking Change: the default bundled typescript compiler is now
1.4.1
- FEAT: More compiler flags supported (#206)
- CHORE: updated chokidar. Needed to decrease CPU utilization on certain OSes (#192 (comment))
- FIX: now will default to Grunt end of line character, but supports Grunt override (#200).
- CHORE: do not publish
/customcompiler
folder to npm