Skip to content

Commit 657da18

Browse files
authored
Merge branch 'tempestphp:main' into feat/variadic-command
2 parents ee9be70 + a572b26 commit 657da18

Some content is hidden

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

50 files changed

+3413
-35
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [2.0.4](https://github.com/tempestphp/tempest-framework/compare/v2.0.3..2.0.4) — 2025-09-25
6+
7+
### 🐛 Bug fixes
8+
9+
- **database**: nullable belongsto relations (#1575) ([fc77327](https://github.com/tempestphp/tempest-framework/commit/fc77327b6fba77ad972b83cf9ec1f26550208ab0))
10+
11+
512
## [2.0.2](https://github.com/tempestphp/tempest-framework/compare/v2.0.1..v2.0.2) — 2025-09-18
613

714
### 🐛 Bug fixes
@@ -557,7 +564,7 @@ All notable changes to this project will be documented in this file.
557564
- rector (#680) ([7fdff1d](https://github.com/tempestphp/tempest-framework/commit/7fdff1d7be48ab91fb35e1a07434ae54ef47781c))
558565

559566

560-
## [1.0.0-alpha.3](https://github.com/tempestphp/tempest-framework/compare/v1.0.0-alpha.2..v1.0.0-alpha.3) — 2024-10-31
567+
## [1.0.0-alpha.3](https://github.com/tempestphp/tempest-framework/compare/v1.0.0-alpha.2..v1.0.0-alpha.3) — 2024-10-30
561568

562569
### 🚨 Breaking changes
563570

composer.json

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"league/commonmark": "^2.7",
2121
"league/flysystem": "^3.29.1",
2222
"league/mime-type-detection": "^1.16",
23+
"league/oauth2-client": "^2.8",
2324
"monolog/monolog": "^3.7.0",
2425
"nette/php-generator": "^4.1.6",
2526
"nikic/php-parser": "^5.3",
@@ -45,9 +46,11 @@
4546
"voku/portable-ascii": "^2.0.3"
4647
},
4748
"require-dev": {
49+
"adam-paterson/oauth2-slack": "^1.1",
4850
"aws/aws-sdk-php": "^3.338.0",
4951
"azure-oss/storage-blob-flysystem": "^1.2",
50-
"carthage-software/mago": "^1.0.0-beta.16",
52+
"carthage-software/mago": "1.0.0-beta.24",
53+
"depotwarehouse/oauth2-twitch": "^1.3",
5154
"guzzlehttp/psr7": "^2.6.1",
5255
"league/flysystem-aws-s3-v3": "^3.25.1",
5356
"league/flysystem-ftp": "^3.25.1",
@@ -57,23 +60,34 @@
5760
"league/flysystem-read-only": "^3.25.1",
5861
"league/flysystem-sftp-v3": "^3.25.1",
5962
"league/flysystem-ziparchive": "^3.25.1",
63+
"league/oauth2-facebook": "^2.0",
64+
"league/oauth2-github": "^3.1",
65+
"league/oauth2-google": "^4.0",
66+
"league/oauth2-instagram": "^3.0",
67+
"league/oauth2-linkedin": "^5.1",
6068
"masterminds/html5": "^2.9",
6169
"microsoft/azure-storage-blob": "^1.5",
6270
"mikey179/vfsstream": "^2.0@dev",
6371
"nesbot/carbon": "^3.8",
6472
"nyholm/psr7": "^1.8",
73+
"patrickbussmann/oauth2-apple": "^0.3",
6574
"phpat/phpat": "^0.11.0",
6675
"phpbench/phpbench": "84.x-dev",
6776
"phpstan/phpstan": "^2.0",
6877
"phpunit/phpunit": "^12.2.3",
6978
"predis/predis": "^3.0.0",
79+
"riskio/oauth2-auth0": "^2.4",
80+
"smolblog/oauth2-twitter": "^1.0",
7081
"spatie/phpunit-snapshot-assertions": "^5.1.8",
7182
"spaze/phpstan-disallowed-calls": "^4.0",
83+
"stevenmaguire/oauth2-microsoft": "^2.2",
7284
"symfony/amazon-mailer": "^7.2.0",
7385
"symfony/postmark-mailer": "^7.2.6",
7486
"symplify/monorepo-builder": "^11.2",
7587
"tempest/blade": "dev-main",
76-
"twig/twig": "^3.16"
88+
"thenetworg/oauth2-azure": "^2.2",
89+
"twig/twig": "^3.16",
90+
"wohali/oauth2-discord-new": "^1.2"
7791
},
7892
"replace": {
7993
"tempest/auth": "self.version",
@@ -179,13 +193,15 @@
179193
"packages/support/src/Regex/functions.php",
180194
"packages/support/src/Str/constants.php",
181195
"packages/support/src/Str/functions.php",
196+
"packages/support/src/Uri/functions.php",
182197
"packages/support/src/functions.php",
183198
"packages/view/src/functions.php",
184199
"packages/vite/src/functions.php"
185200
]
186201
},
187202
"autoload-dev": {
188203
"psr-4": {
204+
"Tempest\\Auth\\Tests\\": "packages/auth/tests",
189205
"Tempest\\Cache\\Tests\\": "packages/cache/tests",
190206
"Tempest\\Clock\\Tests\\": "packages/clock/tests",
191207
"Tempest\\CommandBus\\Tests\\": "packages/command-bus/tests",

docs/0-getting-started/01-introduction.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,13 @@ The benefit of starting from scratch like Tempest did is having a clean slate. T
2626
Just to name a couple of examples, Tempest uses property hooks:
2727

2828
```php
29-
interface DatabaseMigration
29+
interface MigratesUp
3030
{
3131
public string $name {
3232
get;
3333
}
3434

35-
public function up(): ?QueryStatement;
36-
37-
public function down(): ?QueryStatement;
35+
public function up(): QueryStatement;
3836
}
3937
```
4038

docs/1-essentials/05-container.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ final readonly class BookController
335335

336336
While constructor injection is almost always the preferred way to go, Tempest also offers the ability to inject values straight into properties, without them being requested by the constructor.
337337

338-
You may mark any property—public, protected, or private—with the `#[Inject]` attribute. Whenever a class instance is resolved via the container, its properties marked for injection will be provided the right value.
338+
You may mark any property—public, protected, or private—with the `#[Inject]` attribute. Whenever a class instance is resolved via the container, its properties marked for injection will be provided the right value. Tagged singletons may also be injected using the optional `tag` parameter of the `#[Inject]` attribute.
339339

340340
```php Tempest/Console/src/HasConsole.php
341341
use Tempest\Container\Inject;

0 commit comments

Comments
 (0)