Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: restify/node-restify
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5bb5e68d368e2cc286134657a2aa3606711515b0
Choose a base ref
...
head repository: restify/node-restify
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: caba351d45d164bd3e7c8fca33935ebe9e5dd3fa
Choose a head ref

Commits on Jul 10, 2020

  1. chore: drop support for node 8

    BREAKING CHANGE: drops suppoprt to node 8 and updates linting rules
    ghermeto committed Jul 10, 2020
    Copy the full SHA
    bd34988 View commit details
  2. feat: async/await support

    BREAKING CHANGE: adds async/await support to pre, use and handler chains
    ghermeto committed Jul 10, 2020
    Copy the full SHA
    12be9e2 View commit details

Commits on Jul 11, 2020

  1. Prefer Pino logger over Bunyan (#1841)

    BREAKING CHANGE: removes `RequestCaptureStream` and replaces `Bunyan` with `Pino`
    ghermeto authored Jul 11, 2020
    Copy the full SHA
    2f5bf87 View commit details
  2. chore: upgrade send from 0.16.2 to 0.17.1 (#1846)

    Snyk has created this PR to upgrade send from 0.16.2 to 0.17.1.
    
    See this package in NPM: https://www.npmjs.com/package/send
    snyk-bot authored Jul 11, 2020
    Copy the full SHA
    71ac3a0 View commit details

Commits on Jul 14, 2020

  1. feat: remove re-routing from handler (#1847)

    BREAKING CHANGE: deprecates and removes re-routing when passing a string parameter to `next()`
    ghermeto authored Jul 14, 2020
    Copy the full SHA
    9153587 View commit details

Commits on Sep 15, 2020

  1. Copy the full SHA
    19b8662 View commit details

Commits on Jul 8, 2021

  1. Copy the full SHA
    3002182 View commit details

Commits on Sep 29, 2021

  1. fix: use more reliable close event

    The close event from the request object is not guaranteed to fire on the
    same order across major versions of Node.js, the more accurate way to
    look if the connection was closed is to listen to the event on the
    socket. Fixes tests on v16.
    
    Ref: nodejs/node#38924
    mmarchini committed Sep 29, 2021
    Copy the full SHA
    36318ae View commit details
  2. chore: fix flaky test

    mmarchini committed Sep 29, 2021
    Copy the full SHA
    6aac376 View commit details
  3. chore: Actions CI for 16

    mmarchini committed Sep 29, 2021
    Copy the full SHA
    71c7f49 View commit details

Commits on Nov 23, 2021

  1. docs: fix handleUncaughtExceptions docs typos (#1885)

    There are a few lines in docs for `handleUncaughtExceptions` option,
    both in markdown docs and in jsdoc, which seem irrelevant and
    disconnected. This appears to be a mistake that has been copied to
    several places.
    josephharrington authored Nov 23, 2021
    Copy the full SHA
    4d404d4 View commit details

Commits on Feb 9, 2022

  1. Copy the full SHA
    5c7eb95 View commit details

Commits on Mar 23, 2022

  1. Copy the full SHA
    ddc1042 View commit details

Commits on Mar 24, 2022

  1. Copy the full SHA
    05f12a6 View commit details

Commits on Apr 28, 2022

  1. Copy the full SHA
    97b6f93 View commit details
  2. Copy the full SHA
    0a8cf83 View commit details

Commits on Apr 29, 2022

  1. Copy the full SHA
    195cf13 View commit details

Commits on May 6, 2022

  1. Copy the full SHA
    cc483e0 View commit details
  2. chore: bump version of http-signature to ^1.3.6 (#1889)

    Co-authored-by: nickbarrett <nick.barrett@engineering.digital.dwp.gov.uk>
    nbarrett and nickbarrett authored May 6, 2022
    Copy the full SHA
    839fb4a View commit details

Commits on Nov 15, 2022

  1. feat: deprecate req.closed

    Node.js added `closed` getter-only property to streams. This commit
    deprecates req.closed to avoid monkey-patching something that might be
    used in Node.js core or user-land libraries.
    `req.connectionState() === 'close'` can be used to achieve the same
    result moving forward. req.closed will be removed on Restify 10 to open
    way to support Node.js v18.
    mmarchini committed Nov 15, 2022
    Copy the full SHA
    d052b7c View commit details
  2. Copy the full SHA
    c15111f View commit details
  3. Copy the full SHA
    bf2e42a View commit details
  4. Copy the full SHA
    caba351 View commit details
7 changes: 5 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -9,7 +9,10 @@ var config = {
env: {
browser: false,
node: true,
es6: false
es6: true
},
parserOptions: {
ecmaVersion: 2018
},
rules: {}
};
@@ -124,7 +127,7 @@ if (!process.env.NO_LINT) {
// stylistic.
if (!process.env.NO_STYLE) {
// Global
config.rules['max-len'] = [ERROR, { code: 80 }];
config.rules['max-len'] = [ERROR, { code: 80, ignoreComments: true }];

// Prettier
config.extends.push('prettier');
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -12,10 +12,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install node v10
- name: install node v16
uses: actions/setup-node@v1
with:
node-version: v10.x
node-version: v16.x
- name: install dependencies
run: npm install
- name: check lint
@@ -28,9 +28,8 @@ jobs:
os:
- ubuntu-latest
node-version:
- 10.x
- 12.x
- 14.x
- 16.x
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

Loading