Commit graph

2093 commits

Author SHA1 Message Date
Joe Haddad
01211ba21d
v9.4.1-canary.8 2020-05-16 17:15:27 -04:00
Tim Neutkens
57dcdd90b5
Bypass OPTIONS handling for API routes (#12978) 2020-05-16 17:15:12 -04:00
Joe Haddad
fc927a2a7f
v9.4.1-canary.7 2020-05-15 17:17:10 -04:00
JJ Kasper
9df9d4aea5
Fix build stalling with styled-jsx plugins (#12952) 2020-05-15 17:15:15 -04:00
Joe Haddad
202ea6fbd9
Support eliminating memoized functions (#12953) 2020-05-15 17:14:46 -04:00
Joe Haddad
7edc815a38
Elimination has to run before other plugins (#12949) 2020-05-15 16:51:29 -04:00
JJ Kasper
1872219959
v9.4.1-canary.6 2020-05-15 14:04:04 -05:00
Tim Neutkens
313b552026
Enable .env support by default (#12911)
* Enable .env support by default

Given we've had tons of reports from various people that expected .env support to work even though they had dotenv installed already I think it's fine to enable it as a default:

Fixes #12728

* Remove old test

* Fix duplicate env loading

* Update docs

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2020-05-15 14:02:16 -05:00
Joe Haddad
0d49f22e11
Remove react-error-overlay (#12942) 2020-05-15 14:14:44 -04:00
Joe Haddad
9c79955047
Strip out dead code for ignoreDevErrors (#12941) 2020-05-15 13:30:01 -04:00
JJ Kasper
7f28e8bf9b
Correct multi-match param behavior (#12930) 2020-05-15 12:45:29 -04:00
Joe Haddad
99766ca9e2
v9.4.1-canary.5 2020-05-15 08:50:03 -04:00
Joe Haddad
3bd2711c19
[Fast Refresh] Improve responsiveness on Windows (#12909) 2020-05-15 08:30:23 -04:00
Joe Haddad
06f8975e74
sync and built are identical commands (#12908) 2020-05-15 11:16:36 +02:00
Joe Haddad
fddf00c56f
v9.4.1-canary.4 2020-05-14 12:16:04 -04:00
Joe Haddad
85b60af231
Remove isInitialRender usage for overlay (#12872) 2020-05-14 10:36:55 -04:00
Giuseppe
eed3923c4d
Update styled-jsx to 3.3.0 (#12870)
Introduces a new plugin option to configure the module that the transpiled files should import. 
Should unblock https://github.com/zeit/next.js/issues/10149 and support for yarn v2 once #10149 is complete.

https://github.com/zeit/styled-jsx/releases/tag/v3.3.0
2020-05-14 15:55:46 +02:00
Joe Haddad
b48eb89d08
v9.4.1-canary.3 2020-05-13 17:25:01 -04:00
Joe Haddad
b931cbecbf
Simplify CSS Errors (#12852) 2020-05-13 17:18:45 -04:00
Joe Haddad
f1423518b9
Better Babel syntax errors (#12821) 2020-05-13 11:43:41 -04:00
Tim Neutkens
efa763e924 v9.4.1-canary.2 2020-05-13 13:34:53 +02:00
Tim Neutkens
64c7571e01
Fix edge case in fetch polyfill (#12832)
* Add tests for getStaticPaths

* Fix edge case in fetch polyfill

Fixes #12794

* Correct typo in tests
2020-05-13 13:10:47 +02:00
Joe Haddad
a3a61b4546
Bump Babel cache key (#12822) 2020-05-13 11:18:23 +02:00
Shun Kakinoki
fc08fa0c0e
docs: redirect error to the correct url (#12813) 2020-05-13 00:18:38 -04:00
Joe Haddad
bfed6d8dd1
v9.4.1-canary.1 2020-05-12 19:39:52 -04:00
Tim Neutkens
93c81494c6
Make fetch polyfill work with ky-universal (#12804) 2020-05-12 15:58:21 -04:00
Joe Haddad
87e096eb5b
v9.4.1-canary.0 2020-05-11 19:40:55 -04:00
Joe Haddad
d15a4d5cf1
[Fast Refresh] Cleaner Console Output (#12745) 2020-05-11 16:32:49 -04:00
JJ Kasper
6972a09f43
Add message when automatic dotenv loading is disabled (#12744) 2020-05-11 16:32:33 -04:00
Joe Haddad
6d1167eed6
v9.4.0 2020-05-11 10:47:34 -04:00
Joe Haddad
f9e24ab54c
v9.3.7-canary.21 2020-05-11 10:24:14 -04:00
Sarup Banskota
4acad75677
Link Made by Vercel to vercel.com (#12702) 2020-05-11 02:14:54 -04:00
Joe Haddad
0900d57359
v9.3.7-canary.20 2020-05-11 02:03:32 -04:00
Tim Neutkens
467b2c7ebc
Enable sassOptions support in next.config.js (#12685) 2020-05-10 22:11:48 -04:00
Joe Haddad
565e111cb0
v9.3.7-canary.19 2020-05-10 20:49:17 -04:00
Joe Haddad
8b51e003f5
Upgrade deps (#12700) 2020-05-10 20:48:57 -04:00
Joe Haddad
ae1daea355
Enable Fast Refresh by Default (#12640) 2020-05-10 19:25:57 -04:00
Maxi Gimenez
0bc0760356
chore(next): link/router/document missing types (#12692) 2020-05-10 17:52:30 -04:00
Tim Neutkens
61599b8598 v9.3.7-canary.18 2020-05-10 12:06:09 +02:00
Sebastian Silbermann
4c23bac3bb
fix: use latest experimental method names (#12669) 2020-05-10 11:29:26 +02:00
Joe Haddad
80f1194421
v9.3.7-canary.17 2020-05-09 18:43:31 -04:00
Joe Haddad
f54e05f776
[Fast Refresh] Reorder Loaders (#12671) 2020-05-09 18:37:04 -04:00
JJ Kasper
92edfb953d
Cont. Update performance relayer and remove unstable prefix (#12665)
* updates relayer, uses web-vital lib, removes fid polyfill and removes unstable prefix from relayer

* simplify logic, fix null check

* update docs

* Update tests

* Rename relayWebVitals to reportWebVitals

Co-authored-by: housseindjirdeh <houssein@google.com>
2020-05-09 21:48:52 +02:00
JJ Kasper
ff486914e2
Disable experimental pageEnv stub by default (#12644) 2020-05-09 17:27:35 +02:00
Shu Uesugi
cc139b8d89
More renaming ZEIT → Vercel (#12649) 2020-05-09 17:21:53 +02:00
Simon Knott
be02fe183f
Allow @babel/preset-typescript to be configured (#11840)
* Allow `@babel/preset-typescript` to be configured

Some usages, e.g. [getting parameter decorators to work properly](https://github.com/WarnerHooh/babel-plugin-parameter-decorator/pull/19), require configuring `@babel/preset-typescript`.

This commit adds that functionality to `next/babel`.

* Add unit test for babel/preset allowing to pass options to @babel/preset-typescript

* Add integration test for onlyRemoveTypeImports

* Update babel dependencies

* Update to compatible typescript version and fix types

* Fix linting and run pre-nccing

* Update size-limit test

* Add additional tests

* Re-Apply delta to be calculated using -262

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2020-05-09 17:12:02 +02:00
Joe Haddad
7a02581159
v9.3.7-canary.16 2020-05-08 10:29:37 -04:00
Joe Haddad
6627f57b59
[Fast Refresh] Upgrade react-refresh for SC (#12627) 2020-05-08 10:28:51 -04:00
Justin
547bf460f0
Context types for getStaticProps and getServerSideProps (#12606) 2020-05-08 10:27:46 -04:00
Joe Haddad
8d024554a7
v9.3.7-canary.15 2020-05-08 01:00:00 -04:00