Skip to content

Releases: google/gts

1.0.0-0 Release Candidate

26 Feb 13:55
d4e7f54
Compare
Choose a tag to compare
Pre-release

This is a release candidate working towards the 1.0.0 release.

This release contains breaking changes. Picking up this update most likely will cause a breaking change in your module. Take care when picking up this update.

Breaking Changes

  • We have switched to prettier as the code formatting tool (#259). gts run fix should migrate your code over to the new style 💅.
  • This release drops support for Node 6 which will reach end-of-life in April 2019 (#256) 💀.
  • This release defaults to ES2017 as the TypeScript code generation target. This means that the generated code needs a minimum of Node 8 to run. On the plus side this means that generated code would use native implementation of ES2017 features (e.g. async/await) rather than using poly-fills 🧬. This change is most likely a breaking change for your module. You can override this setting by customizing your tsconfig.json however.
  • The tslint configuration has been updated to pick up changes in the Google style guide🧐.
  • Assumes that target projects are using TypeScript 3.x+ 🎯.

Commits

v0.9.0

13 Nov 00:20
Compare
Choose a tag to compare

Notable Changes

  • 66da7ec fix: upgrade init'ed and allowed versions of TypeScript (#208)
  • f7c75ee feat: print clang-format output (#186)

Commits

  • 399f851 (HEAD -> master, origin/master) chore(deps): lock file maintenance (#222)
  • fd89106 chore(deps): lock file maintenance (#221)
  • 9b00263 chore(deps): lock file maintenance (#219)
  • aced615 chore(deps): lock file maintenance (#218)
  • 3eaed5e chore(deps): update dependency @types/meow to v5 (#217)
  • 42ce864 chore(deps): lock file maintenance (#216)
  • 6d602ab chore(deps): update dependency typescript to ~3.1.0 (#213)
  • 6ae3d7f chore(deps): lock file maintenance (#209)
  • 66da7ec fix: upgrade init'ed and allowed versions of TypeScript (#208)
  • 77e7d6c (fix-203) chore(deps): update dependency @types/glob to v7 (#206)
  • 4d1dff9 chore(deps): lock file maintenance (#204)
  • 1ac64ac chore(deps): update dependency nyc to v13 (#205)
  • 6964b4c chore(deps): lock file maintenance (#202)
  • d44c58a chore(deps): update dependency @types/inquirer to ^0.0.43 (#200)
  • a83308d chore(deps): update dependency typescript to v3 (#192)
  • 57cd5ee chore(deps): lock file maintenance (#198)
  • 9e8e406 chore(deps): lock file maintenance (#197)
  • 0989560 fix(deps): update dependency pify to v4 (#196)
  • dea8269 chore(deps): lock file maintenance (#195)
  • 29514c0 chore(deps): lock file maintenance (#193)
  • 6eca165 chore(deps): lock file maintenance (#191)
  • a8d8da6 chore(deps): update dependency typescript to ~2.9.0 (#190)
  • d0d430d fix: allow 'gts clean' to follow tsconfig.json dependency chain (#185)
  • f7c75ee feat: print clang-format output (#186)
  • e107ab3 chore: Configure Renovate (#189)

No esModuleInterop and allowSyntheticDefaultImports

12 Jul 21:01
82ecc4e
Compare
Choose a tag to compare

This is a release with breaking changes. We no longer set the esModuleInterop and allowSyntheticDefaultImports in the default TypeScript config. These might be reasonable configurations for end-user application code, but for libraries these can be problematic. TypeScript users of such libraries must have these flags set as well for compilation to succeed. For example: googleapis/google-auth-library-nodejs#381.

There are two ways to deal with this breaking change:

  • (recommended) change code using synthetic imports (import fs from 'fs') back to using old style imports (import * as fs from 'fs').
  • Add "esModuleInterop": true to your local tsconfig.json.

Sorry for the churn.

Commits

v0.7.1

19 Jun 00:07
4f09fc3
Compare
Choose a tag to compare

This release fixes a regression with code formatting introduced in v0.7.0.

Commits

  • 074a377 fix(format): deal with absent .clang-format (#176)

0.7.0

18 Jun 20:32
Compare
Choose a tag to compare

This release adds support for generating .clang-format and tslint.json in the target directory. The default implementations extend the gts configurations. If these files are not present we still fall back to the default gts provided config files.

This should enable editors to pickup the format and lint settings.

Commits

0.6.0

08 May 19:44
07fe120
Compare
Choose a tag to compare

Breaking changes

There are breaking changes in this release.. Support for Node.js 4 has been dropped, the default target for compilation is now es2016, and clang-format has been upgraded to the latest version. Please update with care.

a9d9e5f chore: drop support for Node 4 (#146)
145ca8b feat: change default target to es2016 (#149)

Bug fixes

8b811a9 fix: fix typo in engines (#151)
00b2436 fix: exclude section is not necessary (#143)
32c412b fix: don't compile right after generating a project (#142)

Maintenance

5ab9a7e chore: update dependencies (#154)
75d2c22 chore(package): update @types/node to version 10.0.3 (#153)
72ade75 chore: drop 'experimental' from README (#150)
69feca0 chore(package): update @types/inquirer to version 0.0.41 (#148)
8ea4bcd fix(package): update meow to version 5.0.0 (#152)
f44b192 fix(package): update clang-format to version 1.2.3
a340abe fix(package): update inquirer to version 5.2.0 (#123)
ac4bc6d feat: upgrade to Typescript 2.8.x (#140)
e6ebb5b feat: use typescript 2.7.1 and esModuleInterop (#125)
30f461f chore(package): update @types/inquirer to version 0.0.40 (#139)
29b4515 chore(package): update @types/inquirer to version 0.0.39 (#138)
4c82290 chore: unpin some packages (#137)
dfc2ec5 chore(package): update @types/inquirer to version 0.0.38 (#136)
7c15153 Update @types/inquirer to the latest version 🚀 (#133)
930d981 chore(package): update js-green-licenses to version 0.5.0 (#132)
86d9615 chore(package): update @types/pify to version 3.0.1 (#131)
1d4265c chore: integrate NPM publish with CircleCI (#130)

v0.5.4

02 Mar 23:09
9fd094b
Compare
Choose a tag to compare

Commits

  • cross platform friendly (#126) 6bd7a38
  • Update @types/meow to the latest version 🚀 (#122) 7a0b452
  • chore(package): update ava to version 0.25.0 (#121) 3234014
  • chore(package): update @types/update-notifier to version 2.0.0 (#116) 88a998f
  • chore(package): update js-green-licenses to version 0.4.0 (#115) 407bfc7
  • fix: use local gts path for generated tsconfig.json (#114) 807f281
  • fix: fix a failing test (#112) 817c885
  • chore(package): update js-green-licenses to version 0.3.1 (#110) 925433c
  • chore(package): update @types/node to version 9.3.0 (#108) 96b3770
  • fix(package): update clang-format to version 1.2.2 (#107) b0f8c2a
  • chore(package): update js-green-licenses to version 0.2.0 (#106) 69e199f
  • chore: add license checking with js-green-license (#105) a440790

v0.5.1

08 Nov 01:09
Compare
Choose a tag to compare

This release drops some lint rules to further sync what is being used internally. This should not have an impact on existing code.

v0.5.0 TypeScript 2.6

07 Nov 03:07
Compare
Choose a tag to compare

This is a semver major release that makes two potentially breaking changes

  • We now require typescript 2.6+. Since typescript doesn't follow semver, this can potentially fail to compile your existing code. Most notably typescript 2.6 treats types for function parameter more strictly.
  • Synchronized the tslint rules with what is used internally at Google. For most of the added rules, a fixer is available, so migration should be relatively straightforward (use gts fix).

Commits

  • dae4e41 (HEAD -> master, origin/master) BREAKING CHANGE: chore: sync with internal lint (#75)
  • 7b3db0f fix: add support for typescript 2.6 (#74)
  • daaa1a6 fix: add terminal newline to tsconfig.json (#71)
  • d4a4301 chore: restrict typescript version (#72)
  • 857bb32 chore: remove CHANGELOG.md (#67)

v0.4.1

26 Oct 01:49
Compare
Choose a tag to compare

This release fixes a problem where format errors were not properly reported by gts check.

Commits

  • cdc4c18 chore(package): update ava to version 0.23.0 (#66)
  • deca1b9 chore(package): update codecov to version 3.0.0 (#65)
  • d8789a4 fix: warn when clang-format fails (#62)