apiDoc v0.50.0 Release Notes
-
π₯ BREAKINGΒ CHANGES
- --silent renamed to --quiet or -q for short
- π² --color renamed to --no-color to disable color in log output
- π --parse was deleted because it is the same as --simulate
- --simulate renamed to --dry-run / -n
- 0οΈβ£ Default output is not json, use "--log-format json" to get json
- --config / -c must be a path to a file, not a directory
π FIXED
π Fix sampleUrl config option behavior:
- if it is absent or
false
, no sample block will be generated - if it is
true
, the current page location will be used - if it is an url, that will be used
π Note that the option useHostUrlAsSampleUrl has no longer any effect and can be safely removed. Use a value of
true
forsampleUrl
to get the same behavior.
- if it is absent or
π Fix non working sortFields function (fix #968)
π Fix syntax highlighting for markdown parsed text
π Fix color in logs was not showing since upgrade to winston 3
π Fix newlines being removed in pre tags (fix #809 by @JayBerlin)
π Fix header/footer in aloneDisplay mode (fix #905 via #1027 by @esaracco)
π Fix duplicated content in aloneDisplay mode (fix #938 via #1025 by @esaracco)
π Fix apiSampleRequest not working (fix #984 via #1023 by @esaracco)
π Fix error with parenthesis in apiGroup (fix #994 via #1022 by @esaracco)
π Fix absent diff on different api route (fix #963 via #1030 by @esaracco)
β ADDED
- β Add request method to compare template (#986 by @klickagent)
- β Add some shorthand options, see apidoc -h
- β Add --log-format option for json output (default is not json)
- β Add ascii art in verbose mode
- β Add --warn-error to treat warnings as error (fix #703)
β¨ ENHANCEMENTS
- HUGE CLEANUP OF THE CODEBASE
- π Merge apidoc-core back into the apidoc repository. The apidoc-core repository is now read-only.
- β Add .eslintrc.js and enforce coding style everywhere
- β‘οΈ Update many dependencies to their latest version
- π± Make sidenav wider and template more responsive (fix #851)
- Big CSS code overhaul and change
- 0οΈβ£ Ignore node_modules by default (fix #936)
- β Add ASCII art in verbose mode
- π Allow setting input and output in apidoc.json (fix #630)
- Take standard parameters of URL query string into account (#1014 by @esaracco)
- π Allow colon character in apiDefine (fix #877 via #1021 by @esaracco)