Skip to content

Commit

Permalink
Version: bump 0.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Oct 19, 2024
1 parent 8482936 commit 848f91f
Show file tree
Hide file tree
Showing 23 changed files with 38 additions and 34 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

### [0.7.3] - 2024-10-19

- Upgrade PHP 8.3 runtime (fixes for curl, opcache)

### [0.7.2] - 2024-09-30

- Upgrade PHP 8.3 runtime
Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Second file `vercel.json` is pure gold here. Setup your project with configurati
{
"functions": {
"api/*.php": {
"runtime": "[email protected].2"
"runtime": "[email protected].3"
}
}
}
Expand Down Expand Up @@ -90,7 +90,7 @@ Are you ready to deploy your first PHP project to Vercel? Click & Go!
## 💯 Versions

- `[email protected].2` - Node autodetect / PHP 8.3.x (https://example-php-8-3.vercel.app)
- `[email protected].3` - Node autodetect / PHP 8.3.x (https://example-php-8-3.vercel.app)
- `[email protected]` - Node autodetect / PHP 8.2.x (https://example-php-8-2.vercel.app)
- `[email protected]` - Node autodetect / PHP 8.1.x (https://example-php-8-1.vercel.app)
- `[email protected]` - Node autodetect / PHP 8.0.x (https://example-php-8-0.vercel.app)
Expand All @@ -107,7 +107,7 @@ If you need to route everything to index, use `routes` property.
{
"functions": {
"api/*.php": {
"runtime": "[email protected].2"
"runtime": "[email protected].3"
}
},
"routes": [
Expand Down Expand Up @@ -182,19 +182,19 @@ project
{
"functions": {
"api/*.php": {
"runtime": "[email protected].2"
"runtime": "[email protected].3"
},
// Can be list also directly
"api/index.php": {
"runtime": "[email protected].2"
"runtime": "[email protected].3"
},
"api/users.php": {
"runtime": "[email protected].2"
"runtime": "[email protected].3"
},
"api/books.php": {
"runtime": "[email protected].2"
"runtime": "[email protected].3"
}
}
}
Expand All @@ -209,7 +209,7 @@ project
{
"functions": {
"api/index.php": {
"runtime": "[email protected].2"
"runtime": "[email protected].3"
}
},
"routes": [
Expand All @@ -229,7 +229,7 @@ Additional function properties are `memory`, `maxDuration`. Learn more about [fu
{
"functions": {
"api/*.php": {
"runtime": "[email protected].2",
"runtime": "[email protected].3",
"memory": 3008,
"maxDuration": 60
}
Expand All @@ -256,7 +256,7 @@ project
{
"functions": {
"api/*.php": {
"runtime": "[email protected].2"
"runtime": "[email protected].3"
}
}
}
Expand Down Expand Up @@ -295,7 +295,7 @@ project
{
"functions": {
"api/*.php": {
"runtime": "[email protected].2"
"runtime": "[email protected].3"
}
}
}
Expand All @@ -320,7 +320,7 @@ Runtimes support excluding some files or folders, [take a look at doc](https://v
{
"functions": {
"api/**/*.php": {
"runtime": "[email protected].2",
"runtime": "[email protected].3",
"excludeFiles": "{foo/**,bar/config/*.yaml}",
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/examples/00-php/vercel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"functions": {
"api/**/*.php": {
"runtime": "[email protected].2"
"runtime": "[email protected].3"
}
},
"routes": [
Expand Down
2 changes: 1 addition & 1 deletion test/examples/00-test/vercel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"functions": {
"api/*.php": {
"runtime": "[email protected].2"
"runtime": "[email protected].3"
}
},
"routes": [
Expand Down
4 changes: 2 additions & 2 deletions test/examples/01-cowsay/vercel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 2,
"builds": [
{ "src": "index.php", "use": "[email protected].2" },
{ "src": "subdirectory/index.php", "use": "[email protected].2" }
{ "src": "index.php", "use": "[email protected].3" },
{ "src": "subdirectory/index.php", "use": "[email protected].3" }
]
}
2 changes: 1 addition & 1 deletion test/examples/02-extensions/vercel.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": 2,
"builds": [{ "src": "index.php", "use": "[email protected].2" }]
"builds": [{ "src": "index.php", "use": "[email protected].3" }]
}
2 changes: 1 addition & 1 deletion test/examples/03-env-vars/vercel.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": 2,
"builds": [{ "src": "env/index.php", "use": "[email protected].2" }]
"builds": [{ "src": "env/index.php", "use": "[email protected].3" }]
}
2 changes: 1 addition & 1 deletion test/examples/04-include-files/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"builds": [
{
"src": "index.php",
"use": "[email protected].2",
"use": "[email protected].3",
"config": { "includeFiles": ["included*.php"] }
}
]
Expand Down
2 changes: 1 addition & 1 deletion test/examples/05-globals/vercel.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": 2,
"builds": [{ "src": "index.php", "use": "[email protected].2" }]
"builds": [{ "src": "index.php", "use": "[email protected].3" }]
}
2 changes: 1 addition & 1 deletion test/examples/06-setcookie/vercel.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": 2,
"builds": [{ "src": "index.php", "use": "[email protected].2" }]
"builds": [{ "src": "index.php", "use": "[email protected].3" }]
}
2 changes: 1 addition & 1 deletion test/examples/07-function/vercel.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": 2,
"builds": [{ "src": "index.php", "use": "[email protected].2" }]
"builds": [{ "src": "index.php", "use": "[email protected].3" }]
}
2 changes: 1 addition & 1 deletion test/examples/08-opcache/vercel.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": 2,
"builds": [{ "src": "index.php", "use": "[email protected].2" }]
"builds": [{ "src": "index.php", "use": "[email protected].3" }]
}
2 changes: 1 addition & 1 deletion test/examples/09-routes/vercel.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": 2,
"builds": [{ "src": "index.php", "use": "[email protected].2" }],
"builds": [{ "src": "index.php", "use": "[email protected].3" }],
"routes": [{ "src": "/(.*)", "dest": "index.php" }]
}
2 changes: 1 addition & 1 deletion test/examples/10-composer-builds/vercel.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": 2,
"builds": [{ "src": "index.php", "use": "[email protected].2" }],
"builds": [{ "src": "index.php", "use": "[email protected].3" }],
"build": {
"env": {
"NOW_BUILDER_DEBUG": "1"
Expand Down
2 changes: 1 addition & 1 deletion test/examples/11-composer-env/vercel.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": 2,
"builds": [{ "src": "index.php", "use": "[email protected].2" }],
"builds": [{ "src": "index.php", "use": "[email protected].3" }],
"build": {
"env": {
"COMPOSER": "composer-test.json"
Expand Down
2 changes: 1 addition & 1 deletion test/examples/12-composer/vercel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"functions": {
"api/index.php": {
"runtime": "[email protected].2"
"runtime": "[email protected].3"
}
},
"routes": [
Expand Down
2 changes: 1 addition & 1 deletion test/examples/13-composer-scripts/vercel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"functions": {
"api/index.php": {
"runtime": "[email protected].2"
"runtime": "[email protected].3"
}
},
"routes": [
Expand Down
2 changes: 1 addition & 1 deletion test/examples/14-folders/vercel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"functions": {
"api/**/*.php": {
"runtime": "[email protected].2"
"runtime": "[email protected].3"
}
},
"routes": [
Expand Down
2 changes: 1 addition & 1 deletion test/examples/16-php-ini/vercel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"functions": {
"api/*.php": {
"runtime": "[email protected].2"
"runtime": "[email protected].3"
}
},
"routes": [
Expand Down
2 changes: 1 addition & 1 deletion test/examples/17-zero/vercel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"functions": {
"api/**/*.php": {
"runtime": "[email protected].2"
"runtime": "[email protected].3"
}
},
"build": {
Expand Down
2 changes: 1 addition & 1 deletion test/examples/18-exclude-files/vercel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"functions": {
"api/**/*.php": {
"runtime": "[email protected].2",
"runtime": "[email protected].3",
"excludeFiles": "foo/**"
}
},
Expand Down
2 changes: 1 addition & 1 deletion test/examples/19-server-workers/vercel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"functions": {
"api/*.php": {
"runtime": "[email protected].2"
"runtime": "[email protected].3"
}
},
"env": {
Expand Down
2 changes: 1 addition & 1 deletion test/examples/20-read-files/vercel.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"functions": {
"api/*.php": {
"runtime": "[email protected].2"
"runtime": "[email protected].3"
}
},
"routes": [
Expand Down

0 comments on commit 848f91f

Please sign in to comment.