joshlasdin / nextjs-starter

Project bootstrap using NextJS
0 stars 2 forks source link

Update next to the latest version 🚀 #20

Closed greenkeeper[bot] closed 5 years ago

greenkeeper[bot] commented 5 years ago

The dependency next was updated from 8.1.0 to 9.0.0.

This version is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Release Notes for v9.0.0

Major

  • Remove withAmp and do not expose isInAmpMode: #7690

Minor

  • Add Typescript compilation: #7110
  • Add support for /public: #7213
  • Add API routes support: #7296
  • Make next/dynamic loading component return null by default: #7695
  • Automatic static optimization: #7666

Patches

  • Add declaration files to /dist: #7118
  • Updated broken test in Windows: #7124
  • Add AMP label to AMP only pages in build tree: #7123
  • More Specific Info on Script Loading Error: #7108
  • Make next export respect experimental.exportTrailingSlash: #6752
  • Add more TypeScript types: #7054
  • Rewrote .circleci/config.yml to 2.1 schema: #7103
  • Wait for entry to resolve in production build: #7104
  • Fix: add repository to next-server package.json: #7105
  • Update types for with-router: #7106
  • Replace the typescript compiler with @babel/preset-typescript: #7016
  • Revert "Detect built ins in externals " (#7107): #7083
  • Update removing AMP pages to not require during build: #7081
  • Make styles compatible in AMP mode: #7060
  • Cache Babel and AutoDll plugin in dirDir/cache: #7102
  • Remove un-needed config from example: #7055
  • Update AMP example: #7056
  • Update AMP example to AMP-first wording: 5499652
  • Update dependency to fix with-next-page-transitions example: #7049
  • Add test for /dashboard/index: #7065
  • With-apollo example: explicitly pass fetch to HttpLink: #7072
  • Update fela example: #7051
  • Disable Terser loader when debugging: #7079
  • Fix broken link: #7087
  • Upgrade with-reasonml example to Reason React 0.7 and JSX 3: #7078
  • Update the recommendation section in examples/with-reasonml: #7089
  • Run optimizer after validating in dirty AMP mode: #7063
  • Detect built ins in externals: #7083
  • Move react-ssr-prepass import inside of: #7095
  • Export 404 even if undefined in exportPathMap: #6912
  • Remove dynamic-import-node from the preset: #7096
  • Update to share HMR and ondemand SSE connection: #7084
  • Upgrade Terser: #6981
  • Upgrade amp-optimizer to 0.5.3: #7134
  • Add .d.ts for next-server: #7133
  • Always use AllModulesIdentifiedPlugin after HashedModuleIdsPlugin: #7138
  • TypeScript preset should always be enabled: #7137
  • Remove old debugging logs: #7139
  • A webpack bug is preventing us from hashing chunks: #7142
  • Don't re-use the same page file for error-recovery tests: #7144
  • Add --target serverless flag: #7141
  • Move generating types to before deploy: #7145
  • Replace --target serverless with env var: #7146
  • Move type generating: #7147
  • Remove list_dist from debugging: #7148
  • Remove type defs for non-ts files and fix wrong import for router in _app: #7150
  • Add stale-while-revalidate when no getInitialProps: #7149
  • Update to render directly to body in AMP mode: #7151
  • Add support for .ts / .tsx import without extension: #7152
  • Add missing property types for styled-jsx: #7154
  • Add types for next/dynamic: #7157
  • Add types for next/link: #7160
  • Add missing .d.ts for next/dynamic: #7158
  • Add warning for @zeit/next-typescript: #7163
  • Prefer type over interface: #7164
  • Reduce CircleCI Parallelism: #7171
  • Run Prettier on webpack configuration: #7172
  • Don't resolve ts|tsx for non-TypeScript users: #7173
  • Update Prettier configuration: 00e8ba4
  • Add types for getInitialProps: #7162
  • Make sure to 404 for AMP client bundles in dev mode: #7183
  • Update cache-control header when no getInitialProps: #7185
  • Improve contributing guide: #7186
  • Fix missing webpack buildin: #7187
  • Allow _app and _document to be extended with other props: #7184
  • Make sure not to require react before NODE_ENV has been set: #7200
  • Browserstack optimisations: #7201
  • Make sure Cache-Control header is set when no getInitialProps: #7202
  • Fix firefox bug with detecting instanceof Promise in dynamic: #7203
  • Add theme to styled-components example: #7206
  • Fix wrong task name on watch for next/export files: #7204
  • Use intersection observer to preload in viewport: #7196
  • Create CODE_OF_CONDUCT.md: #7207
  • Use modern syntax in Next client code (e.g. async await): #7014
  • Clean up code/testing artifacts from #7014: #7211
  • Make sure next-head class isn't added to title: #7214
  • Add stats to build tree: #7194
  • Clear stale files from Next.js' babel-loader cache: #7221
  • Fix missing injectCaller: #7223
  • Remove unnecessary type from LinkProps: #7233
  • Update webpack to 4.30.0: #7238
  • Fix default meta tag being added in AMP mode: #7248
  • Tweak ReasonML example: #7254
  • Fix webpack fetch error: #7253
  • Make sure to update asPath on hashOnlyChange to: #7255
  • Remove reload and use only location.reload: #7257
  • Update to latest version of browserstack-local: #7236
  • Fix application output: #7264
  • Add docs to public: #7239
  • Fix attempting to observe non-DOM refs in Link: #7249
  • Add test for invalid ref in Link: #7266
  • Renamed IContext to be NextPageContext: #7272
  • With apollo auth proxy: #7165
  • Fix FOUC issue on with-fela example: #7229
  • Add example with babel-plugin-react-css-modules: #7219
  • Revert migrating babel-loader into Next.js: #7265
  • Remove components from client router: #7281
  • Integrate type checking into compilation pipeline: #7278
  • Add initial docs for TypeScript: #7169
  • Merged with-jest and with-flow examples into a new with-jest-flow example.: #7224
  • Removed unusable React importing in _document.tsx and added esModuleInterop:true in tsconfig.json: #7232
  • Add automatic TypeScript setup: #7125
  • Update styling of TypeScript config: 37ebd61
  • Format chunk graph plugin: 92cbe13
  • Separate shared shuttle modules: #7287
  • Update readme to use @next/mdx: #7291
  • Re-add prefetch prop type with deprecated: #7292
  • Make sure API routes are built in production: #7306
  • Fix:5049 Make Count in with-reasonml persist in runtime: #7302
  • Demonstrate how to use kea actions in getInitialProps for server side rendering with state transferred to client-side: #7298
  • Fix:7271 with-rematch - make sever rendered user list persist: #7308
  • Fix POST and PUT on api routes: #7319
  • Update the with-graphql-react example.: #7317
  • Redesigned page output: #7324
  • Fix windows backslashes not being replaced when identifying AMP pages: #7331
  • Update with-styletron example, add debug mode and useStyletron: #7290
  • Update typescript example to reflects out of box usage: #7235
  • Fix error overlay dismiss after fixing build error: #7335
  • Remove allowSyntheticDefaultImports in favor of esModuleInterop: #7338
  • Anchor TypeScript check to fix invalid detection: #7349
  • Updated typescript examples: #7337
  • [with-loading] changed non-existent-page link to <a> tag: #7350
  • Update 8.Question_about_next.md: #7357
  • Show helpful warning when @types/react isn't found: #7345
    #7362
  • Add with-sentry-simple example.: #7360
  • Add retrying to CircleCi and fixes for ncc'ed webpack: #7366
  • [custom-server-typescript] remove outdir line from tsconfig.server.json:
  • Re-add retrying tests in CircleCi to prevent false failures: #7374
  • Fix broken link: #7378
  • Remove outdated "extras" section in with-tailwindcss example README: #7379
  • Reduce the maximum number of shuttles: 931cd3d
  • Fix string type on router.query: #7387
  • [with-typescript] Remove obsolete TypeScript plugin and updated readme: #7368
  • Update to latest webpack-bundle-analyzer: #7389
  • Document useAmp in readme: #7405
  • Add auto static/dynamic: #7293
  • Make sure rendering behavior is only changed when autoExport is enabled: #7408
  • Upgrade dependencies: #7412
  • Revert fs-extra upgrade due to issue in latest version with jest: #7414
  • [custom-server-typescript] fixed custom server build issues: #7385
  • Types description: #7217
  • Don't load from serverless in dev mode: #7416
  • Create with-redux-persist example: #7375
  • [with-reasonml] Show both internal and shared state managment.: #7312
  • New Example: with-reasonml-todo(#7346): 43dcb59
  • Add document middleware: #7209
  • Opt out of cache header if _app has custom getInitialProps: #7409
  • Refactor server router: #7431
  • Fix duplicate dynamic chunks: #7425
  • Update Tailwind CSS to v1.0: #7421
  • Dynamic routing mark 2: #7432
  • Remove deploy to now button from all examples: #7101
  • Allow passing of title to default error page: #7381
  • Implement UI to show building activity: #6526
  • Update styles on build indicator container: #7436
  • Fixed typo in README.md: #7438
  • Bundle only server code for API routes: #7443
  • Improvements to build watcher: #7441
  • Enable strict export presence in webpack: #7446
  • Add tests for build activity indicator: #7448
  • Run lint-fix: c7276bc
  • Add amp.canonicalBase option to set absolute URL: #7262
  • Do not force noEmit option into TypeScript configuration: #7451
  • Correctly pass props down in with-lingui example HOC: #7445
  • Move syntax formatting to prettier: #7454
  • Remove react-ssr-prepass as it’s only needed for experimental feature: #7455
  • Disable optional param routing code paths: #7459
  • Don't run standard for tsx files in husky to match lint-fix: #7463
  • Format missed files: #7464
  • Make react-ssr-prepeass external if not enabled: #7466
  • Render valid optimized AMP by default: #7465
  • Improve contributing doc without yarn link: #7471
  • Revise dynamic route generation (mark 3): #7473
  • Remove old optional dynamic <Link> test: #7474
  • Do not leave Promise unresolved: #7475
  • Reuse router logic instead of duping in client: #7476
  • Add new stub file for exports: 7f187b4
  • Refresh query on mount for exported pages: #7462
  • Consolidate import statements: f8e9cbb
  • Upgrade to latest typescript: #7477
  • Remove .includes from _app for ie compatibility: #7482
  • Update ant design examples: #7490
  • Allow to describe initial props in the NextPage type: #7491
  • Disable <title/> warning when React Helmet is used: #7483
  • Fix serverDir resolving for autoExporting: #7504
  • Fix create command - react-relay-network-modern: #7502
  • Fix serverless dynamic routes: #7505
  • API interface extensions: #7363
  • Simplify a few parts of the codebase: #7506
  • Fix autoExport on windows and add tests: #7514
  • Fix auto export in serverless: #7517
  • Replace recursive-copy with own implementation: #7263
  • Clean up _document documentation: #7523
  • Add types for &lt;Html&gt; and &lt;Head&gt; element: #7524
  • Default target in loadConfig instead of next build: #7521
  • Restore onMouseEnter event: #7531
  • With-cookie-auth: don't rely on the Host header: #7435
  • Fixes constants link in readme: #7534
  • TS: don't set page component props to the App's props by default: #7535
  • Add Typescript to next-mdx readme: #7540
  • Add export const config support and make withAmp a no-op: #7525
  • Fix next start in serverless mode with public directory: #7541
  • Fix sentence in with-context-api example: #7542
  • Create file referencing Next.js types: #7545
  • Don't confuse the user with an eagerly created tsconfig.json: #7546
  • Adding TypeScript description to next export: #7547
  • Improve TypeScript package install experience: #7548
  • Remove invalid meta type: #7549
  • Add static page marker to page info: #7552
  • Mark whether page is a lambda or static file in build output: #7553
  • Tune default Terser configuration: #7554
  • Strip queries before matching route on client: #7566
  • Added new blog example: #7511
  • Add handling for invalid pages during autoExport: #7574
  • Improve docs: #7564
  • Added nodemon config to watch for .ts and .js files in the server folder: #7592
  • Re-require all module information for client-side initializers list: #7571
  • Add next/dynamic test: #7600
  • (examples/with-immutable-redux-wrapper) Fix README.md: #7597
  • Ensure Node types are installed (for process types): #7603
  • Correctly define NODE_ENV and process.browser: #7604
  • typeof window will always be undefined on the server: #7605
  • typeof window is object on the client: #7606
  • Add error handling for _error page: #7608
  • Exit process after build: #7614
  • (example/with-react-relay-network-modern) Fix example: #7590
  • Extract isDynamicRoute helper: #7622
  • Dynamic Routes: Change impl from $param to [param]: #7623
  • Set __next-build-watcher width and height to 0: #7618
  • Fixes serverless target in development: #7619
  • Update example: with redux reselect recompose: #7624
  • Fix typo in with-redux-reselect-recompose example: #7642
  • Revert "ncc Webpack build redux ": #7628
  • _document middleware is experimental: #7647
  • Compile dependencies for IE11: #7646
  • Allow opting out of automatic prefetch for Link: #7532
  • Fix TypeScript typings: #7648
  • Avoid lambda nomenclature when target != &#39;serverless&#39;: #7650
  • Remove usage of process.browser: #7651
  • Update prefetch check to prevent re-prefetching: #7654
  • Unflag Dynamic Routing: #7663
  • Fix memory leak from requiring pages: #7659
  • Parallelize requiring pages for static check: #7671
  • Fix maxConcurrentCalls used instead of maxConcurrentWorkers: #7672
  • Updating hapijs package name: #7664
  • Asynchronously check for type errors: #7668
  • Re-add require cache clearing: #7674
  • Update typescript example: #7684
  • Clean up AMP logic and naming: #7669
  • Dynamic routes for API: #7629
  • Helpers update: #7686
  • Remove coveralls: #7689
  • Expand automatic pre-rendering docs: #7702
  • Improve prefetch docs: #7692
  • Updated with-now-env example: #7694
  • Add updated de-duping logic for next/dynamic: #7705
  • Add path to exportPathMap query missing message: #7708
  • Fix styled-jsx not rendering when used in node_modules: #7697
  • Add back in second line of comment: #7718
  • Remove "small" wording from runtime config overhead: #7715
  • Upgrade watchpack to remove eslint-config-prettier: #7716
  • Serverless build for API routes: #7649
  • Remove Next.js debug mode: #7719
  • Do not default TypeScript to strict: true: #7717
  • Add prerender PageConfig option: #7699
  • Update with-zones example and Multi Zones documentation: #7513

Credits

Huge thanks to @ijjk, @Timer, @andy-ob, @koenpunt, @TxHawks, @mottox2, @scull7, @dav-is, @Ephem, @lfades, @martpie, @thecodechef, @rarkins, @chuck0523, @sebastianbenz, @stovmascript, @nataliemarleny, @nimit95, @Tomekmularczyk, @styfle, @keanulee, @coryshrmn, @sync, @huv1k, @nabiltntn, @aga5tya, @Samciu, @timneutkens, @samw3, @nguyenkhois, @chibicode, @AnsonT, @jaydenseric, @tajo, @resir014, @John-Spraul, @delbaoliveira, @guybedford, @mrispoli24, @leerob, @stvnyung, @tychay, @jrusso1020, @xboy2012, @msheakoski, @msweeneydev, @icco, @rafaelalmeidatk, @keustma, @mcwebb, @Janpot, @d-dmytro, @ku8ar, @olgn, @lucleray, @dunglas, @abusada, @AllenFang, @j0lv3r4, @jsmirandaiii, @popenkomaksim, @HsuTing, @MarchWorks, @khanghoang, @eperedo, @hanagejet, @jchorl, and @johnboy-leeds for helping!

Commits

The new version differs by 386 commits.

  • 66bf56f v9.0.0
  • 6cc7205 Add UPGRADING doc (#7773)
  • 9f65e50 v8.1.1-canary.70
  • 264fc01 API routes documentation (#7562)
  • b0b1c32 Experimentalize public/ (#7771)
  • f204935 Fix serverless loader for API routes (#7767)
  • e995c73 [typings] Allow getInitialProps to be sync (#7763)
  • cc49756 v8.1.1-canary.69
  • 270d548 Remove old docs (#7760)
  • 6fa17b3 Improve automatic prerendering warning (#7759)
  • 80b46c1 Update to have default pageProps of {} instead of null (#7734)
  • 7f3bdb1 v8.1.1-canary.68
  • 7ac8dcb Add deprecation message for next/dynamic modules (#7750)
  • b60985b Revert "fix(Link): Set focus back to the body element (#7693)" (#7753)
  • defde85 fix(Link): Set focus back to the body element (#7693)

There are 250 commits in total.

See the full diff

FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper bot :palm_tree: