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 for sampleUrl to get the same behavior.
    • πŸ›  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)