Skip to content
Permalink
Branch: master
Commits on Jan 28, 2020
  1. Publish Canary

    styfle committed Jan 28, 2020
     - now@17.0.0-canary.25
     - @now/routing-utils@1.5.2-canary.4
  2. [now-routing-utils] Enabled case sensitive rewrites and set delimiter (

    styfle committed Jan 28, 2020
    …#3688)
    
    This enables case sensitive rewrites and redirects. It also changes the delimiter to `/` to match Next.js.
    
    Unlike `routes` which were case insensitive, `rewrites` and `redirects` are case sensitive.
    
    In the future, we may wish to add an option to toggle the sensitivity.
  3. [now-cli] Remove several v1 tests from CI (#3689)

    styfle committed Jan 28, 2020
    These 5 tests are available in `integration-v1.js` already which can be executed manually.
  4. [tests] Add timeout to test jobs (#3683)

    styfle committed Jan 28, 2020
    Circle CI used to have a max timeout of 10 minutes.
    
    This adds a timeout to each job so that hanging tests are noticed earlier.
    
    For example, these have been "in progress" for 4 hours: 
    
    ![image](https://user-images.githubusercontent.com/229881/73222438-3a90ea00-4131-11ea-97a7-76651a2cce45.png)
Commits on Jan 27, 2020
  1. Publish Canary

    styfle committed Jan 27, 2020
     - now@17.0.0-canary.20
     - now-client@7.0.0-canary.2
     - @now/routing-utils@1.5.2-canary.3
     - @now/ruby@1.0.2-canary.0
  2. [now-routing-utils] Merge destination query string with path segments (

    styfle committed Jan 27, 2020
    …#3679)
    
    This PR changes the behavior so that `:segment` in the `source` is always added to the query string unless the `destination` query string already contains a key with the same name.
  3. [now-cli][now-client] Drop support for Node 8 (#3670)

    styfle authored and kodiakhq committed Jan 27, 2020
    Deployments no longer support Node 8 since reaching EOL so we can also drop all of the special casing used to support Node 8 in Now CLI and Now Client.
    
    The `tsconfig.json` has been updated to ES2018 per [Node-Target-Mapping](https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping).
Commits on Jan 24, 2020
  1. Publish Canary

    styfle committed Jan 24, 2020
     - @now/build-utils@1.3.7-canary.1
     - now@17.0.0-canary.19
  2. [now-build-utils] Add function detectApiExtensions() (#3653)

    styfle and kodiakhq committed Jan 24, 2020
    * [now-routing-utils] Add function detectApiExtensions
    
    * Add more tests, fix broken test
    
    * Add missing check for extensions
    
    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Commits on Jan 23, 2020
  1. Publish Canary

    styfle committed Jan 23, 2020
     - @now/build-utils@1.3.7-canary.0
  2. [now-build-utils] Fix api directory detection (#3647)

    styfle authored and kodiakhq committed Jan 23, 2020
    There was an issue where `@now/next` was emitting an api directory with serverless functions but the functions should not be renamed.
  3. Publish Canary

    styfle committed Jan 23, 2020
     - @now/next@2.3.11-canary.3
     - @now/routing-utils@1.5.2-canary.2
  4. [github] Update codeowners (#3642)

    styfle authored and kodiakhq committed Jan 23, 2020
    Added a few more code owners
Commits on Jan 22, 2020
  1. [now-routing-utils] Fix segments in query string (#3640)

    styfle authored and kodiakhq committed Jan 22, 2020
    This PR a regression when path segments are used in the query string.
    
    Take a look at the following ASCII Table for why I had to delete certain parts of the parsed url before formatting again.
    
    https://nodejs.org/api/url.html#url_url_strings_and_url_objects
    
    Related to #3539
  2. [examples] Fix jekyll readme build command (#3639)

    styfle authored and kodiakhq committed Jan 22, 2020
    Fixes #3634
  3. [now-routing-utils] Disallow "status" in hit phase (#3637)

    styfle authored and kodiakhq committed Jan 22, 2020
    This will prevent any strange behavior since production already ignores status code in the hit phase.
  4. Publish Canary

    styfle committed Jan 22, 2020
     - now@17.0.0-canary.15
  5. [now dev] Add support for `handle: miss` and `handle: hit` (#3537)

    styfle authored and kodiakhq committed Jan 22, 2020
    - [x] Add tests from now-proxy for `handle: miss`
    - [x] Add tests from now-proxy for `handle: hit`
    - [x] Add file output renaming when `featHandleMiss` is true (also assign true for now dev)
Commits on Jan 17, 2020
  1. Publish Canary

    styfle committed Jan 17, 2020
     - @now/next@2.3.11-canary.0
     - @now/node@1.3.6-canary.0
  2. [api] Fix build script (#3615)

    styfle committed Jan 17, 2020
    I was getting errors when running `yarn build` locally because the public directory already exists.
    
    This will make sure the public directory is deleted before generating it again.
  3. Bump node-file-trace to 0.5.1 (#3613)

    styfle and kodiakhq committed Jan 17, 2020
    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Commits on Jan 14, 2020
  1. Publish Stable

    styfle committed Jan 14, 2020
     - @now/build-utils@1.3.5
     - @now/next@2.3.9
     - @now/node@1.3.5
     - @now/static-build@0.14.5
  2. Publish Canary

    styfle committed Jan 14, 2020
     - @now/build-utils@1.3.5-canary.3
     - now@17.0.0-canary.8
     - @now/next@2.3.9-canary.0
     - @now/node@1.3.5-canary.0
     - @now/static-build@0.14.5-canary.2
  3. [now-build-utils] Use latest node if no package.json found (#3587)

    styfle authored and kodiakhq committed Jan 14, 2020
    In a previous release, we pinned the node version to the project so that we could upgrade new projects to a newer version of Node.js while maintaining backwards compatibility with existing projects.
    
    This puts some burden on the user when they're deployment is a year old and their pinned version of Node reaches EOL. Because we currently force the user to add a package.json.
    
    This PR changes the behavior so projects are no longer pinned. Instead, newer deployments get the latest Node unless they opt-in and pin via package.json.
Commits on Jan 10, 2020
  1. Publish Canary

    styfle committed Jan 10, 2020
     - @now/frameworks@0.0.6-canary.0
     - @now/build-utils@1.3.5-canary.1
     - now@16.7.4-canary.0
  2. [now-build-utils] Add function `detectApiDirectory()` (#3567)

    styfle authored and kodiakhq committed Jan 10, 2020
    - Add new exported function `detectApiDirectory()`
    - Add tests for both `detectApiDirectory()` and `detectOutputDirectory()`
Commits on Jan 9, 2020
  1. Publish Canary

    styfle committed Jan 9, 2020
     - @now/build-utils@1.3.5-canary.0
     - @now/routing-utils@1.5.2-canary.0
  2. [now-routing-utils] Add extension to routes (#3534)

    styfle and kodiakhq committed Jan 9, 2020
    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  3. [now-routing-utils] Fix error handling on path-to-regexp error (#3523)

    styfle authored and kodiakhq committed Jan 9, 2020
    This PR fixes an issue where certain patterns caused `path-to-regexp` to throw when it should be returning an error object. The fix is to make sure all inputs work properly with `path-to-regexp` before continuing.
Commits on Jan 8, 2020
  1. [tests] Update tests for now-php custom runtime (#3524)

    styfle authored and kodiakhq committed Jan 8, 2020
    Our tests were failing so the latest `now-php` runtime should work properly.
  2. Publish Canary

    styfle committed Jan 8, 2020
     - @now/build-utils@1.3.4-canary.0
  3. [now-build-utils] Add getDiscontinuedNodeVersions() function (#3522)

    styfle authored and kodiakhq committed Jan 8, 2020
    Add an exported function `getDiscontinuedNodeVersions()` so we can gracefully handle discontinued versions of Node in other parts of the system.
Commits on Jan 7, 2020
  1. Publish Canary

    styfle committed Jan 7, 2020
     - @now/build-utils@1.3.3-canary.0
     - now@16.7.2-canary.5
     - @now/next@2.3.8-canary.0
     - @now/node@1.3.4-canary.0
     - @now/static-build@0.14.4-canary.0
  2. [now-build-utils] Add property hideStackTrace (#3516)

    styfle authored and kodiakhq committed Jan 7, 2020
    This adds a few properties to NowBuildError so that we can display in the web interface.
Commits on Jan 6, 2020
  1. Publish Stable

    styfle committed Jan 6, 2020
     - @now/build-utils@1.3.2
     - @now/next@2.3.7
     - @now/node@1.3.3
     - @now/static-build@0.14.3
Older
You can’t perform that action at this time.