JJ Kasper
65de050017
Update to not show API not ended warning when response is piped to ( #10342 )
...
* Update to not show API not ended warning when response is piped to
* Update to use res.once
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-02-02 21:48:00 -06:00
Matthew Sweeney
569e7acab8
Improve Stalled Requests Grammar ( #10283 )
2020-01-27 08:05:31 -05:00
JJ Kasper
f143ca63be
Update SSG types and clean up RenderOpts type ( #10259 )
...
* Update SSG types and clean up RenderOpts type
* Move SSG types back to internal module
2020-01-24 23:25:11 -05:00
JJ Kasper
14ca20d0d5
Add warning when API resolves without the request being finished ( #9999 )
...
* Add error when API resolves without the request being finished
* Update to only show warning in development instead
* Update packages/next/next-server/server/api-utils.ts
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-10 10:56:20 -05:00
Joe Haddad
00179adcaa
Fix User Error in Async API Endpoint ( #9911 )
2020-01-02 18:47:39 -05:00
Joe Haddad
6b50b1322b
Allow Boolean API Response ( #9842 )
2019-12-26 15:38:12 -06:00
Joe Haddad
ec440d4b7b
Allow Empty API Body ( #9838 )
2019-12-26 14:23:06 -05:00
JJ Kasper
da1ef5062f
Refactor next-server some for easier page checking ( #9671 )
...
* De-dupe pagesManifest
* Update handleApiRequest a bit
* Simplify handleApiRequest a bit
* Update packages/next/next-server/server/next-server.ts
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2019-12-10 10:08:42 -05:00
JJ Kasper
09cab2df5e
Fix typo in serverless loader ( #9431 )
...
* Fix typo in serverless loader
* Add test for top level error in API route
* Fix type error
2019-11-15 18:00:24 -08:00
bennett4
99755b6742
fixed spelling of cookies ( #9283 )
2019-11-01 20:45:16 -04:00
Jan Potoms
ab0a8647dc
API: Take multiple values into account for the query ( #9196 )
...
* Take multiple values into account
* make typescript happy
2019-10-26 20:10:06 +02:00
Tim Neutkens
2ba352da39
Move next-server back into next
package ( #8613 )
...
* Initial move
* Make emitting work
* Update paths
* Remove leftover files
* Add correct externals configuration
* Import correct path
* Update path to work with ts-server test
* Update lib directory
* Compile next-server/lib
2019-09-04 10:00:54 -04:00