Joe Haddad
93d6a670fe
Resolve externals using webpack's context ( #8669 )
2019-09-08 13:53:33 -04:00
Joe Haddad
b10f797889
Re-enable anonymous telemetry ( #8667 )
2019-09-07 14:11:17 -04:00
Joe Haddad
3052a8ff92
Remove Telemetry Registration ( #8664 )
2019-09-07 10:51:09 -04:00
Joe Haddad
3000d71955
Add intl and Apollo to packages of interest ( #8665 )
2019-09-07 15:00:08 +02:00
Maël Nison
d3c1731c09
Adds the PnP plugin by default ( #8653 )
...
* Adds the PnP plugin by default
* Covers loaders
* Fixes linting
2019-09-06 09:49:38 -04:00
Joe Haddad
73b6c1e633
[docs] useRouter
cannot be used with classes ( #8649 )
...
The `useRouter` function is a hook and cannot be used with Classes.
A few React beginners have brought this up, so we document the alternatives to hooks.
2019-09-05 23:05:59 -04:00
Alex Matseshe
e78324a742
Fix typo in README.md #8640 ( #8642 )
2019-09-05 14:43:37 -05:00
Tim Neutkens
5a9b0ba2ce
v9.0.6-canary.1
2019-09-05 16:11:08 +02:00
Joe Haddad
6e77c071c7
Update Next.js Telemetry Event Shapes ( #8628 )
...
* Update Next.js Telemetry Event Shapes
* Force value as-is
2019-09-04 20:31:35 -04:00
JJ Kasper
61b8b7323e
Update workers for next export
( #8623 )
...
* Add failing test
* Add jest-worker to export
2019-09-04 19:56:11 -04: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
Tim Neutkens
d501b941f0
v9.0.6-canary.0
2019-09-04 10:54:38 +02:00
Joe Haddad
b587281162
Disable Telemetry ( #8614 )
...
We need to disable telemetry until we figure out how we want to store the data.
2019-09-03 11:34:34 -04:00
JJ Kasper
fbf784d76f
Add data-ampdevmode attribute for AMP scripts ( #8524 )
...
* Add data-ampdevmode attribute
* Apply suggestions from code review
Co-Authored-By: Joe Haddad <joe.haddad@zeit.co>
2019-09-03 11:11:22 -04:00
Joe Haddad
ffc205ba8c
Use URL-friendly chunk names ( #8609 )
...
* Use URL-friendly chunk names
* Fix example linting
2019-09-03 10:55:48 -04:00
Ali eslamifard
dd9448c574
Update README and data-fetch example to use function components. ( #8546 )
...
* This example show how to use STOMP inside a Next.js application.
* Fix useEffect
* Add _app.js implementation
* Fix lint error
* Fix lint error
* Update examples/with-stomp/README.md
Co-Authored-By: Luis Fernando Alvarez D. <luis@zeit.co>
* withStomp removed
* The url address changed
* _app.js removed. useClient added.
* remove
* revert
* remove
* Update README.md according to Hooks concept.
* Update example
* Update README.md
* Components should use functional syntax
* Update packages/next/README.md
Co-Authored-By: Tim Neutkens <tim@timneutkens.nl>
* Update packages/next/README.md
Co-Authored-By: Tim Neutkens <tim@timneutkens.nl>
* Update packages/next/README.md
Co-Authored-By: Tim Neutkens <tim@timneutkens.nl>
* Update packages/next/README.md
Co-Authored-By: Tim Neutkens <tim@timneutkens.nl>
* Update README.md
2019-09-02 12:47:30 +02:00
Natalie Marleny
efa368d427
Update README.md badge text ( #8593 )
2019-09-01 20:30:18 +02:00
Giuseppe
ad0cca9549
Update styled-jsx ( #8583 )
...
* Update styled-jsx
Fixes an escaping issue in template literals that @lfades found
* Update next-server's styled-jsx also
2019-08-31 10:08:43 -05:00
Houssein Djirdeh
689b1319b6
Update performance marking ( #8527 )
...
* creates perf marks object constant
* updates clearmarks to only clear core marks
* adds test + fixes object constqnt reference
* hardcodes perf marks and removes constant
* adds test to check custom marks are not cleared
2019-08-30 22:40:05 -04:00
JJ Kasper
7310e6bca6
Remove extra default export from readme ( #8579 )
2019-08-30 12:28:04 -05:00
Lukáš Huvar
5cc3b8a531
Fix docs ( #8577 )
2019-08-30 18:51:48 +02:00
Joe Haddad
67e7753c85
Fix serverless chunking ( #8569 )
...
* Fix Serverless Chunking
* Remove old test & environment variable
* Update serverless trace test case
2019-08-30 07:26:30 -04:00
Jacky Shikerya
4adf710788
Encode URL paths in HTML and CSR ( #8435 )
...
* added filename encoder for testing
* fixes in page-loader
* fix possibly undefined
* conflict resolution
* Update packages/next/pages/_document.tsx
Co-Authored-By: Joe Haddad <timer150@gmail.com>
* move encoding into individual tags as Joe suggested
2019-08-29 12:56:24 -04:00
Joe Haddad
1f4e34ca00
Anonymous Telemetry ( #8529 )
...
* Add anonymous telemetry
* Fix types
* Remove semver package
* Rename build time variable
* Track CSS-in-JS solutions
* Single retry and 5s timeout
2019-08-29 12:43:06 -04:00
Mark
7bd4f4f3bf
Remove link ( #8539 )
2019-08-27 23:05:47 -04:00
Jason Miller
1b6e455807
Add modern-preset
Babel option ( #8521 )
...
* Add `modern-preset` Babel option
* fix test failure
* prefix configuration option with "experimental-"
* fix issues noted by @janicklas-ralph
2019-08-27 17:20:07 -04:00
Sebastian Silbermann
bb0ccd9a4d
Specify loader paths for PnP support ( #8531 )
...
* fix(next): Loader not found using yarn v2
* Use Object.fromKeys pattern instead
2019-08-27 16:37:47 -04:00
JJ Kasper
f81b6d56e0
Replace worker-farm with jest-worker ( #8496 )
...
* Replace worker-farm with jest-worker
* Apply suggestions from code review
Co-Authored-By: Joe Haddad <joe.haddad@zeit.co>
* Remove semaphores on top of jest-worker, unwind
terser worker, and remove extra error log
2019-08-24 14:55:42 -04:00
Joe Haddad
2c7b4d8aaa
v9.0.5
2019-08-24 12:45:04 -04:00
Joe Haddad
0f92a8770a
v9.0.5-canary.3
2019-08-24 11:34:12 -04:00
Houssein Djirdeh
010059915d
Add version property to Next.js instance ( #8499 )
...
* adds global for next version
* updates to use env variable and keeps it local
* Test Next.js version presence
* Unfocus test
2019-08-24 00:49:24 -04:00
JJ Kasper
30cd8c2840
v9.0.5-canary.2
2019-08-23 16:19:30 -05:00
JJ Kasper
674ba17211
Update prerender-manifest structure ( #8497 )
2019-08-23 16:17:40 -05:00
Luis Fernando Alvarez D
64e8c61dcf
Update ./static/
folder documentation ( #8477 )
...
* Improve the static folder note
* Update README.md
2019-08-23 11:10:30 -04:00
Alex Castle
3970a26b92
Tweaks and test for library chunks fixes ( #8482 )
...
* Adjust lib chunk naming algorithm and prevent duplicate react-dom
* Remove alias for react-dom and update separator replacement logic
* Add comment to webpack-config
* Add integration test for react-dom duplication
* Switch to using hash for lib chunk names
* remove extra file from PR
* Remove another extraneous change
* Remove test based on lib chunk name
* Update index.test.js
2019-08-23 10:28:48 -04:00
Joe Haddad
f890482871
Check for TypeScript files for auto setup ( #8479 )
...
* Check for TypeScript files for auto setup
This re-adds the behavior and only checks the `pages` directory for speed reasons.
* Adjust logic
* Handle not found too
2019-08-22 22:01:12 -04:00
迷渡
4a864ca951
fix duplicate spaces in readme ( #8484 )
2019-08-22 20:47:43 -05:00
JJ Kasper
56a134409c
Debug TypeScript test suite ( #8476 )
...
* Tweak typescript test suite
* Revert "Tweak typescript test suite"
This reverts commit 9e0108da7c70e7ae45b412b60c07162383de65f3.
* Make sure HMR connection isn't being closed
while testing
* Update to not re-use NODE_ENV
* Break up/rework TypeScript test suite
* bump
2019-08-22 16:34:24 -04:00
JJ Kasper
bf11421992
Add deprecation warning for App Container ( #8475 )
...
* Add deprecation warning for App Container
* Apply suggestions from code review
Co-Authored-By: Joe Haddad <joe.haddad@zeit.co>
* Tweak for more dead-code elimination
2019-08-22 16:19:15 -04:00
Joe Haddad
d85dfecd5e
v9.0.5-canary.1
2019-08-22 11:53:08 -04:00
Sojin Park
7c0ac82264
Fix bug in hook destructuring optimization when ignoring array elements ( #8455 )
...
* Fix bug in hook destructuring optimization when ignoring array elements
* Add test cases
2019-08-22 11:21:34 -04:00
Alex Castle
3896cbe712
Adjust lib chunk naming algorithm and prevent duplicate react-dom ( #8450 )
...
* Adjust lib chunk naming algorithm and prevent duplicate react-dom
* Remove alias for react-dom and update separator replacement logic
* Add comment to webpack-config
2019-08-22 10:46:11 -04:00
Ran Yitzhaki
c3b18fdeaa
Fix a broken link in webpack config ( #8456 )
...
* Fix a broken link in webpack config
* Update test
2019-08-21 11:58:31 -04:00
Julien Bouquillon
1007777471
doc: typo fix ( #8460 )
...
* doc: typo fix
* fix glitch
2019-08-21 14:38:14 +02:00
Joe Haddad
f41f630d19
v9.0.5-canary.0
2019-08-20 17:25:46 -04:00
JJ Kasper
9c8aaf9d4b
Fix build-manifest not removing _app files for modern ( #8447 )
2019-08-20 15:32:03 -04:00
Jason Miller
8bd2e433de
Initial optimizeLibraries experimental flag ( #8345 )
...
* Add experimental optimizeLibraries flag, currently prunes Moment.js locales
* expose moment for use in assertion
* try with the same setup as the production integration test
* Apply optimiztaions in dev and on server so they're consistent.
* fix build (oh dear)
* Update index.test.js
* Rename flag to future.excludeDefaultMomentLocales
* Adjust impl
2019-08-20 15:19:45 -04:00
Lukáš Huvar
f0b6d0a1e2
Fix custom page extension in development ( #8446 )
...
* Fix page extension in development
* Remove un-used file
* Fix standard
2019-08-20 13:38:30 -04:00
Joe Haddad
5ad0ea8e5b
Remove __NEXT_REPLACE__BUILD_ID__
workaround ( #8445 )
...
We no longer need this because we don't run terser on serverless bundles.
---
Closes https://github.com/zeit/next.js/issues/8436
2019-08-20 12:38:14 -04:00
Joe Haddad
847e892d71
Remove Flying Shuttle experiment ( #8433 )
...
* Remove Flying Shuttle experiment
* Remove more old tests
* Remove minify loader
2019-08-20 11:07:57 -04:00