Announcing TypeScript 0.8.1
Today, we’re happy to announce the second publically available preview of TypeScript: version 0.8.1. This preview focuses on addressing critical bugs and adding one of the most requested features: source level debugging.
To enable debugging in Visual Studio select ‘Debug’ from the dropdown after creating an HTML Application with TypeScript project.
Once selected, you can set breakpoints and step directly in your TypeScript code.
You can also see your current location using the call stack.
This release addresses many issues found in our first public preview. These fixes have improved compiler stability, compiler correctness, and UTF-8 support. A big “thank you!” to everyone who has helped so far by reporting bugs and participating in the issue tracker and forums.
There are two known breaking changes since v0.8.0:
- Projects created from the Visual Studio templates using v0.8.0 will need to be manually updated to work with v0.8.1. Going forward, this should not be necessary. This post contains details of the MSBuild to use when converting projects.
- The compiler was previously incorrectly allowing non-exported interfaces in a module to be used from outside the module. These must now be exported explicitly per the specification.