Shu Uesugi
0a67c7ee23
Update basic-export to use zero config support ( #10079 )
2020-01-14 10:25:56 +01:00
Joe Haddad
4e71121f3c
Add New CSS Documentation ( #10072 )
...
* Restructure CSS Doc
* docs for stylesheets and css modules
* Add production note
* add or
* linebreaks
* Revise docs
* Update docs/basic-features/built-in-css-support.md
Co-Authored-By: Luis Alvarez D. <luis@zeit.co>
Co-authored-by: Luis Alvarez D. <luis@zeit.co>
2020-01-13 16:32:13 -05:00
Joe Haddad
9f6fdb95f2
Ignore CSS Ordering Warnings ( #10068 )
2020-01-13 07:48:24 -05:00
bokuweb
2cd8f1c920
Update server.js ( #10056 )
...
I think `httpOnly` property should set as `cookie`'s property.
This is because `SessionOptions` is following.
```
interface SessionOptions {
secret: string | string[];
name?: string;
store?: Store | MemoryStore;
cookie?: {
maxAge?: number;
signed?: boolean;
expires?: Date;
httpOnly?: boolean;
path?: string;
domain?: string;
secure?: boolean | 'auto';
encode?: (val: string) => string;
sameSite?: boolean | 'lax' | 'strict' | 'none';
};
genid?(req: express.Request): string;
rolling?: boolean;
resave?: boolean;
proxy?: boolean;
saveUninitialized?: boolean;
unset?: string;
}
```
2020-01-13 12:17:06 +01:00
Lorenzo de Vargas Candiago
3096a772fb
Change example link to be equal to query property ( #10052 )
...
The example uses { name: 'ZEIT' } but then say that it will link to `?name=Zeit`.
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2020-01-12 13:21:09 -06:00
Lee Robinson
b533f2afab
Fix typo in API Routes documentation. ( #10054 )
...
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2020-01-12 13:12:59 -06:00
David Baumgold
72a898a7be
Correct spelling: withApollo ( #10055 )
2020-01-12 13:24:08 -05:00
Lorenzo de Vargas Candiago
d4675c56b5
change "wil" to "will" ( #10050 )
2020-01-11 21:53:58 -05:00
Luis Alvarez D
7b83df3209
[Docs] Add missing import in custom App code example ( #10047 )
...
* Updated comment
* Removed unexpected word
* Update custom-app.md
* Update custom-app.md
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-11 14:57:13 -05:00
Joe Haddad
240b41cce3
v9.1.8-canary.13
2020-01-10 17:13:39 -05:00
Christopher Snyder
c294ad0a53
Fix missing quotes around in
operator check for PerformanceObserver ( #10018 )
...
* Fix missing quotes around `in` operator check for PerformanceObserver
* Always call `getEntriesByType()` even if performance observer is supported.
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-10 17:00:32 -05:00
Joe Haddad
3dc4a6873c
v9.1.8-canary.12
2020-01-10 16:08:55 -05:00
Joe Haddad
a7a924f2a4
Disable New CSS For Sass, Less, and Stylus ( #10043 )
2020-01-10 15:07:06 -06:00
JJ Kasper
5c6a20dbfc
Add refresh header for 308 redirect for IE11 compatibility ( #10042 )
2020-01-10 15:54:23 -05:00
Joe Haddad
243c038222
docs(errors): CSS Modules Imported by a Dependency ( #10034 )
2020-01-10 11:45:01 -05:00
Odi
b9af20fd5e
Add with-chakra-ui
example ( #10033 )
...
* add with-chakra-ui example
* lint
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-10 11:24:39 -05:00
JJ Kasper
14ca20d0d5
Add warning when API resolves without the request being finished ( #9999 )
...
* Add error when API resolves without the request being finished
* Update to only show warning in development instead
* Update packages/next/next-server/server/api-utils.ts
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-10 10:56:20 -05:00
Joe Haddad
dd020fb888
docs(errors): CSS Imported by a Dependency ( #10032 )
2020-01-10 10:40:28 -05:00
Joe Haddad
fa81a4df83
Add Links to Global CSS Error ( #10031 )
...
* Add Links to Global CSS Error
* Add Example
2020-01-10 09:31:38 -06:00
Tim Neutkens
b5080f1010
Update css examples to use built-in CSS support ( #10029 )
...
* Update tailwind example
* Update blog-starter example
* Update with-next-css example
* Update with-quill-js
* Update with-rbx-bulma-pro
* Remove incompatible example
* Update with-react-multi-carousel
* Update-with-semantic-ui
* Update with-videojs example
* Remove @zeit/next-css from package.json of updated examples
* Remove deprecated examples
* Remove target from all examples
* Update package.json
* Apply suggestions from code review
Co-Authored-By: Joe Haddad <timer@zeit.co>
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-10 09:09:28 -05:00
Joe Haddad
12665cb0b2
v9.1.8-canary.11
2020-01-09 21:56:44 -05:00
JJ Kasper
3e923d059d
Fix public/
file name encoding ( #10022 )
...
* Update serving of files from public folder to handle special chars
* Update tests and match handling in dev mode
* Fix windows public file handling
* Remove colon test to make git on windows happy
* Remove un-used files
* Add missing await
2020-01-09 21:56:05 -05:00
Joe Haddad
b90289fc4f
v9.1.8-canary.10
2020-01-09 20:17:45 -05:00
Ty Mick
c837ed151b
example: fix npm/yarn install/run instructions ( #10023 )
...
**npm** section currently shows both npm and yarn, while **yarn** section shows just npm.
2020-01-09 20:16:44 -05:00
Joe Haddad
5d3303f50a
Ensure Build Output Does Not Contain <buildId>
( #10021 )
...
* Ensure Build Output Does Not Contain `<buildId>`
* use posix join for common file
2020-01-09 17:31:03 -05:00
Joe Haddad
de0b0e8712
v9.1.8-canary.9
2020-01-09 17:09:23 -05:00
Joe Haddad
345efa3ea8
Keep Chunk Hash in Build Output ( #10020 )
2020-01-09 15:44:47 -06:00
Joe Haddad
dd6406ace2
Add Back Comments ( #10019 )
...
* Add Back Comments
* remove property all together
* Replace all instances
2020-01-09 16:33:22 -05:00
Joe Haddad
af82f322e5
Enable New CSS Support by Default ( #9927 )
...
* Enable New CSS Support by Default
* Adjust configs
* Fix invisible AMP body
* Fix AMP validation warning
* test fix
* Use expression that won't be eliminated by babel
2020-01-09 15:31:28 -05:00
Prateek Bhatnagar
1fe6e9bb1c
switches analytics relay test from dev to prod ( #10017 )
...
* switches analytics relay test from dev to prod
* Update test/integration/relay-analytics/test/index.test.js
Co-Authored-By: Joe Haddad <joe.haddad@zeit.co>
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-09 20:40:26 +01:00
Joe Haddad
a5ae018acc
Test Custom Properties in CSS Modules ( #10007 )
2020-01-09 14:26:12 -05:00
Joe Haddad
d0957e3001
v9.1.8-canary.8
2020-01-09 13:52:01 -05:00
Joe Haddad
0fd15ad6ba
Separate Self Size and First Load Size ( #10014 )
...
* Separate Self Size and First Load Size
* Tweak tests
2020-01-09 13:49:52 -05:00
Ahmad Awais ⚡️
a86640b309
docs: Fix Some Syntax Highlighting ( #10013 )
...
Fixes #10012
2020-01-09 11:15:04 -05:00
Jeremias Menichelli
e72d8996b2
Fix typo on code comment for pages docs ( #10011 )
2020-01-09 16:35:54 +01:00
takehiro
66f871b04b
Add with redux wrapper hooks ( #9954 )
...
Co-authored-by: Luis Alvarez D. <luis@zeit.co>
2020-01-09 10:31:49 -05:00
takehiro
95c2e57e77
with cookie auth latest ( #10005 )
2020-01-09 09:50:33 -05:00
Joe Haddad
abc0b07102
Test Importing Global CSS in CSS Modules ( #10008 )
2020-01-09 09:35:52 -05:00
Tim Neutkens
3497e7cb5d
Merge branch 'canary' of github.com:zeit/next.js into fix/docs-static-file
2020-01-09 14:23:20 +01:00
Tim Neutkens
d4521cf49e
Update static-file-serving.md ( #10006 )
2020-01-09 14:20:30 +01:00
Tim Neutkens
805e4bb20c
Update static-file-serving.md
2020-01-09 12:37:53 +01:00
Soichi Takamura
5fafd1a75b
Proposing a new example "with-typescript-graphql" ( #9803 )
...
* New example with-typescript-graphql
* Update newer graphql-let
* Apply @lfades 's suggestions
* Use "lib" for tools directory
* Move config decorator to next.config.js
* Apply stricter tsconfig
* mod: hide the word "apollo" from users
* mod: Use variable name `withApollo`
* Use the later version of graphql-let
* Only pages can be in pages
* Life improvements
* fix: .grpahql-let.yml point to the wrong document path
* Use a wider glob for less pitfalls
* Add a note about it in README.md
Co-authored-by: Luis Alvarez D. <luis@zeit.co>
2020-01-08 13:39:00 -05:00
Joe Haddad
e5c1f94688
v9.1.8-canary.7
2020-01-08 11:50:09 -05:00
Jan Potoms
2112e81ae4
Don't prepend a slash on empty path ( #9973 )
...
Fixes https://github.com/zeit/next.js/issues/9678
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-08 11:45:17 -05:00
Afzal Sayed
58b2d9e208
Use optional chaining syntax ( #9975 )
...
* Use optional chaining syntax
* Changes as per review
* Bug fix
2020-01-08 11:30:53 -05:00
Joe Haddad
7a6f056192
v9.1.8-canary.6
2020-01-08 10:33:28 -05:00
Joe Haddad
1c6f0874ce
Test That Custom Properties Are Not Compiled ( #9984 )
...
* Fix Browserslist Loading
* Fix Browserslist Integration for CSS
* Add missing file
* Test That Custom Properties Are Not Compiled
* Disable custom properties transform
2020-01-08 12:06:16 +01:00
Luis Alvarez D
18d8c90c3f
Updated docs for pathname ( #9964 )
...
* Updated docs for pathname
* Apply suggestions from Tim
Co-Authored-By: Tim Neutkens <tim@timneutkens.nl>
* Removed trailing dots
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-01-08 11:56:17 +01:00
Joe Haddad
3c8fff354b
Simplify <Link>
Prefetch Deduping ( #9987 )
...
* Simplify `<Link>` Prefetch Deduping
* Fix test
* Update test/integration/preload-viewport/test/index.test.js
Co-Authored-By: JJ Kasper <jj@jjsweb.site>
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2020-01-07 18:25:44 -05:00
Joe Haddad
c387986b6a
v9.1.8-canary.5
2020-01-07 17:12:54 -05:00