Skip to content

Latest commit

 

History

History
81 lines (61 loc) · 4.44 KB

CHANGELOG.md

File metadata and controls

81 lines (61 loc) · 4.44 KB

Released

v1.9.0

  • 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 last ts:compile succeeded. You should add a task to clean .tscache and recompile everything for that safety before you push to the build server.

v1.9.1

  • Fix: Automatically clear the .tscache on loading grunt-ts task. TypeStrong#81

v1.9.2

  • Fix: if fast compiling and user specified an outDir but baseDir isn't specified, figure one out based on the target src glob. (TypeStrong#77 (comment))
  • Chore: updated chokidar TypeStrong#94

v1.9.3

v1.10.0

  • 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 default true
  • use grunt-ts to smoothe grunt-ts development workflow
  • Update LKG is automatic at the moment because of TypeStrong#97

v1.11.0

  • 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't export anything.

v1.11.1

  • Do not update templateCache if previous file is same as the new calculated one

v1.11.2

  • Add ///ts:ref transform for reference tags
  • change './../path/to/file' to be '../path/to/file' when doing transforms

v1.11.3

  • Add failOnTypeErrors task option. If false build succeeds (exit code 0) if JS can be emitted successfully. More : TypeStrong#103

v1.11.4

  • Add additional error summary for type error vs. code emit preventing error : TypeStrong#120

v1.11.5

  • 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

v1.11.6

  • 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)

v1.11.7

  • Fix: Make /// ts:import etc. work same as ///ts:import i.e. whitespace independent.(#135)

v1.11.8

  • Update bundled TypeScript compiler to v1.0.1

v1.11.9

  • DOCS: recommend fast:always with grunt-contrib-watch because spawn:false breaks under stress (i.e. interrupt:true)
  • FIX: use stdout if not empty. Otherwise fall back to stderr (a change introduced in the latest version of the compiler for consistency with other Microsoft compilers) See TypeStrong#140

v1.11.10

  • FIX: ///ts:import and ///ts:ref will now work with d.ts files as well.

v1.11.11

  • 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 ???

v1.11.12

  • FIX: transforms should now work for files with BOM (#146)

v1.11.13

  • FIX: transforms will now pick up a generated references.ts (#148)

v1.12.0

  • ENANCEMENT: Transforms are run even when the compile option is false