Skip to content

Releases: rack/rack-test

v1.1.0

22 Jul 10:45
Compare
Choose a tag to compare

1.1.0 / 2018-07-21

  • Breaking changes:

    • None
  • Minor enhancements / new functionality:

    • [GitHub] Added configuration for Stale (Per Lundberg #232)
    • follow_direct: Include rack.session.options (Mark Edmondson #233)
    • [CI] Add simplecov (fatkodima #227)

Bug fixes:

  • Follow relative locations correctly. (Samuel Williams #230)

v1.0.0

28 Mar 07:26
Compare
Choose a tag to compare

1.0.0 / 2018-03-27

  • The first release in the 1.0.0 series. 🎉 For the 1.x releases, we will follow Semantic Versioning very strictly; please keep this in mind when submitting fixes/suggesting changes.

  • Breaking changes:

    • Always set CONTENT_TYPE for non-GET requests
      (Per Lundberg #223)
  • Minor enhancements / bug fixes:

    • Create tempfile using the basename without extension
      (Edouard Chin #201)
    • Save session during follow_redirect!
      (Alexander Popov #218)
    • Document how to use URL params with DELETE method
      (Timur Platonov #220)

v0.8.3

13 Mar 11:11
Compare
Choose a tag to compare

0.8.3 / 2018-02-27

  • Bug fixes:

    • Do not set Content-Type if params are explicitly set to nil
      (Bartek Bułat #212). Fixes #200.
    • Fix UploadedFile#new regression
      (Per Lundberg #215)
  • Minor enhancements

    • [CI] Test against Ruby 2.5 (Nicolas Leger #217)

v0.8.2

21 Nov 13:27
Compare
Choose a tag to compare

0.8.2 / 2017-11-21

  • Bug fixes:
    • Bugfix for UploadedFile.new unintended API breakage.
      (Per Lundberg #210)

v0.8.0

21 Nov 13:27
Compare
Choose a tag to compare

Copied from History.md, maintained by @junaruga.

0.8.0 / 2017-11-20

  • Known Issue
    • In UploadedFile.new, when passing e.g. a Pathname object,
      errors can be raised (eg. ArgumentError: Missing original_filename for IO, or NoMethodError: undefined method 'size') See #207, #209.
  • Minor enhancements
    • Add a required_ruby_version of >= 2.2.2, similar to rack 2.0.1.
      (Samuel Giddins #194)
    • Remove new line from basic auth. (Felix Kleinschmidt #185)
    • Rubocop fixes (Per Lundberg #196)
    • Add how to install rack-test from github to README. (Jun Aruga #189)
    • Update CodeClimate badges (Toshimaru #195)
    • Add the ability to create Test::UploadedFile instances without
      the file system (Adam Milligan #149)
    • Add custom_request, remove duplication (Johannes Barre #184)
    • README.md: Added note about how to post JSON (Per Lundberg #198)
    • README.md: Added version badge (Per Lundberg #199)
  • Bug fixes
    • Bugfix for Cookies with multiple paths (Kyle Welsby #197)

v0.7.0

11 Jul 06:24
Compare
Choose a tag to compare

The first release in a few years. Huge thanks to everyone involved! Full list of commits for those interested.

The rest of these release notes are copied from History.md, thanks to @junaruga for maintaining it.

0.7.0 / 2017-07-10

  • Major enhancements
  • Minor enhancements
    • Port to RSpec 3. (Murahashi [Matt] Kenichi #70, Antonio Terceiro #134)
    • Add Travis CI (Johannes Barre #108, Jun Aruga #161)
    • Don't append an ampersand when params are empty (sbilharz, #157)
    • Allow symbol access to cookies (Anorlondo448 #156)
    • README: Added Travis badge (Olivier Lacan, Per Lundberg #146)
    • Rack::Test::Utils#build_multipart: Allow passing a third parameter
      to force multipart (Koen Punt #142)
    • Allow better testing of cookies (Stephen Best #133)
    • make build_multipart work without mixing in Rack::Test::Utils
      (Aaron Patterson #131)
    • Add license to gemspec (Jordi Massaguer Pla #72, Anatol Pomozov #89,
      Anatol Pomozov #90, Johannes Barre #109, Mandaryn #115,
      Chris Marshall #120, Robert Reiz #126, Nic Benders #127, Nic Benders #130)
    • Feature/bulk pr for readme updates (Patrick Mulder #65,
      Troels Knak-Nielsen #74, Jeff Casimir #76)
    • Switch README format to Markdown (Dennis Sivia #176)
    • Convert History.txt to Markdown (Dennis Sivia #179)
    • Stop generating gemspec file. (Jun Aruga #181)
    • Fix errors at rake docs and whitespace. (Jun Aruga #183)
    • Ensure Rack::Test::UploadedFile closes its tempfile file descriptor
      on GC (Michael de Silva #180)
    • Change codeclimate URL correctly. (Jun Aruga #186)
  • Bug fixes
    • Initialize digest_username before using it. (Guo Xiang Tan #116,
      John Drago #124, Mike Perham #154)
    • Do not set Content-Type for DELETE requests (David Celis #132)
    • Adds support for empty arrays in params. (Cedric Röck, Tim Masliuchenko
      #125)
    • Update README code example quotes to be consistent. (Dmitry Gritsay #112)
    • Update README not to recommend installing gem with sudo. (T.J. Schuck #87)
    • Set scheme when using ENV to enable SSL (Neil Ang #155)
    • Reuse request method and parameters on HTTP 307 redirect. (Martin Mauch
      #138)