Skip to content

Take the last value of a repeated flag, and list the closest suggestions first

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Nov 09:39
Immutable release. Only release title and notes can be modified.

14.1.3 (2026-11-27)

Bug Fixes

  • A string or number flag that is passed more than once takes the last value, as most CLIs do. serve --port=1 --port=2 now gives 2. Before, the command got the array [1, 2] in a property typed as number, and the parse method of the flag got the array too. Array flags still collect every value, and aliases keep their coercion (#179)
  • The "Did you mean?" list shows the closest commands and namespaces first. For node ace serv, it now suggests serve, seed, send, sort. Before, it sorted the worst matches first, and could cut off the best match (#180)

Full changelog: v14.1.2...v14.1.3