Skip to content

Releases: Buslowicz/twc

0.5.1

08 Dec 01:15
Compare
Choose a tag to compare

TWC v 0.5.1

What's new

From now on please include twc/decorators/polymer.d.ts in your tsconfig.json instead of twc/types/polymer.decorators.d.ts. Polymer declarations are no longer included. Please include 3rd party types (use official declarations once they are out, until then I recommend polymer2-types). The deprecated declarations will still function and include a copy of polymer2-types, but will be removed in the future.

Issues fixed

#118 TS2345 when you specify your element name
#119 Unknown error when using moduleResulotion: node
#121 HTMLElement life-cycle callbackss

0.5.0

04 Dec 00:48
Compare
Choose a tag to compare

TWC v 0.5.0

What's new

Added mixins support with native markup. Example:

const mixinA = (Super1) => class extends Super1 {
      @attr() name: string;
      @attr() surname: string;

      @attr() @notify() @compute((name: string, surname: string) => `${name} ${surname}`) fullName: string;
    };

Please note: Mixins are not components and they do not include templates or styles. That means @CustomElement(), @style() and @template() mixins will not work.

Issues fixed

#97 TypeScript mixin is not transformed as a complete Polymer module definition

0.4.7-rc

07 Nov 00:51
Compare
Choose a tag to compare

#116 Adding comments before export does not compile properly

0.4.6-rc

23 Oct 17:41
Compare
Choose a tag to compare

#113 HTML imports with bower inconsistencies

0.4.4-rc

24 Sep 12:04
Compare
Choose a tag to compare

#110 Added support to import yarn packages
#111 Importing scripts produces wrong src output tag

0.4.2-rc

17 Jul 06:12
Compare
Choose a tag to compare

#60 Create PolymerTS compatible annotations
#96 Without outDir twc outputs to project root
#95 Handle importing modules

0.4.1-rc

12 Jul 07:54
Compare
Choose a tag to compare

#79: Add JavaScript expressions to the template
#88 Optional options on the @CustomElement decorator
#91: New prereleases don't work on Windows

0.4.0-rc

07 Jul 22:35
Compare
Choose a tag to compare

#39 Working with internal modules
#12 Add mixins support
#48: Working with behaviors

0.3.1-beta.1

02 Jul 08:07
Compare
Choose a tag to compare
0.3.1-beta.1 Pre-release
Pre-release

#16: Polymer 2 output
#73 Replace parser with TypeScript Compiler API
#68 Quoted property aren't correctly transpiled
#77 twc fail when there are no methods
#24 Add code coverage reporter
#23 Optimize build process speed
#75 Add bowerDir option (to handle dist/dev build)

0.2.0-beta.1

02 Apr 17:38
Compare
Choose a tag to compare
0.2.0-beta.1 Pre-release
Pre-release

#20 Add type import
#69 Running without parameters fails
#71 Invalid import links don't appear in output