All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
0.11.0 (2024-08-04)
Note: Version bump only for package shell
0.10.1 (2024-07-27)
Note: Version bump only for package shell
0.10.0 (2024-07-27)
- support node 20 and 22 (b462be6)
0.9.5 (2024-01-17)
- shell: router handler error (3d627de)
0.9.4 (2022-03-15)
- absolute paths in files field (7dcd0d4)
0.9.3 (2022-03-15)
- plublish dist folder (908f27c)
0.9.2 (2022-02-24)
- add let/const to variables (dd175ff)
- commit lint config and comment coffee lint (719e3c2)
- shell: throw error unless commands an object (96ef828)
0.9.1 (2022-02-17)
- router: handle undefined with config promise (e4f04a4)
0.9.0 (2022-02-16)
- router: promise config (78369f3)
0.8.6 (2022-01-06)
- shell: multi level default option (cdaaa9b)
0.8.5 (2021-12-02)
- shell: prevent main collision with command (2a72240)
0.8.4 (2020-12-09)
Note: Version bump only for package shell
0.8.3 (2020-12-07)
Note: Version bump only for package shell
0.8.2 (2020-12-07)
- router: pass context stdin (17b5f4a)
0.8.1 (2020-11-24)
0.8.1-alpha.5 (2020-11-23)
- setup Husky (2a56ee2)
0.8.1-alpha.4 (2020-11-23)
0.8.1-alpha.3 (2020-11-23)
Note: Version bump only for package parameters
0.8.1-alpha.2 (2020-11-23)
Note: Version bump only for package parameters
- rename commands into actions
- describe the anatomy of a command
- monorepos
- help: print main before options
- help: new columns and one_column options
- help: new indent option, default to 2 spaces
- enum: renamed from one_of
- options: required as a function
- main: required as a function
- utils: isolate all utils
- router: rename route property to handler
- main: default to empty array
- router: promise example
- router: split writer to stdout and stderr
- types: validate integer option is not NaN
- router: route no longer accept process
- router: remove end property
- docs: typos
- package: update author url
- options: enforce literal object
Backward incompatibilities
- help: remove help command inject in non leaf commands
- parse: dont accept string command, only [string] and process
- commands: only accept objects, no arrays
- options: only accept objects, no arrays
- compile: rename stringify method to compile
New functionality
- options: new disabled property
- help: new plugin
- help: sort options
- router: accept a context object
- router: rename root property help to router
- router: new router_call hook
- hook: return value from handler
- hook: configure_app_set hook
- hook: configure_commands_set hook
- hook: new plugin/hook system
- config: dsl api plugin
- project: plugin architecture
Fix and improvements
- configure: persist name collision store
New functionality
- router: redirect error to help route
- router: handle help options and commands
Fix and improvements
- configure: immutable input
- project: normalise error messages
- options: fix collision detection for sibling commands
- shortcut: no need to test in strict mode
Breaking compatibility
- run: 1st arg as info with params and extended
- help: only accept a command, no params
- route: rename run method and configuration to route
- helping: only accept params, no more argv
New functionality
- extended: parse and stringify without merging
- main: string declaration shortcut
- parse: main as an array
- stringify: main from an array
Fix and improvements
- configure: isolate into its own method
- options: prevent collisions in flatten mode
- help: new extended option
- helping: complete re-implementation
- stringify: check 2nd argument
- help: new sample
- help: remove info per command
- parse: new extended option
- parse: improve arguments validation
- command: only declared at application level
Management
- license: switch to MIT license
- package: use mixme
- package: use file instead of npm ignore
- package: latest package dependencies
- one_of: handle optional params
- lib: move load & merge to utils
- readme: add author company
- package: relative paths
- help: accept array as first argument
- src: fix error thrown as string instead of object
- help: overwrittable by user
- help: handle shortcut
- shortcut: improve err message
- config: root property for internal use
- run: route help options and command
- src: convert to literate coffee
- helping: new function
- help: new revisited format supporting nested commands
- commands: unlimited nested dimensions
- doc: improve run description
- run: user arguments as last arguments, new extended option
- help: default app name and description
- config: options and commands as objects literals
- load: custom user module loader
- commands: default to help fixed on presence of options
- run: error handling for humans
- package: release commands
- package: update Node.js version inside Travis
- parse: better error handling
- options: new default option
- test: should required by mocha
- help: fix shortcut in commands
- options: run get context, argv and config
- options: run options accepts a function or a module
- readme: API documentation
- package: upgrade to CoffeeScript 2