Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Latest commit

 

History

History
516 lines (398 loc) · 25.2 KB

CHANGELOG.md

File metadata and controls

516 lines (398 loc) · 25.2 KB

Changelog

v0.5.19.2 (2020-01-07)

Full Changelog

Added

  • configuration setting to hide all paths by default (frankhock)

v0.5.19 (2020-01-20)

Full Changelog

Fixed

  • schema generation for param descriptions using the array validator in option (frankhock)

v0.5.19 (2021-07-25)

Full Changelog

  • Add rel-eng notebook (Oleh Fedorenko)
  • Correct the word parâmentros for brazilian portuguese #687 (Diego Noronha)
  • Fix depreciated file.exists. #721 (Diane Delallée)
  • Fix typo in changelog #703 (Pavel Rodionov)
  • Add rails 6.1 support in doc generation #702 (andrew-newell)

v0.5.18 (2020-05-20)

Full Changelog

  • Optional rdoc dependency with lazyload #683 (vkrizan)

v0.5.17 (2020-01-20)

Full Changelog

v0.5.16 (2019-05-22)

Full Changelog

  • Load file directly instead of using Rails constant #665 (speckins)

v0.5.15 (2019-01-03)

Full Changelog

  • Fix authorization of resources #655 (NielsKSchjoedt)
  • Use configured value when swagger_content_type_input argument is not passed #648 (nullnull)
  • Fix "ArgumentError: string contains null byte" on malformed stings #477 (avokhmin)

v0.5.14

  • HTML escape validator values #645 (ekohl)
  • Support for adding new params via update\_api #642 (iNecas)
  • Allow the "null" JSON string to be used as a parameter in Apipie spec examples (show\_in\_doc) #641 (enrique-guillen)
  • Fix examples recording for specific cases #640 (Marri)
  • Add description section to response #639 (X1ting)

v0.5.13

  • Fix swagger generation if a controller's parent doesn't define a resource_description #637 (enrique-guillen)

v0.5.12

v0.5.11

v0.5.10

v0.5.9

v0.5.8

  • Swagger json includes apipie's description as swagger's description #615 (gogotanaka)
  • Fix api! issue by using underscore when appending controller to the default controller string #613 (kevinmarx)
  • Possibility to compress examples #600 (Haniyya)
  • Possibility to describe responses #588 (elasti-ron)

v0.5.7

  • Fix example recording with Rails 5 #607 (adamruzicka)
  • Use SHA1 instead of MD5 to enable using APIPIE at FIPS-enables systems #605 (iNecas)
  • Replaced String#constantize with String#safe_constantize so apipie won't break on a missing constant #575 (Haniyya)
  • Added Swagger generation #569 (elasti-ron)

v0.5.6

v0.5.5

v0.5.4

  • Constantize controller class before calling superclass #558 (ydkn)

v0.5.3

  • Fix reloading when extending the apidoc from concern #557 (iNecas)
  • Fix example recording when using send_file #504 (tdeo)

v0.5.2

  • A way to extend an exiting API via concern #554 (iNecas)
  • Fallback to apipie views when application override isn't present #552 (tstrachota)
  • Updated setting default locale for api documentation #543 (DmitryKK)

v0.5.1

  • Use AD::Reloader on Rails 4, app.reloader only on Rails 5+ #541 (domcleal)
  • Recognize Rack Symbols as Status Codes #468(alex-tan)

v0.5.0

  • Fix Rails 5.1 deprecations #530 (@Onumis @sedx)
    • This release is no longer compatible with Ruby 1.9.x
  • Do not mutate strings passed as config options, fixes #461 #537 (samphilipd)
  • Added recursion for documentation, fixed bug in examples with paperclip #531 (blddmnd)
  • Added locales/ja.yml for Japanese #529 (kikuchi0808)

v0.4.0

v0.3.7

  • Handle blank data when parsing a example's response #453 (stbenjam)
  • Allow layouts to be overridable. Fixes a regression introduced in #425. #447 (nilseriksson)

v0.3.6

v0.3.5

v0.3.4

v0.3.3

v0.3.2

v0.3.1

  • Support for api! keyword in concerns #322 @iNecas
  • More explicit ordering of the static dispatcher middleware #315 @iNecas

v0.3.0

This should be a backward compatible release. However, the number of new significant features deserves new minor version bump.

  • Rubocop-blessed Ruby 1.9 syntax for generated DSL documentation #318 @burnettk
  • load API paths from routes.rb #187 @mtparet @iNecas
  • ability to use before_filter instead of overriding the action method for validation #306 @dprice-fiksu
  • support multi-part data when recording from tests #310 @bradrf
  • validate_keys option to raise exception when passing undocumented option #122 @dfharmon
  • handle static page generation when the doc_base_url has multiple folders #300 @ryanische
  • add ability to markup validator description #282 @exAspArk
  • don't specify protocol in Disqus script tag src #285 @chrise86
  • fix BooleanValidator to set expected_type as boolean #286 @dustin-rh

v0.2.6

  • better handling on cases where resource/method is not found when cache is turned off #284 @iNecas
  • fix disqus integration #281 @RajRoR

v0.2.5

  • Name substitution for referenced param_group defined in a concern #280 @tstrachota
  • expected_type 'array' for ArrayValidator #276 [@dustint-rh][]

THE FURTHER SUPPORT FOR RUBY 1.8.7 WILL NOT BE ENSURED IN THE MASTER AND THE >= 0.3.0 RELAEASES. We discourage anyone to keep using ruby 1.8.7 for anything. If you're aware of the issues and still willing to take the risk, we are willing to keep the v0.2.x releases based on the v0.2.x branch. However, we will not actively develop or backport any new features to this branch neither will we accept there features that are not in the master branch.

v0.2.4

v0.2.3

v0.2.2

  • prevent rspec 3 from being used. It is not compatible. #255 @lsylvester
  • fixed extractor root route (handle nil path) #257 @ctria
  • reduced rails dependency to development only #266 @klobuczek
  • add more options to apipie:cache to generate only parts of the static pages #262 @mbacovsky

v0.2.1

v0.2.0

This is not full backward compatible release, as the format of storing examples changed from YAML to JSON: the default location is at doc/apipie_examples.json. The migration should be as easy as running:

rake apipie:convert_examples

Also please not Rails 3.0 support was deprecated and the compatibility wont be tracked anymore in next releases.

v0.1.3

  • nested attributes showing in the documentation #230 @iNecas

v0.1.2

  • reloading works correctly with to_prepare blocks in the app #228 @iNecas
  • documentation bootstrapping now respects api_controllers_matcher #227 @clamoris

v0.1.1

v0.1.0

v0.0.24

  • fix DOS vulnerability for running in production without use_cache
  • ability to load descriptions from external files
  • improved examples extractor
  • fixed deprecation warnings in Rails 4
  • using StandardError instead of Exception for errors

v0.0.23

  • fix exceptions on unknown validator
  • fix concerns substitution in parameters
  • possibility to authenticate the API doc
  • support for array in api_controllers_matcher

v0.0.22

  • fix "named_resources" option
  • fix generating static files when concerns used

v0.0.21

  • fix RDoc 4.0 compatibility issue
  • validate_value and validate_presence options for better validation granularity

v0.0.20

  • namespaced resources - prevent collisions when one resource defined in more modules
  • Apipie::DSL::Concern for being able to use the DSL in module that is included into controllers

v0.0.19

  • fix examples recording when resource_id is set
  • use safe_yaml for loading examples file when available

v0.0.18

  • param_group and def_param_group keywords
  • :action_aware options for reusing param groups for create/update actions

v0.0.17

  • support for multiple see links at action and ability to provide description of see links

v0.0.16

  • Fix getting started being rendered even when documentation was available

v0.0.15

  • Fix case when there is no documentation yet: with link to how to start
  • Fix handling bad requests when cache is on
  • Fix params extractor in case there is already some documentation