Commit graph

631 commits

Author SHA1 Message Date
JJ Kasper
e3ded1aecc
v9.2.2-canary.0 2020-01-27 16:53:15 -06:00
James Mosier
c9dc17b852 Added support for BigInt to API routes (#10215)
* Added support for bigint to API routes

Closes #7980

* added BigInt test to get result

Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-27 08:19:49 -05:00
JJ Kasper
8579888cec De-dupe escape-regex with escape-string-regexp (#10257)
* De-dupe escape-regex with escape-string-regex

* Un de-dupe for client-side file
2020-01-24 18:27:39 -05:00
Joe Haddad
45d5535b36
v9.2.1 2020-01-23 17:09:26 -05:00
Joe Haddad
f495ec44f1
v9.2.1-canary.11 2020-01-23 16:39:43 -05:00
Prateek Bhatnagar
0edd6a031a Adding conformance webpack plugin (#9716)
* adding Conformance Plugin behind a flag

* fixing compiler ts error

* fixing spelling errors 🤦🏻‍♂️

* addressing comments

* bug fix

* making it const enum

* reverting const enum

Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-23 16:09:12 -05:00
JJ Kasper
37628d5887
v9.2.1-canary.10 2020-01-23 08:30:52 -06:00
Joe Haddad
9b8ea96abc
v9.2.1-canary.9 2020-01-22 15:28:06 -05:00
Alexander Dreith
8449ebc221 [Experimental] Add built-in Sass support (#10133)
* Add built-in Sass support

* Add copy of CSS tests for SCSS

* Fix failing tests

* Fix url-loader tests

* Remove css file generated by tests

* Fix nprogress import for css file

* Fix SCSS modules (still 2 tests that need investigating)

* Update documentation for Sass support

* Fix plain CSS import test

* Fix formatting with prettier fix

* Update test output to reflect scss usage

* Revert "Fix plain CSS import test"

This reverts commit 380319d9d0c4bfb19e28c210262ccd82d19f3556.

# Conflicts:
#	test/integration/scss-modules/test/index.test.js

* Update loader structure

* Resolve loaders before passing to compile function

* Remove dead filter  code

* Arrange loaders in order and push to array

* Fix loader order bug

* Fix global Sass loader and make module prepocessor optional

* Adjust Sass Modules Implementation

* Fix typo

* Adjust regexps

* Use regexes

* Simplify global setup

* Adjust comments

* fix regex

* Simplify identifier file

* Update Sass Instructions

* Remove unneeded fixtures

* Adjust global tests

* Remove wrapper

* Update source maps

* Flag scss behavior

* Fix css property value

* Update fixtures with Sass vars

* Turn on Scss support

* fix HMR test

* Fix snapshots

Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-22 15:26:51 -05:00
Tim Neutkens
dd4d3f7c00 v9.2.1-canary.8 2020-01-22 17:25:18 +01:00
JJ Kasper
fe72fd215c
v9.2.1-canary.7 2020-01-21 15:49:16 -06:00
Joe Haddad
ebc46c111f
v9.2.1-canary.6 2020-01-20 18:53:41 -05:00
JJ Kasper
57aae473ed
v9.2.1-canary.5 2020-01-20 16:36:58 -06:00
JJ Kasper
0d0f21899c
v9.2.1-canary.4 2020-01-20 15:42:03 -06:00
Joe Haddad
2e668e6b31
Remove native-url (#10176)
* Remove `native-url`

* Increase sizes
2020-01-20 14:47:42 -05:00
Tim Neutkens
acca2c0a5d v9.2.1-canary.3 2020-01-20 15:57:03 +01:00
JJ Kasper
15cffd0059
v9.2.1-canary.2 2020-01-17 14:14:52 -06:00
Joe Haddad
2fe7435814
v9.2.1-canary.1 2020-01-17 13:20:32 -05:00
Joe Haddad
53d5bd89ce
v9.2.1-canary.0 2020-01-17 11:54:28 -05:00
Joe Haddad
b595dd6af1
v9.2.0 2020-01-15 11:38:15 -05:00
Joe Haddad
6b21b45edf
v9.1.8-canary.17 2020-01-15 11:20:38 -05:00
Joe Haddad
3aa6edb618
v9.1.8-canary.16 2020-01-14 23:03:19 -05:00
Joe Haddad
6d2d675bb8
v9.1.8-canary.15 2020-01-14 15:13:18 -05:00
Joe Haddad
5494f0c500
v9.1.8-canary.14 2020-01-14 13:40:02 -05:00
Joe Haddad
240b41cce3
v9.1.8-canary.13 2020-01-10 17:13:39 -05:00
Joe Haddad
3dc4a6873c
v9.1.8-canary.12 2020-01-10 16:08:55 -05:00
Joe Haddad
12665cb0b2
v9.1.8-canary.11 2020-01-09 21:56:44 -05:00
Joe Haddad
b90289fc4f
v9.1.8-canary.10 2020-01-09 20:17:45 -05:00
Joe Haddad
de0b0e8712
v9.1.8-canary.9 2020-01-09 17:09:23 -05:00
Joe Haddad
d0957e3001
v9.1.8-canary.8 2020-01-09 13:52:01 -05:00
Joe Haddad
e5c1f94688
v9.1.8-canary.7 2020-01-08 11:50:09 -05:00
Joe Haddad
7a6f056192
v9.1.8-canary.6 2020-01-08 10:33:28 -05:00
Joe Haddad
c387986b6a
v9.1.8-canary.5 2020-01-07 17:12:54 -05:00
Joe Haddad
8686fca6a4
Fix Browserslist Integration for CSS (#9985)
* Fix Browserslist Loading

* Fix Browserslist Integration for CSS

* Add missing file
2020-01-07 16:59:58 -05:00
Joe Haddad
c6e6d98f9a
v9.1.8-canary.4 2020-01-06 16:41:14 -05:00
Joe Haddad
c512b04ed9
v9.1.8-canary.3 2020-01-06 15:52:33 -05:00
JJ Kasper
501587ab2c
v9.1.8-canary.2 2020-01-06 11:27:13 -06:00
Joe Haddad
a50a0577d2 Fix Tests (#9963) 2020-01-06 10:43:26 -06:00
JJ Kasper
1db6764c52
v9.1.8-canary.1 2020-01-04 12:14:26 -06:00
Joe Haddad
8ebc5461e4
v9.1.8-canary.0 2020-01-03 16:31:32 -05:00
Joe Haddad
8e2ff2cd1f
v9.1.7 2020-01-03 14:54:11 -05:00
Joe Haddad
a701072fc6
v9.1.7-canary.16 2020-01-03 13:19:52 -05:00
Tim Neutkens
3a797f1a38 v9.1.7-canary.15 2020-01-03 17:14:01 +01:00
Tim Neutkens
ed1424197c v9.1.7-canary.14 2020-01-03 11:46:14 +01:00
Joe Haddad
aa04318773
v9.1.7-canary.13 2020-01-02 18:48:56 -05:00
JJ Kasper
7bf6aca7be
v9.1.7-canary.12 2019-12-31 16:09:59 -06:00
JJ Kasper
b6d513146e
v9.1.7-canary.11 2019-12-30 17:54:51 -06:00
Joe Haddad
b0892eff1d
v9.1.7-canary.10 2019-12-30 17:57:32 -05:00
JJ Kasper
cad5a84e51
v9.1.7-canary.9 2019-12-30 09:44:45 -06:00
Tim Neutkens
df97f2d93c
Update native-url for peerdep (#9882)
Fixes https://github.com/zeit/next.js/issues/9687#issuecomment-569632942
2019-12-30 11:30:50 +01:00
Tim Neutkens
ae567bfc29 v9.1.7-canary.8 2019-12-29 20:05:27 +01:00
Joe Haddad
f1f464b366
v9.1.7-canary.7 2019-12-27 15:27:33 -05:00
Joe Haddad
5bd58d5aca
v9.1.7-canary.6 2019-12-27 13:23:14 -05:00
Joe Haddad
9e680b4cb2
v9.1.7-canary.5 2019-12-26 12:06:27 -05:00
Tim Neutkens
3e05139dc3 v9.1.7-canary.4 2019-12-24 16:59:36 +01:00
Jason Miller
93c745c2b7 [Experimental] Move Babel transpile into a cached thread pool (#9331)
* Add cached off-thread babel transpile

* Update webpack-config.ts

Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2019-12-24 16:58:50 +01:00
Joe Haddad
86025c84eb
v9.1.7-canary.3 2019-12-23 16:22:42 -05:00
JJ Kasper
17fe6e3221
v9.1.7-canary.2 2019-12-20 15:58:59 -06:00
JJ Kasper
dcab416d6d
v9.1.7-canary.1 2019-12-20 12:32:35 -06:00
JJ Kasper
ac9f1665ef
v9.1.7-canary.0 2019-12-17 11:13:24 -06:00
Tim Neutkens
dbc0853ed4 v9.1.6 2019-12-17 10:49:31 +01:00
JJ Kasper
bdedf2c057
v9.1.6-canary.11 2019-12-16 11:46:59 -06:00
Tim Neutkens
dc51a705c1 v9.1.6-canary.10 2019-12-14 11:22:34 +01:00
Joe Haddad
838aec8fa0
v9.1.6-canary.9 2019-12-14 02:00:56 -05:00
Joe Haddad
845dc0827d Compute Gzip Sizes of Files (#9745) 2019-12-14 00:39:59 -06:00
Joe Haddad
9622c6559f
v9.1.6-canary.8 2019-12-14 01:32:06 -05:00
JJ Kasper
a12030b266
v9.1.6-canary.7 2019-12-13 14:43:13 -06:00
Joe Haddad
32cb5e105a Disable CSS Support When Manually Configured (#9735)
* Disable CSS Support When Manually Configured

* upgrade TS

* adjust yarn lock

* Remove another version of TypeScript

* Remove possibly leftover loader

* Revert "Remove possibly leftover loader"

This reverts commit 7ce2d1a8854f3d7a833867f8ac3be7923a6cb1d8.

* Update to use no-op loader
2019-12-13 14:23:28 -06:00
Joe Haddad
5a8ae915dd
v9.1.6-canary.6 2019-12-12 14:46:19 -05:00
Joe Haddad
529ab0c037
v9.1.6-canary.5 2019-12-12 07:37:17 -05:00
Joe Haddad
b116856938
v9.1.6-canary.4 2019-12-11 18:10:52 -05:00
Joe Haddad
6d7f27e417
v9.1.6-canary.3 2019-12-11 12:00:44 -05:00
Joe Haddad
a968b38007
v9.1.6-canary.2 2019-12-11 07:40:35 -05:00
Joe Haddad
734989d836 [Experimental] CSS Module Support (#9686)
* CSS Module Support

* Fix Server-Side Render of CSS Modules

* Fix Jest Snapshots
https://github.com/facebook/jest/pull/8492

* Fix snapshots

* Add test for CSS module edit without remounting

* Add tests for dev and production style being applied

* Add missing TODOs

* Include/exclude should only be applied to issuer, not the CSS file itself

* Add CSS modules + node_modules tests

* Test that content is correct

* Create Multi Module Suite

* Add client-side navigation support for CSS

* Add tests for client-side nav

* Add some delays

* Try another fix

* Increase timeout to 3 minutes

* Fix test

* Give all unique directories
2019-12-11 11:46:12 +01:00
Joe Haddad
be56af6268
v9.1.6-canary.1 2019-12-10 14:31:03 -05:00
Joe Haddad
551daaf12c
v9.1.6-canary.0 2019-12-10 08:47:07 -05:00
Joe Haddad
9b6ea9d466 Refactor Webpack Configuration (#9651)
* WIP

* Move data experiment

* Do not throw away rules

* Remove test code

* Correct next data behavior

* Add support for async composing

* Remove unnecessary workaround

* Rename Field
2019-12-09 14:08:15 -06:00
Joe Haddad
d64587e1a3
v9.1.5 2019-12-09 13:51:00 -05:00
Joe Haddad
c4821c7a24
v9.1.5-canary.17 2019-12-09 13:48:00 -05:00
JJ Kasper
5fe7dcde4c
v9.1.5-canary.16 2019-12-08 12:29:57 -06:00
Sayuti Daniel
26a6a37316 feat: optional chaining and nullish coalescing (#9615) 2019-12-08 12:46:44 +01:00
JJ Kasper
a557b7e75f
v9.1.5-canary.15 2019-12-07 00:04:10 -06:00
Joe Haddad
0c49d7dff7
v9.1.5-canary.14 2019-12-06 22:59:25 -05:00
Joe Haddad
2a18f03611
v9.1.5-canary.13 2019-12-06 11:51:18 -05:00
Joe Haddad
4894567fa9
v9.1.5-canary.12 2019-12-05 20:22:13 -05:00
Joe Haddad
96338a7631
v9.1.5-canary.11 2019-12-05 13:38:57 -05:00
Joe Haddad
57947ed2f3
v9.1.5-canary.10 2019-12-05 13:11:41 -05:00
Natalie Marleny
14c553c932 Enhancement: Upgrade devalue version to 2.0.1 (#9611) 2019-12-03 16:25:51 -06:00
Joe Haddad
0c03066983
v9.1.5-canary.9 2019-12-03 11:39:49 -05:00
Joe Haddad
2477bd30b7 Upgrade Webpack and Terser (#9608)
Closes #9602
2019-12-03 10:35:31 -06:00
Joe Haddad
11c7ca33d1
v9.1.5-canary.8 2019-11-27 23:24:12 -05:00
Joe Haddad
a6656a0b84
Upgrade path-to-regexp (#9553)
* Upgrade `path-to-regexp`

* Correct import

* Update delimiter

* Fix path match

* Fix hot loader

* Fix params.path usage and pathToRegexp import

* Revert changes for params.path

* Fix lint

* Simplify path match function

* Delimiter should always be `/`

* Fix passed in params

* Add new regex wrapping

* Wrap another route

* Fix error message match
2019-11-27 16:48:28 -05:00
JJ Kasper
375b86cd8a
v9.1.5-canary.7 2019-11-27 15:31:59 -06:00
Janicklas Ralph
6517246b22 Native url (#9561)
* 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
2019-11-27 13:17:05 -06:00
JJ Kasper
6ec56d3750 Update to latest fork-ts-checker version (#9555) 2019-11-27 11:16:55 -05:00
Janicklas Ralph
be496a260c Update native-url package for IE compat (#9539)
* 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
2019-11-26 14:14:24 -05:00
Jason Miller
1f15746176 [modern] preset-modules & fix custom babelrc (#9489)
* Modernize additional common Babel configurations.

* Add @babel/preset-modules dependency

* code quality

* Use modern terser ecma mode for .module.js bundles.
2019-11-26 11:27:26 +01:00
Janicklas Ralph
04a7f1e85d Replace url polyfill with self.URL (#9200)
* 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
2019-11-25 23:10:02 -05:00
Joe Haddad
3ebc61045a
v9.1.5-canary.6 2019-11-25 17:18:00 -05:00
Joe Haddad
4656f52d15
CSS Support Customization (#9502)
* CSS Support Customization

* Sort imports

* Correct PostCSS plugin loading

* Add css customization test

* Test "bad" css configuration

* Add load config test

* adjust spacing

* adjust spacing 2x

* Only allow config through JSON

* Support excluding false plugins

* Test tailwind css behavior

* Test plugin exclusion

* Fix unit test

* Fix config file

* Remove more variants

* Update test cases
2019-11-25 16:52:29 -05:00