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

ci: release #7216

Merged
merged 1 commit into from
Jul 16, 2024
Merged

ci: release #7216

merged 1 commit into from
Jul 16, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jul 12, 2024

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 main, this PR will be updated.

Releases

@vue-storefront/middleware@4.3.0

Minor Changes

  • [ADDED] Added factory function for the extension API. Previously the extension API was an object with a set of methods. Now it can be created using a factory function the same way as the base API.

Previously only object was allowed:

export const extension: ApiClientExtension = {
  name: "extension",
  extendApiMethods: {
    ...extendedMethods, //methods as an object
  },
};

Now you can either use an object or a factory function:

export const extension: ApiClientExtension = {
  name: "extension",
  // methods as a factory function with injected config object
  extendApiMethods: ({ config }) => {
    return createMyMethods(config);
  },
};

@github-actions github-actions bot requested a review from a team as a code owner July 12, 2024 08:07
@github-actions github-actions bot force-pushed the changeset-release/main branch 3 times, most recently from fe1e4d3 to 527fc73 Compare July 16, 2024 10:10
@github-actions github-actions bot force-pushed the changeset-release/main branch from 527fc73 to a7a6f2c Compare July 16, 2024 10:46
@sethidden sethidden mentioned this pull request Jul 16, 2024
8 tasks
@bartoszherba bartoszherba merged commit 468047a into main Jul 16, 2024
1 check passed
sethidden pushed a commit that referenced this pull request Aug 20, 2024
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

1 participant