Commit Graph

53 Commits

Author SHA1 Message Date
TypeScript Bot
35adb05aa6 Format 2023-03-16 17:17:39 +00:00
Nathan Shively-Sanders
706189182a Ship 5.0, deprecate 4.2 (#634) 2023-03-16 10:14:05 -07:00
TypeScript Bot
f47cb222f5 Format 2023-02-27 21:44:07 +00:00
Nathan Shively-Sanders
8fb472ba1c Add TS 5.1 in preparation for 5.0 RC (#616) 2023-02-27 13:40:33 -08:00
Nathan Shively-Sanders
9fd0ee559b Resimplify typesVersions format (#572)
* Resimplify typesVersions format

Undoes #536. Needs a matching PR on Definitely Typed before it's ready
to go. (Insert PR number here)

* delete mistakenly added script
2022-11-29 16:19:51 -08:00
Andrew Branch
6874189306 Revert "Bring back 4.1 temporarily (#568)" (#570) 2022-11-28 10:00:24 -08:00
TypeScript Bot
e74d415074 Format 2022-11-23 00:08:29 +00:00
Andrew Branch
06fc7eea66 Bring back 4.1 temporarily (#568)
* Bring back 4.1 temporarily

* Update test

* Update test
2022-11-22 16:04:59 -08:00
TypeScript Bot
54967decad Format 2022-11-15 22:17:53 +00:00
Nathan Shively-Sanders
918f77be02 Ship 4.9, deprecate 4.1 on DT (#567) 2022-11-15 14:14:41 -08:00
TypeScript Bot
7c34014f52 Format 2022-11-01 16:00:30 +00:00
Nathan Shively-Sanders
e8f50a1964 Add Typescript 5.0 to typescript-versions (#560)
5.0 is the new nightly version
2022-11-01 08:56:18 -07:00
Nathan Shively-Sanders
633feef4a4 Change typesVersions format (#536)
Work around the bug in Typescript semver semantics by using a more
precise specifier that works there, as well as standard semver.

The bug in typescript should be fixed soon, so we can change this back
later. In the meantime only 13 packages use typesVersions so it's easy
to change back and forth.
2022-09-23 09:39:47 -07:00
TypeScript Bot
cc65fb6de5 Format 2022-08-30 21:28:15 +00:00
Nathan Shively-Sanders
fea2678dd7 Ship 4.9, deprecate 4.0 (#530) 2022-08-30 14:24:40 -07:00
TypeScript Bot
31176d09d4 Format 2022-08-09 22:05:14 +00:00
Nathan Shively-Sanders
099023993e Add TS 4.9 now that 4.8 RC is out (#516) 2022-08-09 15:01:24 -07:00
Nathan Shively-Sanders
d53f9346c6 Ship 4.7, deprecate 3.9 (#473) 2022-05-31 08:39:23 -07:00
Nathan Shively-Sanders
3d432b2cd4 Add TS4.8 to supported versions (#454)
For use after typescript's main branch switches to 4.8 at the start of
the 4.7 RC period.
2022-05-09 08:00:26 -07:00
TypeScript Bot
8665394ff1 Format 2022-04-21 18:44:48 +00:00
Nathan Shively-Sanders
5b9bfa55a5 Ship 4.7, Deprecate 3.8 (#414) 2022-03-01 11:14:32 -08:00
Nathan Shively-Sanders
846863327d Add 4.7 to supported versions (#395)
Update the in-source instructions since @definitelytyped now includes
dtslint and dts-critic.
2022-02-11 16:28:18 -08:00
Nathan Shively-Sanders
b329f34f0d Add+Ship 4.6, deprecate 3.7 (#349)
I missed adding 4.6 at the beginning of the RC, so this adds it and
ships it in the same step.
2021-11-18 09:17:47 -08:00
Nathan Shively-Sanders
657f3e9a36 Ship TS 4.5 (#305)
* ship TS 4.5

* improve test
2021-08-26 15:03:04 -07:00
Simon Schick
a916f393b6 chore: remove ts3.6 support (#296)
* chore: remove ts3.6 support

* add Typescript 4.5

Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2021-08-20 09:00:33 -07:00
Nathan Shively-Sanders
60b56b1bbe Release 4.3 deprecate 3.5 (#267)
* Release 4.3 and stop testing 3.5

* actually ship 4.3
2021-05-27 10:02:36 -07:00
TypeScript Bot
733190f09b Format 2021-05-11 14:57:01 +00:00
Nathan Shively-Sanders
28a4edef89 Add TS 4.4 as typescript@next (#250) 2021-05-11 07:54:16 -07:00
TypeScript Bot
2c4d33f7ef Format 2021-03-04 22:00:16 +00:00
Nathan Shively-Sanders
e5e6927603 Ship 4.2 and deprecate 3.4 (#211) 2021-03-04 13:57:27 -08:00
Daniel Rosenwasser
2a5fb9a31c Add 4.3 to supported TypeScript versions. (#202)
* Add 4.3 to supported TypeScript versions.

* Update tests.
2021-02-09 17:31:00 -08:00
Nathan Shively-Sanders
4d71908bcb Deprecate Typescript 3.3 (#192) 2021-01-11 17:00:52 -08:00
Nathan Shively-Sanders
2ef7502a9f Ship TS 4.1, deprecate TS 3.2 (#176) 2020-11-19 15:30:54 -08:00
Nathan Shively-Sanders
7b8e04063d Add 4.2 support (#155) 2020-11-04 15:32:52 -08:00
Nathan Shively-Sanders
9670e0dd3b Deprecate Typescript 3.1 (#116)
* Deprecate Typescript 3.1

[According to the
schedule](https://github.com/DefinitelyTyped/DefinitelyTyped#older-versions-of-typescript-30-and-earlier),
it's time to deprecate 3.1. I delayed the 3.0 deprecation to match the
4.0 release since it was a complicated one.

This should be much easier. The follow-up tasks are:

1. Update dtslint and dts-critic.
2. Remove ts3.1/ directories from web-animations-js, openpgp, jest,
es-to-primitive.
3. Remove ts3./1 directories from all versions of node. (This is big
enough that it deserves its own task; the default implementations will
have to move up to the next TS version directory since node's types build
from the oldest versions.)

* never forget yarn format

* Fallback to first shipped version

Instead of a hard-coded version. Thanks to @andrewbranch for the idea.
2020-09-15 09:41:23 -07:00
Nathan Shively-Sanders
9a482f112b Flip typesVersions order to oldest-first (#91)
typesVersions subfolders are now expected to cover *older* versions
with the root having the newest version, and
the entry in package.json should be ordered oldest-first now:

For example, a package with 3.2,3.5,3.6 covers these ranges:
3.1-3.2, 3.3-3.5, 3.6, 3.7-4.1

And has the following typesVersions keys:

<=3.2, <=3.5, <=3.6

Publishing this change will block changes to the 18 DT packages that
still have typesVersions entries, so I will fix them locally using the
prerelease package once this PR is merged.
2020-08-26 09:43:46 -07:00
Nathan Shively-Sanders
922ecf3fa3 Add support for 4.1, ship 4.0, remove 3.0 support (#85)
* Add 4.1 support

* Remove support for 3.0; ship 4.0

* fix typo

* update header-parser too
2020-08-20 09:03:25 -07:00
Nathan Shively-Sanders
ad1c4b0672 less jokey test (but still a joke) 2020-05-14 16:53:40 -07:00
Nathan Shively-Sanders
40f3b85c02 Add 2.9 to unsupported list
With some jokey tests. Ha ha.
2020-05-14 16:38:47 -07:00
Nathan Shively-Sanders
2942b76bf1 Update header-parser too 2020-05-13 16:02:19 -07:00
Nathan Shively-Sanders
32981ebd3a Add 3.9 to shipped versions, remove 2.9 from supported versions 2020-05-13 15:54:06 -07:00
Nathan Shively-Sanders
67ce2b3154 Add isTypeScriptVersion
Which type-asserts that a string is a TypeScriptVersion. I think it was
incorrectly dropped during the header-parser/typescript-versions
refactor.
2020-04-28 13:49:15 -07:00
Nathan Shively-Sanders
5f3bba29cf 1. Remove isPrelease
2. Switch installAll to use shipped + next
3. Clean up some TODOs/comments.

I still need to update the step-by-step instructions at the top of
typescript-versions.
2020-04-28 08:56:48 -07:00
Nathan Shively-Sanders
15a377a46e Add 4.0, remove 2.8, add shipped
1. Add 4.0
2. Remove 2.8
3. Add new `shipped` list for non-RC supported versions.
   `shipped` only differs from `supported` during the RC period, when it
   will have one less version than `supported`.
4. Undeprecate isPrelease, which is a predicate that returns true for
   the RC version before it is available in `shipped`.

* Types-publisher will now publish 2.9--4.0.
* Types-publisher/test/test-runner.ts will invoke dtslint, which will
  need to test only 2.9--3.9.
* header-parser will parse 2.9--4.0 as supported and 2.0--2.8 as
  unsupported.
2020-04-27 13:31:47 -07:00
Nathan Shively-Sanders
cd7b3ec3cf Prettier! 2020-04-23 14:09:09 -07:00
Nathan Shively-Sanders
b2873dc6b6 mkaeTypesVersionsForPackageJson orders versions new-to-old 2020-04-23 14:01:02 -07:00
Andrew Branch
969c2111fe Fix test 2020-04-14 16:07:16 -07:00
Andrew Branch
5f52deeffd Port #33 from definitelytyped-header-parser
Co-authored-by: duduluu <duduluu@users.noreply.github.com>
2020-03-09 13:52:11 -07:00
Andrew Branch
f275de239d Fix build errors 2020-03-05 12:15:49 -08:00
Andrew Branch
06b7371736 Use eslint and prettier 2020-03-05 11:26:50 -08:00