Skip to content

Releases: eugef/node-mocks-http

Release 1.4.3

03 Jun 04:18
Compare
Choose a tag to compare

Fix

  • Emitting send and end events at json call, @tima, via ae6c785

Update

  • eslint@0.22.1, @JohnnyEstilles, via ee23ed2
  • gulp-eslint@0.12.0, @JohnnyEstilles, via 3b5cf1b
  • gulp-istanbul@0.9.0, @JohnnyEstilles, via b21b21b
  • lib lint rules, @JohnnyEstilles, via 727bfd4
  • test lint rules, @JohnnyEstilles, via b7dad23

Remove

  • eslint-plugin-mocha@0.2.2, @JohnnyEstilles, via 5a76aae

Release 1.4.2

30 Apr 03:03
Compare
Choose a tag to compare

Added

  • Docs - api methods and options, @JohnnyEstilles

Fixed

  • mockResponse - expose _headers (emulating OutgoingMessage()), PR #60, @jaslo

Release 1.4.1

14 Apr 12:28
Compare
Choose a tag to compare

Fixed

  • mockRequest - fixed headers via options should be case insensitive, PR #57, @antonmos
  • Docs - fixed test suite running instructions, PR #57, @antonmos

Release 1.4.0

11 Apr 16:06
Compare
Choose a tag to compare

Added

  • Build Tools - mocha@2.2.4, @JohnnyEstilles
  • Build Tools - chai@2.2.0, @JohnnyEstilles
  • Build Tools - sinon@1.14.1, @JohnnyEstilles
  • Build Tools - sinon-chai@2.7.0, @JohnnyEstilles
  • Build Tools - istanbul@0.3.13, @JohnnyEstilles
  • Build Tools - gulp@3.8.11, @JohnnyEstilles
  • Build Tools - gulp-eslint@0.8.0, @JohnnyEstilles
  • Build Tools - gulp-mocha@2.0.1, @JohnnyEstilles
  • Unit Tests - tests for http-mock, @JohnnyEstilles
  • Unit Tests - tests for mockEventEmitter, @JohnnyEstilles
  • Unit Tests - tests for mockWritableStream, @JohnnyEstilles

Updated

  • Unit Tests - existing tests for mockRequest to use mocha, @JohnnyEstilles
  • Unit Tests - existing tests for mockResponse to use mocha, @JohnnyEstilles
  • Build Tools - travis-ci configuration to use gulp tasks, @JohnnyEstilles
  • Build Tools - travis-ci configuration to send coverage to code climate, @JohnnyEstilles

Removed

  • Unit Tests - legacy tests for mockRequest, @JohnnyEstilles
  • Unit Tests - legacy tests for mockResponse, @JohnnyEstilles
  • Build Tools - legacy task runner, @JohnnyEstilles
  • Build Tools - nodeunit@0.9.1 dependency, @JohnnyEstilles
  • Build Tools - node-testify-errors dependency, @JohnnyEstilles

Release 1.3.0

04 Apr 22:25
Compare
Choose a tag to compare

Added

  • Docs - Gitter badge to README.md, @JohnnyEstilles
  • Docs - Coding Style/Convention Rules (CODING_RULES.md), via PR #51, @JohnnyEstilles
  • mockResponse - .sendStatus(), via PR #48, @JohnnyEstilles
  • Docs - code of conduct (CODE_OF_CONDUCT.md), @JohnnyEstilles
  • mockRequest - .originalUrl, via PR #43, @JohnnyEstilles
  • mockResponse - .type(), via PR #42, @JohnnyEstilles
  • Build Tools - Travis-CI, via PR #41, @JohnnyEstilles

Updated

  • Build Tools - updated ESLint to 0.17.1, @JohnnyEstilles
  • Build Tools - replaced JSHint with ESLint, via PR #46, @JohnnyEstilles
  • Docs - updated CONTRIBUTING.md, @JohnnyEstilles

Release 1.2.7

24 Mar 07:15
Compare
Choose a tag to compare

Added

  • mockRequest - ability to set .signedCookies via options, @JohnnyEstilles
  • mockRequest - ability to set signed cookies via ._setSignedCookiesVariable(), @JohnnyEstilles
  • mockRequest - unit tests to validate fix, @JohnnyEstilles

Fixed

  • mockRequest - .session should default to undefined, @JohnnyEstilles
  • mockRequest - ensure .session is an object before setting variable with ._setSessionVariable(), @JohnnyEstilles

Release 1.2.6

19 Mar 11:58
Compare
Choose a tag to compare

Fixed

  • mockRequest - .header() doesn't handle the Referrer header field edge-case, via PR #50, @JohnnyEstilles

Release 1.2.5

08 Mar 23:55
Compare
Choose a tag to compare

Added

Fixed

  • mockResponse - .set() works like Express when passed an object, via PR #33, @gmaclennan
  • mockResponse - set .statusCode default to 200, via PR #38, @JohnnyEstilles

Release 1.2.0

09 Mar 00:04
Compare
Choose a tag to compare

Added