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 #2868

Merged
merged 1 commit into from
May 7, 2020
Merged

Version Packages #2868

merged 1 commit into from
May 7, 2020

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Apr 30, 2020

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish 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

@keystonejs/adapter-knex@10.0.0

Major Changes

  • babed628 #2862 Thanks @Vultraz! - Updated dependencies knex from .0.20.6 to 0.21.1 andpg from 7.17.0 to 8.0.3.

Minor Changes

  • 9bad0e5f #2660 Thanks @Vultraz! - Added new sortBy query argument.

    Each list now has an additional Sort<List>By enum type that represents the valid sorting options for all orderable fields in the list. sortBy takes one or more of these enum types, allowing for multi-field/column sorting.

Patch Changes

@keystonejs/app-admin-ui@6.0.0

Major Changes

  • 12126788 #2893 Thanks @timleslie! - Added a method Keystone.getAdminViews({ schemaName }) which returns the views for the Admin UI. List.getAdminMeta() no longer returns a views values.

  • 08087998 #2881 Thanks @timleslie! - The default function in @keystonejs/field-views-loader now takes { pages, hooks, listViews } rather than { adminMeta }.
    AdminUIApp now has a method .getAdminViews({ keystone, includeLists }) which returns these values.
    AdminUIApp.createDevMiddleware now takes { adminMeta, keystone } as arguments.
    These changes will only effect users who may have explicitly been using the @keystone/fields-views-loader packages or .createDevMiddleware().

  • fcb9f2c1 #2886 Thanks @timleslie! - Removed AdminUIApp.createSessionMiddleware(). No need to take an action if you were explicitly using this method.

  • d8584765 #2906 Thanks @timleslie! - Removed Controller.adminMeta in favour of explicit values for .readViews, .preloadViews, .getListByKey, .adminPath, and .authStrategy.

  • 9a94cee8 #2869 Thanks @timleslie! - Removed the method AdminUIApp.getAdminMeta() in favour of the more complete AdminUIApp.getAdminUIMeta(keystone).

Minor Changes

  • 4d3efe0f #2827 Thanks @Vultraz! - Refactored the internal handling of list data fetching. This resolves two issues:

    • Fixed two API requests being made when loading a list.
    • Fixed Ract errors in the search and pagination components.
  • 72e0a4e1 #2895 Thanks @Vultraz! - The base FieldController class no longer takes the owning list as a second argument.

  • 6e507838 #2890 Thanks @Vultraz! - Refactored the Unsplash content block to use Apollo query hooks.

  • bcf03a7f #2873 Thanks @Vultraz! - Cleaned up CreateItemModal implementation. The component is no longer passed to field views and should be imported from the @keystonejs/app-admin-ui package instead.

Patch Changes

@keystonejs/field-content@6.0.0

Major Changes

  • d8584765 #2906 Thanks @timleslie! - Removed Controller.adminMeta in favour of explicit values for .readViews, .preloadViews, .getListByKey, .adminPath, and .authStrategy.

Patch Changes

@keystonejs/field-views-loader@6.0.0

Major Changes

  • 08087998 #2881 Thanks @timleslie! - The default function in @keystonejs/field-views-loader now takes { pages, hooks, listViews } rather than { adminMeta }.
    AdminUIApp now has a method .getAdminViews({ keystone, includeLists }) which returns these values.
    AdminUIApp.createDevMiddleware now takes { adminMeta, keystone } as arguments.
    These changes will only effect users who may have explicitly been using the @keystone/fields-views-loader packages or .createDevMiddleware().

Patch Changes

@keystonejs/fields@10.0.0

Major Changes

  • d8584765 #2906 Thanks @timleslie! - Removed Controller.adminMeta in favour of explicit values for .readViews, .preloadViews, .getListByKey, .adminPath, and .authStrategy.

Minor Changes

  • 72e0a4e1 #2895 Thanks @Vultraz! - The base FieldController class no longer takes the owning list as a second argument.

  • 6e507838 #2890 Thanks @Vultraz! - Refactored the Unsplash content block to use Apollo query hooks.

  • e2800875 #2897 Thanks @Vultraz! - Elevated isOrderable, isRequired, and adminDoc keys to direct FieldController properties.

  • bcf03a7f #2873 Thanks @Vultraz! - Cleaned up CreateItemModal implementation. The component is no longer passed to field views and should be imported from the @keystonejs/app-admin-ui package instead.

Patch Changes

@keystonejs/keystone@9.0.0

Major Changes

  • 12126788 #2893 Thanks @timleslie! - Added a method Keystone.getAdminViews({ schemaName }) which returns the views for the Admin UI. List.getAdminMeta() no longer returns a views values.

  • b5c44934 #2903 Thanks @Vultraz! - Fixed several access control input issues:

    • itemIds is now properly set in list-level updateMany mutation checks. Previously this data was incorrectly assigned to itemId which is now undefined in list-level checks.
    • itemIds is now set in field-level updateMany mutation checks (previously undefined).
    • itemId is now set in field-level updateMany mutation checks (previously undefined). This is the ID of the item currently being checked.
    • itemId is now properly set in field-level updateSingle mutation checks (previously undefined).
    • All field-level access control checks now have gqlName properly set (previously undefined).
  • 0fbc5b98 #2882 Thanks @Vultraz! - The cookieSecret option no longer defaults to a static value. It is now required in production mode. In development mode, if undefined, a random new value is generated each time the server is started.

  • da1359df #2861 Thanks @timleslie! - Moved the cookie configuration from individual options to an object which is passed directly to the express-session middleware.
    Previously you could only set secure and maxAge via secureCookies and cookieMaxAge.
    These options have been removed.
    You can now set a config option called cookie which can contain secure and maxAge, as well as domain, expires, httpOnly, path and sameSite.

    The sameSite option is now explicitly defaulted to false.

    See the express-session middleware docs for more details on these options..

    Default

    const keystone = new Keystone({
      cookie: {
        // domain: undefined,
        // expires: undefined,
        // httpOnly: true,
        maxAge: 1000 * 60 * 60 * 24 * 30, // 30 days
        sameSite: false,
        // path: '/',
        secure: process.env.NODE_ENV === 'production', // Defaults to true in production
      },
    });

Minor Changes

  • 9bad0e5f #2660 Thanks @Vultraz! - Added new sortBy query argument.

    Each list now has an additional Sort<List>By enum type that represents the valid sorting options for all orderable fields in the list. sortBy takes one or more of these enum types, allowing for multi-field/column sorting.

Patch Changes

@keystonejs/session@7.0.0

Major Changes

  • 0fbc5b98 #2882 Thanks @Vultraz! - The cookieSecret option no longer defaults to a static value. It is now required in production mode. In development mode, if undefined, a random new value is generated each time the server is started.

  • da1359df #2861 Thanks @timleslie! - Moved the cookie configuration from individual options to an object which is passed directly to the express-session middleware.
    Previously you could only set secure and maxAge via secureCookies and cookieMaxAge.
    These options have been removed.
    You can now set a config option called cookie which can contain secure and maxAge, as well as domain, expires, httpOnly, path and sameSite.

    The sameSite option is now explicitly defaulted to false.

    See the express-session middleware docs for more details on these options..

    Default

    const keystone = new Keystone({
      cookie: {
        // domain: undefined,
        // expires: undefined,
        // httpOnly: true,
        maxAge: 1000 * 60 * 60 * 24 * 30, // 30 days
        sameSite: false,
        // path: '/',
        secure: process.env.NODE_ENV === 'production', // Defaults to true in production
      },
    });

@keystonejs/adapter-mongoose@8.1.0

Minor Changes

  • 9bad0e5f #2660 Thanks @Vultraz! - Added new sortBy query argument.

    Each list now has an additional Sort<List>By enum type that represents the valid sorting options for all orderable fields in the list. sortBy takes one or more of these enum types, allowing for multi-field/column sorting.

Patch Changes

@keystonejs/mongo-join-builder@7.1.0

Minor Changes

  • 9bad0e5f #2660 Thanks @Vultraz! - Added new sortBy query argument.

    Each list now has an additional Sort<List>By enum type that represents the valid sorting options for all orderable fields in the list. sortBy takes one or more of these enum types, allowing for multi-field/column sorting.

Patch Changes

  • e765ad20 #2866 Thanks @Vultraz! - Updated mongodb and mongoose dependencies to latest version.

  • Updated dependencies [e0e3e30a]:

    • @keystonejs/utils@5.4.1

@keystonejs/app-graphql-playground@5.1.3

Patch Changes

@keystonejs/app-graphql@5.1.7

Patch Changes

  • Updated dependencies [e0e3e30a, 0fbc5b98, da1359df]:
    • @keystonejs/utils@5.4.1
    • @keystonejs/session@7.0.0
    • @keystonejs/app-graphql-playground@5.1.3

@arch-ui/day-picker@0.0.26

Patch Changes

@arch-ui/options@0.0.21

Patch Changes

@arch-ui/popout@0.0.19

Patch Changes

@keystonejs/auth-passport@5.1.7

Patch Changes

@keystonejs/auth-password@5.1.7

Patch Changes

@keystonejs/build-field-types@5.2.7

Patch Changes

create-keystone-app@3.1.2

Patch Changes

  • Updated dependencies [babed628, 9bad0e5f, e765ad20]:
    • @keystonejs/adapter-knex@10.0.0
    • @keystonejs/adapter-mongoose@8.1.0

@keystonejs/email@5.1.5

Patch Changes

@keystonejs/fields-authed-relationship@1.0.4

Patch Changes

@keystonejs/fields-auto-increment@5.1.7

Patch Changes

@keystonejs/fields-datetime-utc@5.1.7

Patch Changes

@keystonejs/fields-markdown@5.1.10

Patch Changes

@keystonejs/fields-mongoid@5.1.9

Patch Changes

@keystonejs/fields-wysiwyg-tinymce@5.2.7

Patch Changes

@keystonejs/list-plugins@5.2.1

Patch Changes

@keystonejs/test-utils@6.1.2

Patch Changes

@keystonejs/utils@5.4.1

Patch Changes

@keystonejs/api-tests@5.4.3

Patch Changes

@keystonejs/benchmarks@5.1.8

Patch Changes

@keystonejs/demo-project-blog@5.3.4

Patch Changes

@keystonejs/demo-custom-fields@1.0.1

Patch Changes

@keystonejs/demo-project-meetup@5.1.12

Patch Changes

@keystonejs/demo-project-todo@5.1.7

Patch Changes

@arch-ui/docs@1.1.21

Patch Changes

  • Updated dependencies [216e6dec]:
    • @arch-ui/popout@0.0.19

@keystonejs/example-projects-blank@5.0.5

Patch Changes

@keystonejs/example-projects-nuxt@5.0.7

Patch Changes

@keystonejs/example-projects-starter@5.0.7

Patch Changes

@keystonejs/example-projects-todo@5.0.7

Patch Changes

@keystonejs/cypress-project-access-control@5.1.8

Patch Changes

@keystonejs/cypress-project-basic@5.1.10

Patch Changes

@keystonejs/cypress-project-client-validation@5.1.10

Patch Changes

@keystonejs/cypress-project-login@5.1.8

Patch Changes

@keystonejs/cypress-project-social-login@5.1.8

Patch Changes

@keystonejs/website@5.3.5

Patch Changes

@github-actions github-actions bot force-pushed the changeset-release/master branch 30 times, most recently from f085f56 to b3ecfa0 Compare May 7, 2020 04:51
Copy link
Contributor

@timleslie timleslie left a comment

Choose a reason for hiding this comment

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

🚢

Copy link
Contributor

@timleslie timleslie left a comment

Choose a reason for hiding this comment

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

🚢

@timleslie timleslie merged commit bd467a6 into master May 7, 2020
@timleslie timleslie deleted the changeset-release/master branch May 7, 2020 23:04
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