Skip to content

Commit 5d8e983

Browse files
authored
Merge pull request #2687 from flow-php/chore-deps-updated
chore(flow-php/flow): update dependencies
2 parents 66a7e26 + ecd9415 commit 5d8e983

69 files changed

Lines changed: 468 additions & 570 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/baseline.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
./build/flow.phar --version
5959
6060
- name: "Upload Flow PHAR for Docker build"
61-
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
61+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
6262
with:
6363
name: "docker-phar"
6464
path: "build/flow.phar"
@@ -72,7 +72,7 @@ jobs:
7272
BUILD_TAG=${GITHUB_SHA:0:7}
7373
echo "BUILD_TAG=$BUILD_TAG" >> "$GITHUB_ENV"
7474
75-
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
75+
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
7676
with:
7777
name: flow-${{ env.BUILD_TAG }}.phar
7878
path: build/flow.phar
@@ -147,7 +147,7 @@ jobs:
147147
run: "just docs-api"
148148

149149
- name: "Setup Node.js"
150-
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
150+
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
151151
with:
152152
node-version: '20'
153153

‎.github/workflows/job-docker-image.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
persist-credentials: false
5151

5252
- name: "Download Flow PHAR"
53-
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
53+
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
5454
with:
5555
name: "${{ inputs.phar-artifact }}"
5656
path: "build"
@@ -103,7 +103,7 @@ jobs:
103103
touch "${DIGESTS_DIR}/${DIGEST#sha256:}"
104104
105105
- name: "Upload digest"
106-
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
106+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
107107
with:
108108
name: "digests-${{ env.PLATFORM_PAIR }}"
109109
path: "${{ runner.temp }}/digests/*"
@@ -121,7 +121,7 @@ jobs:
121121

122122
steps:
123123
- name: "Download digests"
124-
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
124+
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
125125
with:
126126
path: "${{ runner.temp }}/digests"
127127
pattern: "digests-*"

‎.github/workflows/job-tests.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
uses: "./.github/actions/pg-query-ext"
119119

120120
- name: Set up Node.js
121-
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
121+
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
122122
with:
123123
node-version: '22'
124124

‎.github/workflows/pr-check.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
permissions:
1919
pull-requests: write
2020
steps:
21-
- uses: codelytv/pr-size-labeler@095a41fca88b8764fd9e008ad269bcdb82bb38b9 # v1.10.4
21+
- uses: codelytv/pr-size-labeler@19c335e7695ba922de938806dd129f0a9b992644 # v1.12.0
2222
with:
2323
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
2424
xs_label: 'size: XS'

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
./build/flow.phar
6666
6767
- name: "Upload Flow PHAR for Docker build"
68-
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
68+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
6969
with:
7070
name: "docker-phar"
7171
path: "build/flow.phar"

‎.github/workflows/test-website.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
run: "just phar"
4747

4848
- name: "Upload Flow PHAR"
49-
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
49+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
5050
with:
5151
name: "website-flow-phar"
5252
path: "web/landing/assets/wasm/tools/flow.phar"
@@ -87,7 +87,7 @@ jobs:
8787
composer-file: "web/landing/composer.lock"
8888

8989
- name: "Setup Node.js"
90-
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
90+
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
9191
with:
9292
node-version: "22"
9393

@@ -112,7 +112,7 @@ jobs:
112112
# replaces the committed phar so the playground runs this commit's Flow, not whatever was
113113
# last checked in
114114
- name: "Download Flow PHAR"
115-
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
115+
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
116116
with:
117117
name: "website-flow-phar"
118118
path: "web/landing/assets/wasm/tools"

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"ext-zlib": "*",
2323
"composer-runtime-api": "^2.2",
2424
"async-aws/s3": "^2.6 || ^3.0",
25-
"brick/math": "^0.12 || ^0.13 || ^0.14 || ^0.15 || ^0.16 || ^0.17 || ^0.18",
25+
"brick/math": "^0.12 || ^0.13 || ^0.14 || ^0.15 || ^0.16 || ^0.17 || ^0.18 || ^1.0",
2626
"cmsig/seal": "^0.12",
2727
"coduo/php-humanizer": "^5.0",
2828
"cuyz/valinor": "^2.4",

‎composer.lock‎

Lines changed: 31 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎documentation/upgrading.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@ Upgrading from older versions: [0.35.x to 0.40.x](/documentation/upgrading-0.35-
99

1010
---
1111

12+
## Upgrading from 0.46.x to 0.47.x
13+
14+
### 1) `flow-php/types` - leaf types are no longer generic
15+
16+
| Before | After |
17+
|---------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------|
18+
| `StringType<string>`, `DateTimeType<\DateTimeInterface>`, `UuidType<Uuid>`, ... | `StringType`, `DateTimeType`, `UuidType` - leaf types implement `Type<string>`, ... directly |
19+
| `ListType<list<T>>`, `MapType<array<TKey, TValue>>` | `ListType<T>`, `MapType<TKey, TValue>` |
20+
| Mago `plugins = ["flow-php"]` infers `type_structure()` shapes | Built-in plugin no longer infers them - use `flow-php/mago-types-bridge` (`plugins = ["flow/types"]`) |
21+
22+
---
23+
1224
## Upgrading from 0.45.x to 0.46.x
1325

1426
### 1) `flow-php/etl-adapter-postgresql`, `flow-php/etl-adapter-doctrine` - keyset reads reject NULL keys up front

‎src/adapter/etl-adapter-json/src/Flow/ETL/Adapter/JSON/AdaptiveJsonEncoder.php‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ public function __construct(
3030
&& (
3131
$flags
3232
& ~(JSON_THROW_ON_ERROR | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_PRESERVE_ZERO_FRACTION)
33-
)
34-
=== 0
33+
) === 0
3534
? new RustJsonEncoder($flags, $dateTimeFormat, $dateFormat, $php)
3635
: $php;
3736
}

0 commit comments

Comments
 (0)