Skip to content

Releases: google/gts

gts v1.1.2

20 Nov 23:18
Compare
Choose a tag to compare

Bug Fixes

  • deps: update to newest prettier (with support for optional chain) (#396) (ce8ad06)

gts v1.1.1

18 Nov 01:14
Compare
Choose a tag to compare

Bug Fixes

  • deps: update dependency chalk to v3 (#389) (1ce0f45)
  • deps: update dependency inquirer to v7 (#377) (bf2c349)
  • deps: update dependency rimraf to v3 (#374) (2058eaa)
  • deps: update dependency write-file-atomic to v3 (#353) (59e6aa8)

v1.1.0

30 Jul 21:36
cf01512
Compare
Choose a tag to compare

Bug Fixes

  • avoid conflicts between prettier and tslint (#348) (83cb107)
  • npx command on Windows and make sure build/test work on Windows too (#306) (458be26), closes #2
  • process less files in parallel preventing OOM errors (#369) (b48196d)
  • deps: update dependency update-notifier to v3 (#339) (a6f9cfa)

Features

v1.0.0

25 Apr 18:17
1dffa53
Compare
Choose a tag to compare

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+ 🎯.

Other features

  • Support for yarn (#285)

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)