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

Version Packages #465

Merged
merged 1 commit into from
Apr 2, 2020
Merged

Version Packages #465

merged 1 commit into from
Apr 2, 2020

Conversation

seek-oss-ci
Copy link
Contributor

@seek-oss-ci seek-oss-ci commented Mar 24, 2020

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

sku@10.0.0

Major Changes

  • Remove deprecated react-treat re-exports from sku/treat (#471)

    BREAKING CHANGES

    react-treat APIs (useStyles, TreatProvider & useClassName) can no longer be imported from sku/treat

    MIGRATION GUIDE

    Update all imports of useStyles, TreatProvider & useClassName to sku/react-treat.

    e.g.

    -import { useStyles } from 'sku/treat';
    +import { useStyles } from 'sku/react-treat';
  • Remove SSR react-hot-loader support (#472)

    BREAKING CHANGE

    Previously, sku featured partial setup for react-hot-loader v3 in SSR apps. It was not complete and still required tricky wiring code from the consumer app. The react-hot-loader dependency and react-hot-loader/patch client entry has now been removed from sku.

    If you want to continue using react-hot-loader with sku, you'll need to use dangerouslySetWebpackConfig to set the required react-hot-loader config. This approach is not recommended and will be very difficult to maintain.

    Note: We plan on looking into proper hot reload support (for static and SSR app) once the react fast-refresh project has a stable implementation for webpack.

  • Update minimum required node version to >=10.13.0 (#463)

    BREAKING CHANGE

    Node versions < 10.13.0 no longer supported.

  • Remove support for .css.js files (#470)

    BREAKING CHANGE

    .css.js (css-in-js-loader) files are no longer supported.

    MIGRATION GUIDE

    Any existing .css.js files will need to be removed. Ideally, replace these styles with Braid components. If that's not possible you can re-create the styles using css-modules or treat files.

    Note: It is our understanding that there is very limited use of this feature. If you have many .css.js files in your project please contact #sku-support for help.

Minor Changes

  • Update Prettier to v2 (#463)

    MIGRATION GUIDE

    Prettier update will require running sku format.

    The arrowParens option is now set to always.

    See Prettier 2.0.0 for more info on the changes.

  • Add import order linting (#477)

    You can now optionally enable linting of import order by adding orderImports: true to your sku config. This rule supports auto-fix.

    WARNING

    Changing import order can affect the behaviour of your application. After enabling orderImports, please ensure your app still works and looks as expected.

    Also, any existing comments (e.g. @ts-ignore) above imports will not be moved as part of the autofix. If your app has a lot of @ts-ignore comments then please be very wary when applying this rule.

  • Update to Jest 25 (#468)

Patch Changes

  • Update dependencies (#440)

    See PR for more info.

  • Update all babel deps to 7.9+ (#471)

  • Update min typescript version to 3.8.3 (#471)

  • Update eslint-config-seek to v6 (#440)

    MIGRATION GUIDE

    Run sku lint to check if any new rules are breaking. Running sku format first will fix any auto-fixable rules. See the eslint-config-seek release notes for more info on changes.

  • Improve error messages for incorrect client entries (#467)

  • Update html-render-webpack-plugin to v2 (#474)

@seek-oss-ci seek-oss-ci requested a review from a team as a code owner March 24, 2020 03:01
@seek-oss-ci seek-oss-ci force-pushed the changeset-release/master branch 13 times, most recently from 62b4c57 to 4d5b083 Compare March 30, 2020 21:08
@seek-oss-ci seek-oss-ci force-pushed the changeset-release/master branch 4 times, most recently from 425f6c8 to dfa7861 Compare April 2, 2020 05:16
@mattcompiles mattcompiles merged commit 4f3189a into master Apr 2, 2020
@mattcompiles mattcompiles deleted the changeset-release/master branch April 2, 2020 05:39
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

2 participants