Commit graph

5850 commits

Author SHA1 Message Date
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
Tim Neutkens
7cca2b0d93
Add test for API route with fetch polyfill (#12680) 2020-05-11 08:55:28 -04:00
dpyzo0o
29b110009a
fix logout in with-iron-session example (#12704) 2020-05-11 08:54:50 -04:00
Sébastien Vanvelthem
653098d397
Use @/ to show module alias instead of @ prefixed (#12600)
* docs: controversial '@' prefix aliases should not be used

* Update docs/advanced-features/module-path-aliases.md

Co-authored-by: Joe Haddad <timer150@gmail.com>

* Update docs/advanced-features/module-path-aliases.md

Co-authored-by: Joe Haddad <timer150@gmail.com>

Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-05-11 13:52:59 +02:00
Luis Alvarez D
0b36211a1f
[Docs] Environment Variables (#12696) 2020-05-11 02:18:34 -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
Tim Neutkens
e3aeb2f768
Update code sample in performance measurement docs (#12690) 2020-05-10 21:39:18 -04:00
Luis Alvarez D
f0220e6a9d
[Examples] Update firebase authentication (#12687) 2020-05-10 21:32:20 -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
Maxi Gimenez
ce830af202
chore(create-next-app): add missing types (#12691) 2020-05-10 17:51:47 -04:00
Tim Neutkens
fcbffa3683
Update documentation that refers to isomorphic fetch libs (#12686) 2020-05-10 14:16:03 -04:00
Joe Haddad
db5ac0ae76
[Fast Refresh] Add additional test case (#12674) 2020-05-10 13:08:47 -04:00
Maxi Gimenez
cf0b1d9472
chore(create-next-app): add missing return types on helpers (#12616)
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-05-10 12:55:46 +02:00
Tim Neutkens
61599b8598 v9.3.7-canary.18 2020-05-10 12:06:09 +02:00
Joe Haddad
3a41ddb56e
Fix check utility in tests (#12678) 2020-05-10 11:36:07 +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
1a8ad5a723
[Fast Refresh] Do not draw eye to collapsed frames (#12673) 2020-05-09 18:37:24 -04:00
Joe Haddad
1c555f6759
[Fast Refresh] Resize Arrows and Preserve Newlines (#12672) 2020-05-09 18:37:13 -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
56633ed6be
[Fast Refresh] Overlay hash must consider stack (#12639) 2020-05-08 12:09:45 -04:00
Luis Alvarez D
5d70b2a06f
[Examples] Update data-fetch example (#12617) 2020-05-08 11:53:47 -04: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
Joe Haddad
9b35ca8adc
[Fast Refresh] Adjust Overlay Styling (#12623) 2020-05-08 00:58:58 -04:00
Joe Haddad
2fa3edccc9
Clarify dismissal message (#12624) 2020-05-08 00:29:41 -04:00
Joe Haddad
d5d3c60489
Fix error toast pluralization (#12622) 2020-05-08 00:29:25 -04:00
liwenzhi
4a8b896122
[Examples]: With react bootstrap (#12421)
* add new example with-react-bootstrap

* use vanilla react-bootstrap components to implement index page

* clear unnecessary comments

* remove private property in package.json

* Updates

Co-authored-by: Luis Alvarez <luis@vercel.com>
2020-05-07 17:13:59 -05:00
Ty Mick
a7b0e8a786
Fix DatePicker Day.js bug in Ant Design example (#12580)
* Fix DatePicker Day.js bug in Ant Design example

* Lint fix

Co-authored-by: Luis Alvarez <luis@vercel.com>
2020-05-07 16:29:42 -05:00
JJ Kasper
d37891a921
Update to latest version of stacktrace-parser (#12597) 2020-05-07 08:26:15 -05:00
Pablo Saez
dac715e8f7
Add flag to disable API warning (#11380)
* Add flag to disable API warning

This flag is useful when you are using an external API resolver like express when defining an API route, since the native functionality doesn't realize that the API actually sent a response.

A very simple use case example https://github.com/PabloSzx/next-external-api-resolver-example

fixes #10589

* Update api-middlewares.md

Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-05-07 14:05:41 +02:00
Juan Silupu Maza
63bfbfff54
Add cross-env package (#12581)
* add notes

* add cross-env package, for stability in different SO

* fix: move cross-env package from Dependencies at devDependicies
2020-05-07 11:16:36 +02:00
Joe Haddad
9c1c551eeb
v9.3.7-canary.14 2020-05-07 01:36:27 -04:00
Janicklas Ralph
5ad512b138
Experimental: New ESLint Plugin (#11986) 2020-05-07 01:36:01 -04:00
Joe Haddad
a795e48be1
v9.3.7-canary.13 2020-05-07 00:51:18 -04:00
JJ Kasper
d77bd94486
Fix moduleId not resolving correctly on Windows (#12584) 2020-05-06 22:17:03 -04:00
JJ Kasper
13c9439973
Update to run tests in headless mode on Azure (#12574) 2020-05-06 19:21:31 -04:00
Max Schmitt
71a5b5803e
example: added Ant Design Pro Layout less (#12408) 2020-05-06 18:00:48 -05:00