@frontastic/common 2.39.0 → 2.40.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/CHANGELOG.md CHANGED
@@ -1,4 +1,19 @@
1
1
 
2
+ ## Version 2.40.1 (2023-02-08)
3
+
4
+ ** Bug fixes **
5
+
6
+ - Correctly handle boolean filter values in product searches
7
+
8
+ ## Version 2.40.0 (2022-12-20)
9
+
10
+ ** New Features and Improvements **
11
+
12
+ - Upgrade Shopify API to version 2022-10. Unfortunately this includes some backwards compatibility breaks:
13
+ - Shopify does no longer base64 encode IDs. We still en-/decode the IDs in our domain model but not within the unmapped data.
14
+ - Shopify does no longer return the first 10 metafields so they need to be requested explicitly.
15
+ - Shopify removed the xxxV2 money field names. We adjusted the mapping of the domain model but the data within the unmapped data has changed.
16
+
2
17
  ## Version 2.39.0 (2022-12-13)
3
18
 
4
19
  ** Bug fixes **
package/composer.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "frontastic/common",
3
3
  "license": "None",
4
- "version": "2.39.0",
4
+ "version": "2.40.1",
5
5
  "repositories": [
6
6
  {
7
7
  "type": "path",
package/docs/README.md CHANGED
@@ -306,6 +306,7 @@ Here you find the API documentation for the relevant classes:
306
306
  * [QueryException](php/ShopifyBundle/Domain/Exception/QueryException.md)
307
307
  * Mapper
308
308
  * [ShopifyAccountMapper](php/ShopifyBundle/Domain/Mapper/ShopifyAccountMapper.md)
309
+ * [ShopifyIdMapper](php/ShopifyBundle/Domain/Mapper/ShopifyIdMapper.md)
309
310
  * [ShopifyProductMapper](php/ShopifyBundle/Domain/Mapper/ShopifyProductMapper.md)
310
311
  * ProductApi
311
312
  * [ShopifyProductApi](php/ShopifyBundle/Domain/ProductApi/ShopifyProductApi.md)
@@ -0,0 +1,53 @@
1
+ # ShopifyIdMapper
2
+
3
+ **Fully Qualified**: [`\Frontastic\Common\ShopifyBundle\Domain\Mapper\ShopifyIdMapper`](../../../../../src/php/ShopifyBundle/Domain/Mapper/ShopifyIdMapper.php)
4
+
5
+ ## Methods
6
+
7
+ * [mapDataToId()](#mapdatatoid)
8
+ * [mapIdToData()](#mapidtodata)
9
+ * [mapIdsToData()](#mapidstodata)
10
+
11
+ ### mapDataToId()
12
+
13
+ ```php
14
+ static public function mapDataToId(
15
+ ?string $id
16
+ ): ?string
17
+ ```
18
+
19
+ Argument|Type|Default|Description
20
+ --------|----|-------|-----------
21
+ `$id`|`?string`||
22
+
23
+ Return Value: `?string`
24
+
25
+ ### mapIdToData()
26
+
27
+ ```php
28
+ static public function mapIdToData(
29
+ ?string $id
30
+ ): ?string
31
+ ```
32
+
33
+ Argument|Type|Default|Description
34
+ --------|----|-------|-----------
35
+ `$id`|`?string`||
36
+
37
+ Return Value: `?string`
38
+
39
+ ### mapIdsToData()
40
+
41
+ ```php
42
+ static public function mapIdsToData(
43
+ array $ids
44
+ ): array
45
+ ```
46
+
47
+ Argument|Type|Default|Description
48
+ --------|----|-------|-----------
49
+ `$ids`|`array`||
50
+
51
+ Return Value: `array`
52
+
53
+ Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontastic/common",
3
- "version": "2.39.0",
3
+ "version": "2.40.1",
4
4
  "devDependencies": {
5
5
  "@babel/core": "7.5.4",
6
6
  "@babel/plugin-proposal-class-properties": "^7.5.0",