Skip to content

Latest commit

 

History

History
322 lines (170 loc) · 7.47 KB

CHANGELOG.md

File metadata and controls

322 lines (170 loc) · 7.47 KB

apiDoc Changelog

0.8.0

  • Parameter

    • Add as replacement for all (now) deprecated define and structure methods:

      • @apiDefine
      • @apiUse
    • Deprecated:

      • @apiDefineErrorStructure
      • @apiDefineHeaderStructure
      • @apiDefinePermission
      • @apiDefineStructure
      • @apiDefineSuccessStructure
      • apiErrorTitle
      • apiErrorStructure
      • apiHeaderStructure
      • apiHeaderTitle
      • apiParamTitle
      • apiStructure
      • apiSuccessTitle
      • apiSuccessStructure
    • Remove unneeded methods since success and error response can be grouped:

      • @apiInfo
      • @apiInfoExample
      • @apiInfoTitle
    • Add for consistent usage:

      • @apiHeaderExample
      • @apiParamExample
    • Change:

      • @apiPermission, multiple permission usage in a block is allowed now. Permission names must be defined with @apiDefine.
    • Extend:

      • @apiParam with size and allowed values.
  • CLI

    • Show deprecated message. Show details with --debug or --verbose.
    • Improved error output.
    • Turn off verbose output by default.
    • Add debug output.
  • Parser

    • Ignore other doc-language @-parameters (enables jsdoc, phpdoc, ... again).
    • Add apidoc specification version to project file.
    • Correctly handle Erlang comments.
    • Bugfix: Markdown error on Empty description.
    • Revised worker preProcess / postProcess functions.
    • Change parser export names.
  • Template

    • Show size and allowed values in field description.
    • Change template sample request to handle custom named groups.
    • Update template vendor files (handlebars 2, requirejs)
    • Added support for using path-to-regexp in sample request.
    • Add jQueryAjaxSetup to apidoc.json for setup ajax requests (http://apidocjs.com/#configuration-template-settings).
    • Hide the ul for tabs if no content.

0.7.2

Bugfix: Custom parsers not working. (#113)

0.7.1

Add type for @apiExample {type} Title, @apiSuccessExample, @apiErrorExample.

Add type switch in template.

Append filetype to fields at ajax reuqest testform.

Bugfix: Same file handling with regexp under win32. (#109)

0.7.0

Add rudimentary support for direct api calls (test requests) from within the doc.

Added ability to have forward slash (/) in parameter field names.

Add parameter --parse for parse only the files and return the parsed data.

Allow perl comments between "=pod" and "=cut".

0.6.5

Bugfix: Change RegExp for parameter values to handle all chars. (#97)

0.6.4

Bugfix: Reserved parameter names. (#96)

0.6.3

Bugfix: Multiple added url to api path after compared to other version. (#87)

0.6.2

Bugfix: Docs do not generate without optional @api [title]. (#82)

Bugfix: Escape example output in apiExample, apiErrorExample, apiSuccessExample. (#78)

0.6.1

Changing font include to work on HTTPS.

Some refactors and bugfixes.

0.6.0

Enable markdown for all description fields.

Add apidoc.json configuration file for primary configuration over package.json. (http://apidocjs.com/#configuration)

Add template specific configuration settings. (http://apidocjs.com/#configuration-template-settings)

Add support for Perl (Doxygen) comment-style.

Add simple CSS3 preloader.

0.5.2

Add css for printing.

Bugfix: Template IE8 compatibility. (#69)

0.5.1

Update node version to 0.10.x.

Add optional custom browser title with apidoc.title in package.json.

Add optional url endpoint with apidoc.url in package.json.

Bugfix: Template scrollbug. (#64)

0.5.0

Add new Functions:

Remove package.json path apidocFilename.

Change package.json path apidoc.

Add apidoc.header / apidoc.footer (with custom navigation titles). (http://apidocjs.com/#headerfooter)

Remove template basic (easier to maintain), the default template will be re-designed in a future version too.

Update template libraries.

Add test cases.

0.4.4

Preserve other files when copying template files to the destination output dir.

0.4.3

Added a short-circuit check. (#41)

0.4.2

Bugfix: Fix parsing of multiline string. (#34)

0.4.1

Add support for CoffeeScript comment-style.

0.4.0

Add support for other comment-style. Now apiDoc supports:

  • Erlang
  • JavaScript (JavaDoc-Style: e.g. also useable in C#, Go, Dart, Java, PHP, TypeScript)
  • Python
  • Ruby

Add some programming language test cases.

Remove german code comments.

Upgrade all used node modules.

0.3.0

Replace deprecated node-markdown with marked.

Add cli parameter for marked --marked-..., watch all params with--help.

Upgrade all used node modules.

0.2.8

Bugfix: executable line delimiters. (again).

0.2.7

Bugfix: Allow usage of structures and titles in the same block. (#21)

0.2.6

Give some indication, in case file listing with fails. (#20)

0.2.5

Allow multiple structure includes.

Split and extend test-files.

0.2.4

Bugfix: Fix parsing for empty lines and removing stars on data that spans over multiple lines. (#11)

Remove http:// link to make https compliant. (#10)

0.2.3

Extend Template with url-param "compare=1" to show the compare version on page view.

Bugfix: Minor fix with double structure examples.

0.2.2

Bugfix: Template not show @apiSuccessExample @apiErrorExample.

0.2.1

Bugfix: executable line delimiters.

0.2.0

Extend @apiParam, @apiSuccess, @apiError with a grouping ability. Example @apiParam (group) varname.

view @apiParam

Add new Functions:

Minor Template-Bugfixes.

0.1.11

Allow whitespace in apiName and apiGroup.

Bugfix: Filter for directories.

Update Node Modules to newer versions.

0.1.10

Add -e exclude option for Files / Directories, example apidoc -e node_modules/.

0.1.10

Bugfix: Check for a valid title in Template. (#7)

0.1.9

Bugfix: Whitespace before comment block. (#2)

0.1.8

Change templates, enable navigation scroll.

0.1.7

Add @apiIgnore.

Update grunt Modules.

0.1.6

Bugfix: OSX executable.

0.1.5

Official release.