Skip to content

Releases: vercel/arg

5.0.2

05 Jun 18:19
Compare
Choose a tag to compare

Patches

  • Fix(types): export flagSymbol: #63

Credits

Huge thanks to @jakehamilton for helping!

5.0.1

17 Aug 02:13
Compare
Choose a tag to compare

Patches

  • Update all deps, run Prettier.: #58
  • Ci: move to GitHub actions: #57

Credits

Huge thanks to @yuler for helping!

5.0.0

17 Nov 01:38
Compare
Choose a tag to compare

5.0.0 Major Release

tl;dr unless you are checking/validating the types or messages of errors thrown by arg, it is safe to upgrade with no changes to your codebase. In such cases, arg will behave exactly the same as the previous version.


Despite the major release bump, the changes here should affect only the most remote corner cases. Nonetheless, this release was a major bump out of an abundance of caution.

  • All errors are now of type require('arg').ArgError. All arg-related (non-TypeError) errors are an instance of this class, and each has a .code property with a unique arg-related failure. All errors relating to the configuration of arg itself (and thus cannot be fixed by changing user input) begin with ARG_CONFIG_. The circumstances under which the errors are thrown, or the variety of errors, remain unchanged.
  • All errors now start with a lowercase letter instead of an uppercase letter to match common Node.js convention.
  • The CircleCI badge image and link were fixed.
  • All mentions of "ZEIT" were changed to "Vercel" (https://vercel.com/blog/zeit-is-now-vercel)
  • Copyright date and associated name were updated

If any of these changes have broken you in any way, feel free to open an issue on the arg issue tracker.

3.0.0

14 Dec 12:52
Compare
Choose a tag to compare

Major Changes

  • Ensure each arg property starts with hyphen: #13

Minor Changes

  • Add an error code to the unkown option error: #8
  • Add support for TypeScript: #15

Credits

Huge thanks to @macklinu, @matheuss, and @blakeembrey for helping!

2.0.1

14 Nov 12:09
Compare
Choose a tag to compare

Patches

  • Bring down arg publish size: a4dfc59

1.0.1

09 Mar 02:12
@leo leo
Compare
Choose a tag to compare

Patches

  • Move from scoped package to public package: 2b8abb8
  • Added lockfile: 249986f

0.2.0

19 Sep 18:32
Compare
Choose a tag to compare

Minor Changes

  • New spec: #1

Credits

Huge thanks to @Qix- for their help!