@frontastic/common 2.36.0 → 2.38.0

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,20 @@
1
1
 
2
+ ## Version 2.38.0 (2022-12-02)
3
+
4
+ ** New Features and Improvements **
5
+
6
+ - Add PHP 8.1 compatibility
7
+
8
+ ## Version 2.37.0 (2022-11-08)
9
+
10
+ ** New Features and Improvements **
11
+
12
+ - Allow fetching categories by ID from commercetools
13
+
14
+ ** Bug fixes **
15
+
16
+ - Don't throw an exception in the replicator on unknown field names
17
+
2
18
  ## Version 2.36.0 (2022-09-20)
3
19
 
4
20
  ** New Features and Improvements **
package/composer.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "frontastic/common",
3
3
  "license": "None",
4
- "version": "2.36.0",
4
+ "version": "2.38.0",
5
5
  "repositories": [
6
6
  {
7
7
  "type": "path",
@@ -31,7 +31,7 @@
31
31
  "domnikl/statsd": "^2.6",
32
32
  "guzzlehttp/guzzle": "^6.3",
33
33
  "justinrainbow/json-schema": "@stable",
34
- "kore/data-object": "@stable",
34
+ "frontastic/data-object": "@stable",
35
35
  "league/oauth2-client": "^2.3",
36
36
  "myclabs/deep-copy": "^1.0",
37
37
  "qafoolabs/no-framework-bundle": "^2.6",
@@ -51,11 +51,11 @@
51
51
  "doctrine/common": "^2.9",
52
52
  "frontastic/apidocs": "@dev",
53
53
  "pdepend/pdepend": "@stable",
54
- "phake/phake": "^3.1",
54
+ "phake/phake": "^4.0",
55
55
  "phploc/phploc": "@stable",
56
56
  "phpmd/phpmd": "@stable",
57
57
  "phpstan/phpstan": "0.12.25",
58
- "phpunit/phpunit": "^7",
58
+ "phpunit/phpunit": "^8",
59
59
  "sebastian/phpcpd": "@stable",
60
60
  "squizlabs/php_codesniffer": "@stable",
61
61
  "symfony/swiftmailer-bundle": "^3.4"
@@ -36,6 +36,8 @@ Property|Type|Default|Required|Description
36
36
  * [cleanForSession()](#cleanforsession)
37
37
  * [serialize()](#serialize)
38
38
  * [unserialize()](#unserialize)
39
+ * [__serialize()](#__serialize)
40
+ * [__unserialize()](#__unserialize)
39
41
 
40
42
  ### setPassword()
41
43
 
@@ -149,4 +151,26 @@ Argument|Type|Default|Description
149
151
 
150
152
  Return Value: `mixed`
151
153
 
154
+ ### __serialize()
155
+
156
+ ```php
157
+ public function __serialize(): array
158
+ ```
159
+
160
+ Return Value: `array`
161
+
162
+ ### __unserialize()
163
+
164
+ ```php
165
+ public function __unserialize(
166
+ array $data
167
+ ): void
168
+ ```
169
+
170
+ Argument|Type|Default|Description
171
+ --------|----|-------|-----------
172
+ `$data`|`array`||
173
+
174
+ Return Value: `void`
175
+
152
176
  Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
@@ -34,10 +34,10 @@ Return Value: `mixed`
34
34
  ### getAggregate()
35
35
 
36
36
  ```php
37
- public function getAggregate(): mixed
37
+ public function getAggregate(): object
38
38
  ```
39
39
 
40
- Return Value: `mixed`
40
+ Return Value: `object`
41
41
 
42
42
  ### getContentTypes()
43
43
 
@@ -29,6 +29,8 @@ Return Value: `mixed`
29
29
  public function versionAction(): \Symfony\Component\HttpFoundation\JsonResponse
30
30
  ```
31
31
 
32
+ *This endpoint exists as a health check for deployments. Do NOT remove.*
33
+
32
34
  Return Value: `\Symfony\Component\HttpFoundation\JsonResponse`
33
35
 
34
36
  Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
@@ -17,6 +17,7 @@ Property|Type|Default|Required|Description
17
17
  `configuration` | `array` | `[]` | *Yes* |
18
18
  `environments` | `array` | `['production', 'staging', 'development']` | *Yes* |
19
19
  `projects` | [`Project`](Project.md)[] | `[]` | *Yes* |
20
+ `netlifyUrl` | `?string` | `null` | - |
20
21
 
21
22
  ## Methods
22
23
 
@@ -15,6 +15,7 @@ Property|Type|Default|Required|Description
15
15
  `publicUrl` | `string` | | *Yes* |
16
16
  `webpackPort` | `int` | | *Yes* |
17
17
  `ssrPort` | `int` | | *Yes* |
18
+ `encryptedFieldsPublicKey` | `string|null` | `null` | - |
18
19
  `configuration` | `array` | `[]` | *Yes* |
19
20
  `data` | `array` | `[]` | *Yes* | Additional external project data from sources like tideways. Does not follow any defined schema.
20
21
  `languages` | `string[]` | `[]` | *Yes* |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontastic/common",
3
- "version": "2.36.0",
3
+ "version": "2.38.0",
4
4
  "devDependencies": {
5
5
  "@babel/core": "7.5.4",
6
6
  "@babel/plugin-proposal-class-properties": "^7.5.0",