Skip to content

Files

Latest commit

690976c · Jul 7, 2015

History

History
56 lines (34 loc) · 2.19 KB

CHANGELOG.md

File metadata and controls

56 lines (34 loc) · 2.19 KB

Changelog

All notable changes to sinatra-browse will be documented in this file. This project adheres to Semantic Versioning.

[0.6.1] - 2015-07-07

  • Added Support for Ruby 2.2.2. That means the unit tests are now run on that version. It was probably working already anyway.

  • Changed Adapted the changelog format to follow the same style as our other projects.

  • Fixed A bug where parameters that were not required and had no default value would be set to nil if they were missing from a request.

  • Removed Support for Ruby 1.9.3 as Ruby officialy dropped support for it in February this year. It might still work but Sinatra-browse will no longer be unit tested against it.

[0.6] - 2015-06-24

  • Added New parameter type: DateTime.

  • Added New validators min and max to all numeric parameters. (Float, Integer and DateTime)

  • Added Optional syntax parameter that has the exact same use as param.

  • Added New keyword description or desc that allows you to fill in a human readable description of each parameter.

  • Fixed A bug where files some times got required in the wrong order.

  • Fixed A bug where all parameter validators where accessible from every parameter type.

  • Refactored Internal parameter type declaration is now more simple ruby code. (No DSL)

[0.5] - 2014-07-28

  • Changed Cleaned up the browsable API part.

    • html is now defined in an erb template and used a proper doctype, etc.
    • Changed the look of the html template a bit even though it's still not using stylesheets.
    • Cleaned up the yaml and json generation.
    • Allow yaml to be generated using both 'yml' and 'yaml' as the format parameter.
  • Refactored A lot of internal code cleanup.

[0.4] - 2014-05-29

  • Added Implemented two new String validations.
    • min_length
    • max_length

[0.3] - 2014-05-08

  • Added The possibility to override default error behaviour.

  • Changed Improved the error hash to contain more information about the error that occurred.

  • Changed Renamed system_parameters option to allowed_undefined_parameters.

  • Changed Don't show HEAD routes in the browsable API by default.

[v0.2] - 2014-04-10

First usable version.