Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all dependencies #106

Merged
merged 9 commits into from
Jun 10, 2018
Merged

Update all dependencies #106

merged 9 commits into from
Jun 10, 2018

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 1, 2018

This Pull Request renovates the package group "all dependencies".

Note: This PR was created on a configured schedule ("before 3am on the first day of the month") and will not receive updates outside those times.

  • redux (dependencies): from ^3.7.2 to ^4.0.0
  • normalize.css (dependencies): from ^7.0.0 to ^8.0.0
  • next-images (dependencies): from ^0.9.2 to ^0.10.1
  • next (dependencies): from ^5.1.0 to ^6.0.0
  • autoprefixer (dependencies): from ^7.1.6 to ^8.0.0

Release Notes

reactjs/redux

v4.0.0

Redux 4 is here! 🎉

If you're a React user, this is going to be a lot like going from 15 to 16. Not a lot of user-facing changes, but some interesting improvements under the hood.

The major changes (#​1342) are around our TypeScript definitions, bundled CommonJS and ES builds, throwing if you subscribe or getState from a reducer, and a bunch of other smaller things. The full changes are listed below.

Enjoy!

Changes

  • Tons of docs updates. Thanks @​markerikson and the Redux community for all your PRs!
  • Make middleware API dispatch pass through all call arguments (#​2560 by @​Asvarox)
  • Refactor applyMiddleware to reduce confusion around createStore args (#​2201 by @​jimbolla)
  • Make bindActionCreators transparently pass this (#​2641 by @​Parakleta)
  • Remove @​private flag on AnyAction type definition (#​2510 by @​alexmngn)
  • Fixed quote types inconsistency in a warning message (#​2297 by @​Andarist)
  • Move ActionTypes to a private export (b62248b by @​timdorr)
  • Throw if getState, subscribe, or unsubscribe called while dispatching (#​1569 by @​mjw56)
  • Warn when dispatching during Middleware setup (#​1485 by @​timdorr)
  • Mapped type for combineReducers in index.d.ts (#​2182 by @​mkusher)
  • Remove legacy jsnext entry (#​2284 by @​TrySound)
  • Revamp TypeScript typing with more type safety (#​2563 by @​pelotom)
  • Fix TS definitions test for new Dispatch typing (#​2674 by @​pelotom)
  • Add DeepPartial type for preloaded state (#​2679 by @​aikoven)
  • Bundle cjs and es formats (#​2358 by @​TrySound)
  • REPLACE action for replaceReducers (#​2673 by @​timdorr)
  • Update build to use babel-preset-env (#​2696 by @​hmillison)
  • Optimize dispatch plain object check (#​2599 by @​timdorr)
  • Update TypeScript typings (#​2773 by @​aikoven)
  • Added prettier formatting (#​2676 by @​adityavohra7)
  • Add a sideEffects: false flag for Webpack 4 (#​2865 by @​timdorr)
  • Fix missed case in "observe" type check (#​2919 by @​zerobias)

necolas/normalize.css

v8.0.0

  • Remove support for older browsers Android 4, lte IE 9, lte Safari 7.
  • Don't remove search input cancel button in Chrome/Safari.
  • Form inputs inherit font-family.
  • Fix text decoration in Safari 8+.

zeit/next.js

v6.0.0

Major Changes
  • Upgrade Babel 6 to Babel 7: #​4050 - support for Fragment syntax (<>) and everything else Babel 7 brings
  • Add build manifest: #​4119
  • Expose app.js: #​4129
  • Improved stacktraces: #​4156
Minor Changes
  • Upgrade react hot loader (React 16.3 support): #​4171
  • Fix grammatical errors in readme.md: #​4199
  • Exclude _app.js when exporting static pasges since it’s not a normal page: #​4201
  • Replaced update checker: #​4192
  • Add support for exportPathMap in development: #​4094
  • Allow BUILD_ID to be set using generateBuildId: #​3873
  • Add Router method to execute custom logic before popstate events: #​3956
  • Make sure hot-self-accept-loader cleans up the route correctly with custom extensions: #​4092
  • Add flow, pages-manifest.json, defaultPathMap for export: #​4066
Patches
  • Added example for usage with rematch: #​4095
  • Update broken link on with-redux-reselect-recompose example: #​4209
  • With-reasonml: use default exports: #​4217
  • With-reasonml: better setup: #​4218
  • Update link to new learning page: #​4223
  • Add componentDidCatch example: 65c0014ad174e5dcf3b991cfacd9c91edb3972d4
  • Add _app layout example: 0daf9beedc96baa5f3801994d339888e3f54cbc8
  • Only show deprecation message in development: #​4206
  • Examples/with-reasonml: use bs-next for Next.Link: #​4214
  • Set babelrc true: #​4215
  • Fix grammatical errors in readme.md: #​4199
  • Exclude _app.js when exporting static pasges since it’s not a normal page: #​4201
  • State is no longer used since #​4156: a691dd06cfba0a847b946158adf471e41ce56b59
  • Fix url prop override: #​4191
  • Examples: stabalise README format and create-next-app usage: #​4009
  • Speed up tests: #​4102
  • Redo #​4090: #​4104
  • Relay modern example fixes: #​4120
  • Update next-typescript version in custom-typescript-server example: #​4130
  • Fixed typo: #​4144
  • Added example of integration with videojs: #​4139
  • Link to popstate doc on MDN: #​4150
  • Added with-jest-typescript example: #​4124
  • Fix(examples/using-preact): use latest next-preact: #​4152
  • Added example for usage with rematch: #​4095
  • Check if matched before reading value: #​4096
  • Better support React 16.3.0: #​4090
  • Fix serve command: #​3989
  • Upgrade Next in with-firebase-hosting: c07cf5e83f952503d6d8d98c9c7e0f76a080c20b
  • Match externals ending in .js not everything with .js: #​4091
  • Upgrade @​zeit/next-typescript in custom-server-typescript example fixes #​4071: 069f45d74ed1bc88058876c2e80d96a5767c1989
  • Upgrade @​zeit/next-typescript in with-typescript example: 69ca73ca56b9dc6e8dae7385e63f128088f8908d
  • Upgrade standard.js: #​4064
  • Update with-apollo examples: #​4067
  • New example: with-now-env: #​4073
  • Add note about getConfig: cfe748d4b5c1ec7ef9ec4adc4bec534a9616aed8
  • Add with-google-analytics example: #​4036
  • Add missing url prop: #​4078
  • Fixed small readme typo: #​4083
  • Remove mz-fs and glob-promise: #​4026
  • Use printAndExit with error: #​4086
  • Remove deprected and refactor with-apollo-auth: #​4070
  • Clarify .next in .gitignore text: #​4087
  • Updated example with-now-env: #​4081
  • Fix #​3900 return 404 on asset hash mismatch in prod: #​3941
  • Get pages before entry function: #​4089
Credits

Huge thanks to @​willmeierart, @​lfades, @​prichodko, @​wesbos, @​CarloPalinckx, @​Samatar26, @​DevSpeak, @​tim-phillips, @​timteeling, @​craigmcnamara, @​gcpantazis, @​jonjamz, @​jthegedus, @​oliviertassinari, @​odinuge, @​sethetter, @​christiannwamba, @​prateekrastogi, @​tim-phillips, @​HarunD, @​fouad, @​imbhargav5, @​Edheltur, @​ninesalt, @​imbhargav5, @​iagodahlem, @​rase- and @​raven-wills for helping!


postcss/autoprefixer

v8.0.0

Great Seal of the State of New York

Autoprefixer 8.0 uses Browserslist 3.0, has autoprefixer CLI tool instead of autoprefixer-info.

Browserslist 3.0

The main feature of Autoprefixer 8.0 is Browserslist 3.0. In the new version, it brings new default browsers. It will affect you only if you don’t change browsers by .browserslistrc or browserslist key in package.json (we don’t recommend to use browsers option).

In one hand, Browserslist 3.0 usage statistics limit for default browsers was reduced from >1% to >0.5%. In another hand, we remove dead browsers from default browsers. The dead browser is a browser with < than 1% in the global market and who don’t have security updates. Right now IE 10 and BlackBerry browser are dead browsers.

Read other notable changes in Browserslist 3.0 changelog. We recommend subscribing for @​Browserslist twitter account.

CLI Tool

CLI tool to show target browsers and used prefixes was renamed to autoprefixer:

$ npx autoprefixer --info
Browsers:
  Edge: 16

These browsers account for 0.04% of all users globally

At-Rules:
  @&#8203;viewport: ms

Selectors:
  ::placeholder: ms

Properties:
  user-select: ms
  hyphens: ms
  appearance: webkit
  scroll-snap-type: ms
  scroll-snap-coordinate: ms
  scroll-snap-destination: ms
  scroll-snap-points-x: ms
  scroll-snap-points-y: ms
  flow-into: ms
  flow-from: ms
  region-fragment: ms
  text-spacing: ms

With the new name, npx will install Autoprefixer automatically if it is missed in the current project.

Page Breaks for Firefox

Previous Autoprefixer versions replace break-* properties to page-break-* for Firefox.

But this feature didn’t add any vendor prefix. Autoprefixer goal is to take care only about prefixes, not polyfills. For better consistency, we removed this feature from Autoprefixer.

Don’t afraid, the PostCSS ecosystem has many plugins for CSS polyfills. We recommend to take look at postcss-preset-env to write future CSS today.


v8.1.0

Kingdom Come: Deliverance logo

Autoprefixer 8.1 brings overscroll-behavior and better Grid support.

Overscroll Behavior

@​Malvoz suggested the great idea to polyfill overscroll-behavior for IE 11 and Edge by -ms-scroll-chaining.

.none {
    -ms-scroll-chaining: none;
        overscroll-behavior: none;
}
.contain {
    -ms-scroll-chaining: none;
        overscroll-behavior: contain;
}
.auto {
    -ms-scroll-chaining: chained;
        overscroll-behavior: auto;
}

Note, that overscroll-behavior-x and overscroll-behavior-y are not supported since -ms- property doesn’t have this freedom.

Better Grid Layout

@​evgeny-petukhov continues his amazing work and now Autoprefixer polyfills Grid Layout for IE in more cases.

He added grid-template shortcut support and improve support of grid-column-end and grid-row-end.

Grid properties were fixed in @supports. We recommend:

  • To select modern Grid browsers and IE 11: @supports (display: grid).
  • To select only Grid browsers without IE 11: @supports (grid-gap: 0).

Note, that you need grid: true option to Autoprefixer to add -ms- prefixes for Grid Layout.


v8.2.0

The Great Seal of the State of Kansas

Autoprefixer 8.2 brings color-adjust support.

@​YozhikM, @​soul-wish, and @​yuriyalekseyev did a great work. They added new data to Can I Use and implemented a new feature to Autoprefixer.

body {
    -webkit-print-color-adjust: exact;
            color-adjust: exact;
}

v8.3.0

Seal of the City of Pittsburgh

Autoprefixer 8.3 adds @media support for grid-template and fixes gradient direction warning.

Media and Grid Layout

@​evgeny-petukhov continues his great work for Grid Layout support in Autoprefixer.

Now he improved @media support. Now this CSS will work in IE:

body {
    grid-template:
        [header-left] "head head" 30px [header-right]
        [main-left]   "nav  main" 1fr  [main-right]
        [footer-left] "nav  foot" 30px [footer-right]
        / 120px repeat(4, 250px 10px);
}

header {
    grid-area: head;
}

main {
    grid-area: main;
}

footer {
    grid-area: footer;
}

@&#8203;media (min-width: 1000px) {
    body {
        grid-template:
            [header-left] "head" 30px [header-right]
            [main-left]   "main" 1fr  [main-right]
            [footer-left] "footer" 30px [footer-right]
            / 1fr;
    }
}

Don’t forget that Autoprefixer inserts Grid Layout prefixes only if you set grid: true option.

Gradient Warning

@​radium-v found that Autoprefixer show warning even if cover is outside of radial-gradient.

a {
    background: radial-gradient(#fff, transparent) 0 0 / cover no-repeat #f0f;
}

@​kotfire improve old direction detection and fix this issue.


v8.4.0

Bludor family coat of arms

Autoprefixer 8.4 brings new control comment to ignore next line.

@​vostrik implemented the @​levin-du’s idea of having control comment to disable only next property/rule:

.logo {
    /* autoprefixer: ignore next */
    user-select: none; /* ← ignored */
    mask: url(mask.jpg); /* ← will be prefixed */
}

/* autoprefixer: ignore next */
::placholder /* ← ignored */ {
    text-decoration-style: dotted; /* ← will be prefixed */
}

v8.4.1

  • Fix working in old PostCSS versions (by Diablohu).

Commits

reactjs/redux

v4.0.0

  • 7cb7414Fixed typo (#​2929)
  • ee5c563Remove unneeded chain declaration (#​2928)
  • a8c31f4Replace unnecessary lets with consts (#​2931)
  • 1448a7cUpdated deprecated link for store subscribe listener (#​2932)
  • 2f11005Winamp2-js has renamed to Webamp (#​2934)
  • 9478a8dDocs(FAQ): Adding links to existing questions #​2854 (#​2936)
  • 6484181Remove unnecessary newlines (#​2937)
  • 20de02bUpgrade deps and stop indenting
  • e95eaf24.0.0
necolas/normalize.css

v8.0.0

  • ff155ffRestore gaps in links underline in iOS 8+ and Safari 8+
  • ca8a357Inherit font family for inputs
  • 1aa10ceRemove the font-size test on html tag
  • 331e2e4Point to yarnpkg's list of CDNs
  • 004d58bUpdate browser support
  • 906395bRemove bower
  • 9f4876bAdd package-lock.json
  • f7c98c4Don't remove search input cancel button in Chrome/Safari
  • 93a6e5fUpdate CHANGELOG
  • 4ab3de5v8.0.0
arefaslani/next-images

v0.10.0

  • 8394011feat(assetPrefix): add support for next assetPrefix config option
  • 9ecf0ddMerge pull request #​2 from PublicRadioInternational/feature/asset-prefix-support
  • ddef4f1improve README file
  • cca3ee0add support for changing the inline image limit
  • 52364a00.10.0

v0.10.1

v0.10.2

zeit/next.js

v6.0.0

  • f378448with-reasonml: use default exports (#​4217)
  • 6158243with-reasonml: better setup (#​4218)
  • 9578e9fUpdate link to new learning page (#​4223)
postcss/autoprefixer

v8.0.0

  • 5bc3c12Use Browserslist 3.0
  • ca6ff9bRename autoprefixer CLI
  • e1853afRemove page-break-* support since it is not a prefix
  • 143686dUpdate Size Limit
  • 25490faFix title paddings in docs
  • d44d9bdPromote postcss-preset-env instead of cssnext
  • 6cf02cfRelease 8.0 version

v8.1.0

  • 1280d93Readme stale counts removed, wording improved (#​991)
  • c5a57ef[grid-template] Added support for grid-template shortcut (#​992)
  • 5737247Unify require style
  • d4089a5Update dependencies
  • 76553dcUpdate Size Limit
  • 2e9c500Use fake result in support prefixer
  • 49eecefAdd overscroll-behavior support
  • d3cf17dAdd Cult of Martians badge
  • 9032090[grid-area] Better grid-area (grid-column/row-end) support (#​994)
  • bbadec6Clean up code
  • 1bea257Disable grid tests in prefixes cleaning
  • 28a4587Fix test coverage
  • 5ee600aUpdate size limit
  • a34f784Fix line breaks in docs
  • c5b141eFix other line break in the docs
  • 32d6a6eUpdate dependencies
  • 44bb938Release 8.1 version

v8.2.0

  • 5ec9b4aRename latest Node.js version in Travis CI
  • 579461cUpdate dependencies
  • 6579eb5Removed flexbox section since current browsers do not need it
  • cbf41b9[color-adjust]: added support for color-adjust declarations (#​1007)
  • 7c4dfb1Add color-adjust declaration support (#​1009)
  • d5ce643Update dependencies
  • f1fc3e1Clean up requires in data/prefixes
  • c4b213fRelease 8.2 version

v8.3.0

  • c860ba6Look for outdated gradient syntax only inside radial-gradient block (#​1017)
  • 54fa0acImprove warning test
  • c80c4abUpdate dependencies
  • 196a366[grid-template-areas] Supported grid-template(-areas) in media rules (#​1018)
  • 67e8d22Fix spaces between in grid hack
  • 4485c0eRelease 8.3 version

v8.4.0

v8.4.1

  • 5815270fix Processor.disabled(): check if node has parent before get prev() (#​1028)
  • f2954cfFix 80 columns line
  • eec9bbfRelease 8.4.1 version

This PR has been generated by Renovate Bot.

@renovate
Copy link
Author

renovate bot commented May 1, 2018

PR has been edited

As this PR has been edited, Renovate will stop updating it in order to not cause any conflicts or other problems. If you wish to abandon your edits and have Renovate recreate this PR then you should rename this PR and then close it.

@MrOrz
Copy link
Member

MrOrz commented May 1, 2018

Now npm run dev returns error:

Module build failed: Error: [BABEL] /Users/mrorz/workspace/rumors-site/pages/_document.js: .value is not a valid Plugin property

Wait until vercel/next.js#4227 is resolved

@MrOrz MrOrz mentioned this pull request May 2, 2018
@coveralls
Copy link

coveralls commented Jun 9, 2018

Coverage Status

Coverage remained the same at 58.781% when pulling 8e6c5c7 on renovate/all into 40740d8 on master.

@MrOrz MrOrz requested a review from GoreStarry June 9, 2018 16:03
import PropTypes from 'prop-types';
import { feedbackStyle } from './ReplyFeedback.styles';

export default class ReplyFeedback extends PureComponent {
class ReplyFeedback extends Component {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why instead PureComponent by normal Component?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because we only export connect()(ReplyFeedback), which already does pure rendering by default

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, I get it!

@MrOrz MrOrz merged commit 8affd30 into master Jun 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants