Commit graph

631 commits

Author SHA1 Message Date
Joe Haddad
008a558d03
v9.2.3-canary.11 2020-02-24 13:41:19 -05:00
Joe Haddad
91a4732440
v9.2.3-canary.10 2020-02-22 12:15:54 -05:00
Joe Haddad
0890b586f4
v9.2.3-canary.9 2020-02-22 00:17:18 -05:00
Joe Haddad
40217b75b9
Revert "Re-Enable Native url Module (#10530)" (#10623)
This reverts commit b329f6a2d6.
2020-02-21 01:16:07 -05:00
Janicklas Ralph
b329f6a2d6
Re-Enable Native url Module (#10530)
* Adding native-url package

* Bumping native-url version

* Upgrading native-url

* Logging stats object for debugging

* Logging stats object for debugging

* Adding try catch to the error lines

* Experimenting with regex

* Experimenting with regex

* Experimenting with regex

* Testing regex changes

* Fixing defer-script test case to not include polyfill.js

* Meging changes with existing polyfill work

* Bumping version

* adjust webpack config

* Reduce size in size test

* Remove 1kb from legacy

* Bumping native-url version, includes fix for IE11

* Update lock file

* Updating native-url, fixes issue on IE11

* Fix sourcemap being added in document

* Adding Router as an app level dep. Fixes Router not being added as a dep to pages without Link when granularChunks is enabled

* Fix typescript error

* Fix modern + granularChunks hydration failing

* Fix TS error

* Update native-url version

* Adding native-url with safari fix

Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: JJ Kasper <jj@jjsweb.site>
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-02-21 00:25:49 -05:00
JJ Kasper
16b3a54caa
v9.2.3-canary.8 2020-02-20 15:48:47 -06:00
Tim Neutkens
90480b84c9 v9.2.3-canary.7 2020-02-20 20:27:24 +01:00
JJ Kasper
61025b8693
v9.2.3-canary.6 2020-02-19 15:47:06 -06:00
Joe Haddad
0acea5f44a
v9.2.3-canary.5 2020-02-19 13:21:33 -05:00
Joe Haddad
d7167e28e0
Fix AMP Validator Version (#10600) 2020-02-19 13:18:17 -05:00
Joe Haddad
893fb6e982
v9.2.3-canary.4 2020-02-19 11:32:57 -05:00
Joe Haddad
9fdd344c9e
v9.2.3-canary.3 2020-02-19 08:47:16 -05:00
Joe Haddad
c58f45f42d
Add Failing CSS Test Case (#10590)
* Add Failing CSS Test Case

* update tests
2020-02-19 08:46:58 -05:00
Tim Neutkens
082cc68d87 v9.2.3-canary.2 2020-02-19 11:28:29 +01:00
JJ Kasper
9e8f173319
Update to latest watchpack with dynamic route rename fix (#10351)
* Fix dynamic route rename failing for case change

* Update normalizing curPageFiles

* Remove using webpacks file info since its inaccurate

* Revert changes in favor of fixing upstream

* Update to latest watchpack with case rename fix
2020-02-19 11:05:59 +01:00
Tim Neutkens
c706e1af84 v9.2.3-canary.1 2020-02-18 20:04:41 +01:00
Tim Neutkens
0222a09cd0
Enable polyfillsOptimization (#10574)
* Enable polyfillsOptimization

* Update sizes

* Commons is no longer there

* Update test
2020-02-18 19:26:55 +01:00
Tim Neutkens
04c5737e3c v9.2.3-canary.0 2020-02-18 16:33:28 +01:00
Maël Nison
c71fcbe4e8
Adds a missing dependency (#10570) 2020-02-18 13:46:45 +01:00
Tim Neutkens
d8fd6880d2 v9.2.2 2020-02-18 12:12:49 +01:00
Tim Neutkens
2c414b47e3 v9.2.2-canary.23 2020-02-18 11:08:15 +01:00
Joe Haddad
f4c5a95c48
v9.2.2-canary.22 2020-02-17 16:00:55 -05:00
Joe Haddad
31a47b4bff
v9.2.2-canary.21 2020-02-15 13:17:19 -05:00
Sebastian Benz
ae9b13e0be
Migrate to AMP Optimizer 2.0 (#10535)
* Migrate to AMP Optimizer 2.0

Most notable changes:

* Automatically import all missing AMP component scripts.
* Automatically add any missing mandatary AMP tags.
* 40% faster

I've updated the docs to mention component auto import and added a corresponding
test case.

* change validator tests which now pass validation

* Improve wording

Co-Authored-By: JJ Kasper <jj@jjsweb.site>

* Update adding-amp-components.md

Co-authored-by: JJ Kasper <jj@jjsweb.site>
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-02-14 16:01:43 -05:00
JJ Kasper
ecfa7f7d16
v9.2.2-canary.20 2020-02-14 10:06:05 -06:00
Joe Haddad
fbbb184163
v9.2.2-canary.19 2020-02-13 19:52:02 -05:00
Joe Haddad
71019e70d3
Remove native-url Again (#10526)
* Remove `native-url` Again

* update comment

* update sizes
2020-02-13 17:54:25 -05:00
Joe Haddad
2e8d638073
v9.2.2-canary.18 2020-02-13 00:27:01 -05:00
Joe Haddad
3e91d41f08
v9.2.2-canary.17 2020-02-12 21:44:52 -05:00
Joe Haddad
495838b7e9
v9.2.2-canary.16 2020-02-11 20:27:05 -05:00
Joe Haddad
3cb3498324
SSG Preview Mode (#10459)
* checkpoint: api impl

* Add support for tryGetPreviewData

* snapshot: server(less) support

* Add X-Prerender-Bypass-Mode header support

* Pass preview data to getStaticProps call

* add TODO

* setPreviewData

* 100k iterations

* Handle jwt error

* Write out preview values

* forgot file

* set preview props

* Send preview props

* add preview props

* Pass around more data

* update yarn lock

* Fail on Invalid Prerender Manifest

* Make Missing Prerender Manifest Fatal

* fix ts errors

* fix test

* Fix setting cookies + maxage

* Secure is not needed as we encrypt necessary data

* Set on domain root

* Set cookie max ages

* Render a fallback on-demand for non-dynamic pages

* Test preview mode

* remove old build

* remove snapshots

* Add serverless tests

* use afterAll

* Remove object assigns

* fix cookie spread

* add comment
2020-02-11 20:16:42 -05:00
Joe Haddad
d8f26e5a55
v9.2.2-canary.15 2020-02-08 16:52:33 -05:00
JJ Kasper
0183a131a6
v9.2.2-canary.14 2020-02-07 11:12:19 -06:00
Tim Neutkens
c0eab7ee20 v9.2.2-canary.13 2020-02-07 14:10:18 +01:00
Jan Potoms
5e4850ceee
Remove unused dependency @types/babel-types (#10448)
`@types/babel-types` doesn't seem to be in use anymore. `babel-types` is not used anywhere and `@babel/types` has its own typings included.
2020-02-07 11:13:59 +01:00
JJ Kasper
4203d7fd52
v9.2.2-canary.12 2020-02-04 21:44:06 -06:00
Joe Haddad
ecd628b7e0
Re-enable native-url (#10419)
* Re-enable `native-url`

* update sizes
2020-02-04 14:58:22 -05:00
Joe Haddad
4009f99234
v9.2.2-canary.11 2020-02-04 14:23:46 -05:00
JJ Kasper
e3d298dc62
Add support for rewriting to external resources (#10041)
* Add support for rewriting to external resources

* Update rewrite proxying test

Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-02-04 14:08:03 -05:00
JJ Kasper
821b325547
v9.2.2-canary.10 2020-02-03 16:38:10 -06:00
Joe Haddad
bf4a156dd3
v9.2.2-canary.9 2020-02-03 11:42:05 -05:00
Joe Haddad
f542999b30
v9.2.2-canary.8 2020-02-03 07:26:51 -05:00
JJ Kasper
f7880f3463
v9.2.2-canary.7 2020-02-02 21:51:12 -06:00
JJ Kasper
e90af3f0ac
v9.2.2-canary.6 2020-02-02 13:08:38 -06:00
Tim Neutkens
9ba4bee23e v9.2.2-canary.5 2020-02-02 12:49:14 +01:00
Tim Neutkens
9546011ae4 v9.2.2-canary.4 2020-01-30 13:41:40 +01:00
Tim Neutkens
e35005c214
[Experimental] Nomodule polyfills chunk (#10212)
* Polyfill Promise in polyfills chunk

* Override promise polyfill to use built-in

* Update sizes

* Update polyfills

* Test

* Add dep

* Use iife

* Unscope

* Revert "Unscope"

This reverts commit ab26bcefd551c544d5b3c577b7ce91e5ecfb9bb9.

* trigger

* Remove unused code

* Set helpers to true

* Update yarn.lock

* Fix test

* Update polyfills size

* Add comment

* Add back comment

* Put polyfills optimization under experimental flag

* Fix filename

* bring back promise for backwards compat until experimental feature is landed

* fix resolve alias check

* correct loader

* fix logic branches

* adjust !!

* adjust cache key

* Conditionally branch polyfill

* fix promise polyfill branching

* Re-add runtime

* fix base object

* fix yarn lock

* Add cache key

* correctly set caller

* add basic test

* Increment h=>i

* increment to j just in case

Co-authored-by: Joe Haddad <timer150@gmail.com>
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2020-01-30 01:04:29 -05:00
JJ Kasper
29d1b4f326
v9.2.2-canary.3 2020-01-29 12:49:51 -06:00
JJ Kasper
e4a6bab23e
v9.2.2-canary.2 2020-01-28 13:17:57 -06:00
JJ Kasper
6dbc03bcb9
v9.2.2-canary.1 2020-01-27 23:07:50 -06:00