@shopware/api-gen 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -20,13 +20,13 @@ npm install -D @shopware/api-gen
20
20
  yarn add -D @shopware/api-gen
21
21
 
22
22
  # pnpm
23
- pnpm install -D @shopware/api-gen
23
+ pnpm add -D @shopware/api-gen
24
24
 
25
25
  # bun
26
26
  bun install -D @shopware/api-gen
27
27
 
28
28
  # deno
29
- deno install --dev @shopware/api-gen
29
+ deno install --dev npm:@shopware/api-gen
30
30
  ```
31
31
 
32
32
  <!-- /automd -->
@@ -338,7 +338,7 @@ Each command can also be used programmatically within your own scripts:
338
338
  ```ts
339
339
  import { generate } from "@shopware/api-gen";
340
340
 
341
- await generate({
341
+ await generate({
342
342
  cwd: process.cwd(),
343
343
  filename: "storeApiTypes.ts",
344
344
  apiType: "store",
@@ -391,7 +391,7 @@ await split({
391
391
 
392
392
  ## Links
393
393
 
394
- - [📘 Documentation](https://frontends.shopware.com)
394
+ - [📘 Documentation](https://developer.shopware.com/frontends)
395
395
 
396
396
  - [👥 Community Discord](https://discord.com/channels/1308047705309708348/1405501315160739951) (`#composable-frontend` channel)
397
397
 
@@ -401,13 +401,15 @@ await split({
401
401
 
402
402
  Full changelog for stable version is available [here](https://github.com/shopware/frontends/blob/main/packages/api-gen/CHANGELOG.md)
403
403
 
404
- ### Latest changes: 1.5.0
404
+ ### Latest changes: 1.5.1
405
405
 
406
- ### Minor Changes
406
+ ### Patch Changes
407
407
 
408
- - [#2262](https://github.com/shopware/frontends/pull/2262) [`7a20ea0`](https://github.com/shopware/frontends/commit/7a20ea0454ee237c772e532a03408477e968a958) Thanks [@mkucmus](https://github.com/mkucmus)! - Added support for `client_credentials` grant type authentication when loading Admin API schema. Set `SHOPWARE_ADMIN_CLIENT_SECRET` and `SHOPWARE_ADMIN_CLIENT_ID`environment variables to use integration credentials instead of username/password.
408
+ - [#2575](https://github.com/shopware/frontends/pull/2575) [`1e8a64c`](https://github.com/shopware/frontends/commit/1e8a64c71197484e2c8d2a2f148f3f29ab63bccd) Thanks [@patzick](https://github.com/patzick)! - Support OpenAPI `const` schema values during type generation.
409
409
 
410
- ### Patch Changes
410
+ - [#2515](https://github.com/shopware/frontends/pull/2515) [`978b02c`](https://github.com/shopware/frontends/commit/978b02c969ca4b16f5fc1d7a953ec4cce3d98173) Thanks [@patzick](https://github.com/patzick)! - Generate `customFields` properties with a dedicated `CustomFields` type instead of the broader `GenericRecord` type.
411
+
412
+ - [#2516](https://github.com/shopware/frontends/pull/2516) [`13a3766`](https://github.com/shopware/frontends/commit/13a37660fbbf63054b9e7d02f39d161bb7f2b065) Thanks [@patzick](https://github.com/patzick)! - Use `oxfmt` instead of Prettier for generated API files.
411
413
 
412
- - Updated dependencies [[`9604f22`](https://github.com/shopware/frontends/commit/9604f22678150d04c3c3156fd8ee2ce440c8c8bf), [`b5f7e2a`](https://github.com/shopware/frontends/commit/b5f7e2a20c9dfdde1690e9006252d847f732bc0a), [`9604f22`](https://github.com/shopware/frontends/commit/9604f22678150d04c3c3156fd8ee2ce440c8c8bf)]:
413
- - @shopware/api-client@1.5.0
414
+ - Updated dependencies [[`b767721`](https://github.com/shopware/frontends/commit/b767721847bf3391f9067eca7a045089fb22fce0), [`978b02c`](https://github.com/shopware/frontends/commit/978b02c969ca4b16f5fc1d7a953ec4cce3d98173), [`33facb1`](https://github.com/shopware/frontends/commit/33facb178792c8cb26b47ab984ac48c08ab4b72b), [`9137475`](https://github.com/shopware/frontends/commit/91374753cedb2034385f642e6af11314f2971caa), [`474d3fe`](https://github.com/shopware/frontends/commit/474d3fed346816135b0c7c797990b215a8b691c0)]:
415
+ - @shopware/api-client@1.5.1