id
int64
0
886
original_context
stringlengths
648
56.6k
modified_context
stringlengths
587
47.6k
omitted_context
listlengths
0
19
omitted_index
listlengths
0
19
metadata
dict
0
diff --git a/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php b/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php index 09fbf4829e7..25549425b7c 100644 --- a/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php +++ b/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php @@ ...
diff --git a/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php b/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php index 09fbf4829e7..25549425b7c 100644 --- a/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php +++ b/src/Illuminate/Queue/SerializesAndRestoresModelIdentifiers.php @@ ...
[ "+ Line::create(['order_id' => $order->id, 'product_id' => $product2->id]);", "+ $serialized = serialize(new ModelRelationSerializationTestClass($order));", "+ public $timestamps = false;" ]
[ 40, 46, 63 ]
{ "additions": 48, "author": "AndrewMast", "deletions": 1, "html_url": "https://github.com/laravel/framework/pull/55547", "issue_id": 55547, "merged_at": "2025-04-25T15:21:17Z", "omission_probability": 0.1, "pr_number": 55547, "repo": "laravel/framework", "title": "[12.x] Fix double query in model r...
1
diff --git a/src/Illuminate/Database/Eloquent/Collection.php b/src/Illuminate/Database/Eloquent/Collection.php index 05ec0d345a1..1c9dad35263 100755 --- a/src/Illuminate/Database/Eloquent/Collection.php +++ b/src/Illuminate/Database/Eloquent/Collection.php @@ -761,7 +761,7 @@ public function withRelationshipAutoloading...
diff --git a/src/Illuminate/Database/Eloquent/Collection.php b/src/Illuminate/Database/Eloquent/Collection.php index 05ec0d345a1..1c9dad35263 100755 --- a/src/Illuminate/Database/Eloquent/Collection.php +++ b/src/Illuminate/Database/Eloquent/Collection.php @@ -761,7 +761,7 @@ public function withRelationshipAutoloading...
[ "- $model->autoloadRelationsUsing($callback);", "+ $model->autoloadRelationsUsing($callback, $this);", "+ }" ]
[ 8, 9, 38 ]
{ "additions": 73, "author": "litvinchuk", "deletions": 9, "html_url": "https://github.com/laravel/framework/pull/55542", "issue_id": 55542, "merged_at": "2025-04-25T15:59:34Z", "omission_probability": 0.1, "pr_number": 55542, "repo": "laravel/framework", "title": "[12.x] Improve circular relation c...
2
diff --git a/src/Illuminate/Database/Eloquent/Factories/BelongsToManyRelationship.php b/src/Illuminate/Database/Eloquent/Factories/BelongsToManyRelationship.php index da004c83bc74..fd350e6fce6c 100644 --- a/src/Illuminate/Database/Eloquent/Factories/BelongsToManyRelationship.php +++ b/src/Illuminate/Database/Eloquent/F...
diff --git a/src/Illuminate/Database/Eloquent/Factories/BelongsToManyRelationship.php b/src/Illuminate/Database/Eloquent/Factories/BelongsToManyRelationship.php index da004c83bc74..fd350e6fce6c 100644 --- a/src/Illuminate/Database/Eloquent/Factories/BelongsToManyRelationship.php +++ b/src/Illuminate/Database/Eloquent/F...
[ "+ 'states' => $this->states->prepend(", "+ public function test_factory_model_has_one_relationship_has_pending_attributes_override()", "+ (new FactoryTestPostFactory())->has(new FactoryTestCommentFactory(), 'commentsWithFooBarBazAsBody')->create();", "+ (new FactoryTestPostFactory...
[ 32, 93, 116, 123, 142 ]
{ "additions": 99, "author": "gdebrauwer", "deletions": 4, "html_url": "https://github.com/laravel/framework/pull/55558", "issue_id": 55558, "merged_at": "2025-04-25T15:08:46Z", "omission_probability": 0.1, "pr_number": 55558, "repo": "laravel/framework", "title": "[12.x] Use pendingAttributes of re...
3
diff --git a/src/Illuminate/Mail/resources/views/html/panel.blade.php b/src/Illuminate/Mail/resources/views/html/panel.blade.php index 812db7c08e77..2975a60a021e 100644 --- a/src/Illuminate/Mail/resources/views/html/panel.blade.php +++ b/src/Illuminate/Mail/resources/views/html/panel.blade.php @@ -4,7 +4,7 @@ <table w...
diff --git a/src/Illuminate/Mail/resources/views/html/panel.blade.php b/src/Illuminate/Mail/resources/views/html/panel.blade.php index 812db7c08e77..2975a60a021e 100644 --- a/src/Illuminate/Mail/resources/views/html/panel.blade.php +++ b/src/Illuminate/Mail/resources/views/html/panel.blade.php @@ -4,7 +4,7 @@ <table w...
[ "+ protected $html;", "+| Laravel | Table | Example |" ]
[ 32, 82 ]
{ "additions": 145, "author": "jbraband", "deletions": 3, "html_url": "https://github.com/laravel/framework/pull/55543", "issue_id": 55543, "merged_at": "2025-04-25T08:31:51Z", "omission_probability": 0.1, "pr_number": 55543, "repo": "laravel/framework", "title": "[11.x] Fix `EncodedHtmlString` to i...
4
diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php index fc211e179a5..b27b7110909 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php +++ b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php @@ ...
diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php index fc211e179a5..b27b7110909 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php +++ b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php @@ ...
[ "+ public function testWhenRelationIsNull()" ]
[ 26 ]
{ "additions": 20, "author": "rodrigopedra", "deletions": 1, "html_url": "https://github.com/laravel/framework/pull/55531", "issue_id": 55531, "merged_at": "2025-04-24T14:05:39Z", "omission_probability": 0.1, "pr_number": 55531, "repo": "laravel/framework", "title": "[12.x] Address Model@relationLoa...
5
diff --git a/src/Illuminate/Mail/Markdown.php b/src/Illuminate/Mail/Markdown.php index e8ec2defc4c4..54c9c2ece372 100644 --- a/src/Illuminate/Mail/Markdown.php +++ b/src/Illuminate/Mail/Markdown.php @@ -69,9 +69,25 @@ public function render($view, array $data = [], $inliner = null) $contents = $bladeCompiler->...
diff --git a/src/Illuminate/Mail/Markdown.php b/src/Illuminate/Mail/Markdown.php index e8ec2defc4c4..54c9c2ece372 100644 --- a/src/Illuminate/Mail/Markdown.php +++ b/src/Illuminate/Mail/Markdown.php @@ -69,9 +69,25 @@ public function render($view, array $data = [], $inliner = null) $contents = $bladeCompiler->...
[ "+ $contents = $this->view->replaceNamespace(", "+ }", "+ return $contents;", "+ str_replace('\\[', '[', $contents), $this->view->make($theme, $data)->render()", "+ }", "+ public function build()" ]
[ 22, 27, 29, 38, 54, 217 ]
{ "additions": 98, "author": "crynobone", "deletions": 16, "html_url": "https://github.com/laravel/framework/pull/55149", "issue_id": 55149, "merged_at": "2025-03-24T14:53:50Z", "omission_probability": 0.1, "pr_number": 55149, "repo": "laravel/framework", "title": "[11.x] Fix `Illuminate\\Support\\E...
6
diff --git a/src/Illuminate/Bus/Dispatcher.php b/src/Illuminate/Bus/Dispatcher.php index 32f917d796a6..0107b9e5acd4 100644 --- a/src/Illuminate/Bus/Dispatcher.php +++ b/src/Illuminate/Bus/Dispatcher.php @@ -51,6 +51,13 @@ class Dispatcher implements QueueingDispatcher */ protected $queueResolver; + /** ...
diff --git a/src/Illuminate/Bus/Dispatcher.php b/src/Illuminate/Bus/Dispatcher.php index 32f917d796a6..0107b9e5acd4 100644 --- a/src/Illuminate/Bus/Dispatcher.php +++ b/src/Illuminate/Bus/Dispatcher.php @@ -51,6 +51,13 @@ class Dispatcher implements QueueingDispatcher protected $queueResolver; + * Indicates if...
[]
[]
{ "additions": 69, "author": "gdebrauwer", "deletions": 0, "html_url": "https://github.com/laravel/framework/pull/55456", "issue_id": 55456, "merged_at": "2025-04-24T19:45:06Z", "omission_probability": 0.1, "pr_number": 55456, "repo": "laravel/framework", "title": "[12.x] Option to disable dispatchA...
7
diff --git a/src/Illuminate/Notifications/NotificationSender.php b/src/Illuminate/Notifications/NotificationSender.php index c7e75fd851b2..46ef9e88cf15 100644 --- a/src/Illuminate/Notifications/NotificationSender.php +++ b/src/Illuminate/Notifications/NotificationSender.php @@ -6,11 +6,13 @@ use Illuminate\Contracts\T...
diff --git a/src/Illuminate/Notifications/NotificationSender.php b/src/Illuminate/Notifications/NotificationSender.php index c7e75fd851b2..46ef9e88cf15 100644 --- a/src/Illuminate/Notifications/NotificationSender.php +++ b/src/Illuminate/Notifications/NotificationSender.php @@ -6,11 +6,13 @@ use Illuminate\Contracts\T...
[ "+ public function testNotificationNotSentWhenFailed()", "+ $container->instance(Dispatcher::class, $events = m::mock(Dispatcher::class));", "+ foreach ($listeners as $listener) {" ]
[ 123, 150, 164 ]
{ "additions": 88, "author": "rodrigopedra", "deletions": 1, "html_url": "https://github.com/laravel/framework/pull/55507", "issue_id": 55507, "merged_at": "2025-04-24T19:24:00Z", "omission_probability": 0.1, "pr_number": 55507, "repo": "laravel/framework", "title": "[12.x] Dispatch NotificationFail...
8
diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php index 79a2f5d98cd..6893c1284e3 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php +++ b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php @@ ...
diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php index 79a2f5d98cd..6893c1284e3 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php +++ b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php @@ ...
[ "+ if (! array_key_exists($relation, $this->relations)) {", "+ return false;", "+ }", "+use Illuminate\\Support\\Facades\\Schema;", "+ $this->assertFalse($model->relationLoaded('invalid'));", "+ $this->assertFalse($model->relationLoaded('twos.invalid'...
[ 18, 25, 26, 48, 81, 94 ]
{ "additions": 190, "author": "tmsperera", "deletions": 1, "html_url": "https://github.com/laravel/framework/pull/55471", "issue_id": 55471, "merged_at": "2025-04-21T14:32:31Z", "omission_probability": 0.1, "pr_number": 55471, "repo": "laravel/framework", "title": "[12.x] Support nested relations on...
9
diff --git a/src/Illuminate/View/Compilers/Compiler.php b/src/Illuminate/View/Compilers/Compiler.php index dbd349e69e2..1e61eae9593 100755 --- a/src/Illuminate/View/Compilers/Compiler.php +++ b/src/Illuminate/View/Compilers/Compiler.php @@ -44,6 +44,13 @@ abstract class Compiler */ protected $compiledExtensi...
diff --git a/src/Illuminate/View/Compilers/Compiler.php b/src/Illuminate/View/Compilers/Compiler.php index dbd349e69e2..1e61eae9593 100755 --- a/src/Illuminate/View/Compilers/Compiler.php +++ b/src/Illuminate/View/Compilers/Compiler.php @@ -44,6 +44,13 @@ abstract class Compiler */ protected $compiledExtensi...
[ "+ *", "+ $this->shouldCheckTimestamps = $shouldCheckTimestamps;", "+ return false;", "+ }", "+ }" ]
[ 10, 38, 47, 48, 83 ]
{ "additions": 23, "author": "pizkaz", "deletions": 1, "html_url": "https://github.com/laravel/framework/pull/55536", "issue_id": 55536, "merged_at": "2025-04-24T14:29:34Z", "omission_probability": 0.1, "pr_number": 55536, "repo": "laravel/framework", "title": "Add config option to ignore view cache...
10
diff --git a/src/Illuminate/Queue/BeanstalkdQueue.php b/src/Illuminate/Queue/BeanstalkdQueue.php index d1f64e98249..56e9c4e0664 100755 --- a/src/Illuminate/Queue/BeanstalkdQueue.php +++ b/src/Illuminate/Queue/BeanstalkdQueue.php @@ -125,7 +125,7 @@ public function later($delay, $job, $data = '', $queue = null) { ...
diff --git a/src/Illuminate/Queue/BeanstalkdQueue.php b/src/Illuminate/Queue/BeanstalkdQueue.php index d1f64e98249..56e9c4e0664 100755 --- a/src/Illuminate/Queue/BeanstalkdQueue.php +++ b/src/Illuminate/Queue/BeanstalkdQueue.php @@ -125,7 +125,7 @@ public function later($delay, $job, $data = '', $queue = null) diff --g...
[ "+ $this->createPayload($job, $queue ?: $this->default, $data, $delay),", "+ $query->shouldReceive('insertGetId')->once()->andReturnUsing(function ($array) use ($uuid, $time) {", "+ 'payload' => json_encode(['uuid' => $uuid, 'displayName' => 'foo', 'job' => 'foo', 'maxTries' => ...
[ 103, 195, 227, 366, 369 ]
{ "additions": 68, "author": "taylorotwell", "deletions": 22, "html_url": "https://github.com/laravel/framework/pull/55529", "issue_id": 55529, "merged_at": "2025-04-24T14:15:22Z", "omission_probability": 0.1, "pr_number": 55529, "repo": "laravel/framework", "title": "Add payload creation and origin...
11
diff --git a/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php b/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php index 4142572207af..7451491cbaf9 100755 --- a/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php +++ b/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php @@ -436,6 +43...
diff --git a/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php b/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php index 4142572207af..7451491cbaf9 100755 --- a/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php +++ b/src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php @@ -436,6 +43...
[ "+ return $instances;" ]
[ 22 ]
{ "additions": 28, "author": "onlime", "deletions": 0, "html_url": "https://github.com/laravel/framework/pull/55262", "issue_id": 55262, "merged_at": "2025-04-04T16:27:04Z", "omission_probability": 0.1, "pr_number": 55262, "repo": "laravel/framework", "title": "[12.x] Add createMany mass-assignment ...
12
diff --git a/src/Illuminate/View/Compilers/BladeCompiler.php b/src/Illuminate/View/Compilers/BladeCompiler.php index 48e5d734d90f..b17bde52bce7 100644 --- a/src/Illuminate/View/Compilers/BladeCompiler.php +++ b/src/Illuminate/View/Compilers/BladeCompiler.php @@ -193,7 +193,17 @@ public function compile($path = null) ...
diff --git a/src/Illuminate/View/Compilers/BladeCompiler.php b/src/Illuminate/View/Compilers/BladeCompiler.php index 48e5d734d90f..b17bde52bce7 100644 --- a/src/Illuminate/View/Compilers/BladeCompiler.php +++ b/src/Illuminate/View/Compilers/BladeCompiler.php @@ -193,7 +193,17 @@ public function compile($path = null) ...
[ "+ $compiledHash = $this->files->hash($compiledPath, 'sha256');" ]
[ 15 ]
{ "additions": 42, "author": "pizkaz", "deletions": 2, "html_url": "https://github.com/laravel/framework/pull/55450", "issue_id": 55450, "merged_at": "2025-04-21T14:13:20Z", "omission_probability": 0.1, "pr_number": 55450, "repo": "laravel/framework", "title": "Update compiled views only if they act...
13
diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php index 6893c1284e3..fc211e179a5 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php +++ b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php @@ ...
diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php index 6893c1284e3..fc211e179a5 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php +++ b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php @@ ...
[ "+ $relatedModels = is_iterable($relatedModels = $this->$relation)", "+ {", "+ $this->assertTrue($model->relationLoaded('two'));", "+ $this->assertTrue($model->two->is($two));" ]
[ 9, 27, 36, 37 ]
{ "additions": 21, "author": "rodrigopedra", "deletions": 1, "html_url": "https://github.com/laravel/framework/pull/55519", "issue_id": 55519, "merged_at": "2025-04-23T13:13:45Z", "omission_probability": 0.1, "pr_number": 55519, "repo": "laravel/framework", "title": "[12.x] Ensure related models is ...
14
diff --git a/src/Illuminate/Testing/AssertableJsonString.php b/src/Illuminate/Testing/AssertableJsonString.php index 0bf221bea0da..d089ab071dc3 100644 --- a/src/Illuminate/Testing/AssertableJsonString.php +++ b/src/Illuminate/Testing/AssertableJsonString.php @@ -12,6 +12,8 @@ use Illuminate\Testing\Assert as PHPUnit; ...
diff --git a/src/Illuminate/Testing/AssertableJsonString.php b/src/Illuminate/Testing/AssertableJsonString.php index 0bf221bea0da..d089ab071dc3 100644 --- a/src/Illuminate/Testing/AssertableJsonString.php +++ b/src/Illuminate/Testing/AssertableJsonString.php @@ -12,6 +12,8 @@ use Illuminate\Testing\Assert as PHPUnit; ...
[ "+use function Illuminate\\Support\\enum_value;", "+ 'data' => ['status' => 'booked']," ]
[ 8, 33 ]
{ "additions": 29, "author": "azim-kordpour", "deletions": 1, "html_url": "https://github.com/laravel/framework/pull/55516", "issue_id": 55516, "merged_at": "2025-04-23T13:17:11Z", "omission_probability": 0.1, "pr_number": 55516, "repo": "laravel/framework", "title": "[12.x] Add Enum support for ass...
15
diff --git a/src/Illuminate/Database/MigrationServiceProvider.php b/src/Illuminate/Database/MigrationServiceProvider.php index cab266bb2f9..037106c7357 100755 --- a/src/Illuminate/Database/MigrationServiceProvider.php +++ b/src/Illuminate/Database/MigrationServiceProvider.php @@ -82,6 +82,8 @@ protected function regist...
diff --git a/src/Illuminate/Database/MigrationServiceProvider.php b/src/Illuminate/Database/MigrationServiceProvider.php index cab266bb2f9..037106c7357 100755 --- a/src/Illuminate/Database/MigrationServiceProvider.php +++ b/src/Illuminate/Database/MigrationServiceProvider.php @@ -82,6 +82,8 @@ protected function regist...
[ "+ {" ]
[ 37 ]
{ "additions": 19, "author": "cosmastech", "deletions": 1, "html_url": "https://github.com/laravel/framework/pull/55501", "issue_id": 55501, "merged_at": "2025-04-22T13:50:14Z", "omission_probability": 0.1, "pr_number": 55501, "repo": "laravel/framework", "title": "[12.x] Allow Container to build `M...
16
diff --git a/src/Illuminate/Cache/MemoizedStore.php b/src/Illuminate/Cache/MemoizedStore.php index 9888810de6d7..d899ef09d609 100644 --- a/src/Illuminate/Cache/MemoizedStore.php +++ b/src/Illuminate/Cache/MemoizedStore.php @@ -75,12 +75,17 @@ public function many(array $keys) }); } - $res...
diff --git a/src/Illuminate/Cache/MemoizedStore.php b/src/Illuminate/Cache/MemoizedStore.php index 9888810de6d7..d899ef09d609 100644 --- a/src/Illuminate/Cache/MemoizedStore.php +++ b/src/Illuminate/Cache/MemoizedStore.php @@ -75,12 +75,17 @@ public function many(array $keys) }); } - $resul...
[ "+ $this->assertSame([" ]
[ 48 ]
{ "additions": 37, "author": "bmckay959", "deletions": 5, "html_url": "https://github.com/laravel/framework/pull/55503", "issue_id": 55503, "merged_at": "2025-04-22T13:45:35Z", "omission_probability": 0.1, "pr_number": 55503, "repo": "laravel/framework", "title": "Bugfix for Cache::memo()->many() re...
17
diff --git a/src/Illuminate/Broadcasting/BroadcastEvent.php b/src/Illuminate/Broadcasting/BroadcastEvent.php index c4da0faab220..7c03641ace53 100644 --- a/src/Illuminate/Broadcasting/BroadcastEvent.php +++ b/src/Illuminate/Broadcasting/BroadcastEvent.php @@ -50,6 +50,13 @@ class BroadcastEvent implements ShouldQueue ...
diff --git a/src/Illuminate/Broadcasting/BroadcastEvent.php b/src/Illuminate/Broadcasting/BroadcastEvent.php index c4da0faab220..7c03641ace53 100644 --- a/src/Illuminate/Broadcasting/BroadcastEvent.php +++ b/src/Illuminate/Broadcasting/BroadcastEvent.php @@ -50,6 +50,13 @@ class BroadcastEvent implements ShouldQueue ...
[]
[]
{ "additions": 16, "author": "L3o-pold", "deletions": 0, "html_url": "https://github.com/laravel/framework/pull/55508", "issue_id": 55508, "merged_at": "2025-04-22T13:44:53Z", "omission_probability": 0.1, "pr_number": 55508, "repo": "laravel/framework", "title": "Allow Listeners to dynamically speci...
18
diff --git a/src/Illuminate/Contracts/Validation/InvokableRule.php b/src/Illuminate/Contracts/Validation/InvokableRule.php index bed9ed567fb4..17c296446945 100644 --- a/src/Illuminate/Contracts/Validation/InvokableRule.php +++ b/src/Illuminate/Contracts/Validation/InvokableRule.php @@ -14,7 +14,7 @@ interface Invokable...
diff --git a/src/Illuminate/Contracts/Validation/InvokableRule.php b/src/Illuminate/Contracts/Validation/InvokableRule.php index bed9ed567fb4..17c296446945 100644 --- a/src/Illuminate/Contracts/Validation/InvokableRule.php +++ b/src/Illuminate/Contracts/Validation/InvokableRule.php @@ -14,7 +14,7 @@ interface Invokable...
[ "+use function PHPStan\\Testing\\assertType;", "+};" ]
[ 62, 70 ]
{ "additions": 17, "author": "axlon", "deletions": 4, "html_url": "https://github.com/laravel/framework/pull/52870", "issue_id": 52870, "merged_at": "2024-09-22T15:08:08Z", "omission_probability": 0.1, "pr_number": 52870, "repo": "laravel/framework", "title": "[11.x] Fix validation rule type hints",...
19
diff --git a/src/Illuminate/Cache/Events/CacheFlushFailed.php b/src/Illuminate/Cache/Events/CacheFlushFailed.php new file mode 100644 index 000000000000..7d987e9de82c --- /dev/null +++ b/src/Illuminate/Cache/Events/CacheFlushFailed.php @@ -0,0 +1,45 @@ +<?php + +namespace Illuminate\Cache\Events; + +class CacheFlushFai...
diff --git a/src/Illuminate/Cache/Events/CacheFlushFailed.php b/src/Illuminate/Cache/Events/CacheFlushFailed.php new file mode 100644 index 000000000000..7d987e9de82c --- /dev/null +++ b/src/Illuminate/Cache/Events/CacheFlushFailed.php @@ -0,0 +1,45 @@ +<?php +namespace Illuminate\Cache\Events; +class CacheFlushFailed ...
[ "+ * Create a new event instance.", "+ } else {" ]
[ 27, 177 ]
{ "additions": 114, "author": "erikn69", "deletions": 4, "html_url": "https://github.com/laravel/framework/pull/55405", "issue_id": 55405, "merged_at": "2025-04-18T14:50:25Z", "omission_probability": 0.1, "pr_number": 55405, "repo": "laravel/framework", "title": "[12.x] Fix adding `setTags` method o...
20
diff --git a/src/Illuminate/Database/Eloquent/Relations/Concerns/InteractsWithPivotTable.php b/src/Illuminate/Database/Eloquent/Relations/Concerns/InteractsWithPivotTable.php index 454d79379195..8de013a1a38a 100644 --- a/src/Illuminate/Database/Eloquent/Relations/Concerns/InteractsWithPivotTable.php +++ b/src/Illuminat...
diff --git a/src/Illuminate/Database/Eloquent/Relations/Concerns/InteractsWithPivotTable.php b/src/Illuminate/Database/Eloquent/Relations/Concerns/InteractsWithPivotTable.php index 454d79379195..8de013a1a38a 100644 --- a/src/Illuminate/Database/Eloquent/Relations/Concerns/InteractsWithPivotTable.php +++ b/src/Illuminat...
[ "- foreach ($this->parseIds($ids) as $id) {", "+ $post->tagsWithCustomPivot()->attach(Tag::all());", "+ Tag::whereNotIn('id', [$tag->id])->pluck('name')," ]
[ 18, 49, 56 ]
{ "additions": 46, "author": "amir9480", "deletions": 14, "html_url": "https://github.com/laravel/framework/pull/55490", "issue_id": 55490, "merged_at": "2025-04-21T14:27:56Z", "omission_probability": 0.1, "pr_number": 55490, "repo": "laravel/framework", "title": "[12.x] Fix many to many detach with...
21
diff --git a/tests/Integration/Session/DatabaseSessionHandlerTest.php b/tests/Integration/Session/DatabaseSessionHandlerTest.php new file mode 100644 index 000000000000..b6e5856d6067 --- /dev/null +++ b/tests/Integration/Session/DatabaseSessionHandlerTest.php @@ -0,0 +1,113 @@ +<?php + +namespace Illuminate\Tests\Integ...
diff --git a/tests/Integration/Session/DatabaseSessionHandlerTest.php b/tests/Integration/Session/DatabaseSessionHandlerTest.php new file mode 100644 index 000000000000..b6e5856d6067 --- /dev/null +++ b/tests/Integration/Session/DatabaseSessionHandlerTest.php @@ -0,0 +1,113 @@ +<?php +namespace Illuminate\Tests\Integra...
[ "+use Illuminate\\Tests\\Integration\\Database\\DatabaseTestCase;", "+ $this->assertEquals(['come' => 'alive'], json_decode($handler->read('valid_session_id_2425'), true));", "+ $this->assertNull($session->user_id);" ]
[ 12, 59, 116 ]
{ "additions": 113, "author": "imanghafoori1", "deletions": 0, "html_url": "https://github.com/laravel/framework/pull/55485", "issue_id": 55485, "merged_at": "2025-04-21T14:19:05Z", "omission_probability": 0.1, "pr_number": 55485, "repo": "laravel/framework", "title": "[12.x] Add tests for `Database...
22
diff --git a/tests/Session/FileSessionHandlerTest.php b/tests/Session/FileSessionHandlerTest.php new file mode 100644 index 000000000000..ba27b7019ade --- /dev/null +++ b/tests/Session/FileSessionHandlerTest.php @@ -0,0 +1,138 @@ +<?php + +namespace Illuminate\Tests\Session; + +use Illuminate\Filesystem\Filesystem; +us...
diff --git a/tests/Session/FileSessionHandlerTest.php b/tests/Session/FileSessionHandlerTest.php new file mode 100644 index 000000000000..ba27b7019ade --- /dev/null +++ b/tests/Session/FileSessionHandlerTest.php @@ -0,0 +1,138 @@ +<?php +namespace Illuminate\Tests\Session; +use Illuminate\Filesystem\Filesystem; +use Il...
[ "+use Illuminate\\Support\\Carbon;", "+ // Create a mock for the Filesystem class", "+ Carbon::setTestNow(Carbon::parse('2025-02-02 01:30:00'));", "+ $result = $this->sessionHandler->write($sessionId, $data);", "+ public function test_destroy_deletes_session_file()", "+ $thi...
[ 12, 26, 52, 103, 108, 125, 132, 135 ]
{ "additions": 138, "author": "imanghafoori1", "deletions": 0, "html_url": "https://github.com/laravel/framework/pull/55484", "issue_id": 55484, "merged_at": "2025-04-21T14:18:01Z", "omission_probability": 0.1, "pr_number": 55484, "repo": "laravel/framework", "title": "[12.x] Add tests for `FileSess...
23
diff --git a/tests/Session/CacheBasedSessionHandlerTest.php b/tests/Session/CacheBasedSessionHandlerTest.php new file mode 100644 index 000000000000..af6cf68fdc01 --- /dev/null +++ b/tests/Session/CacheBasedSessionHandlerTest.php @@ -0,0 +1,89 @@ +<?php + +namespace Illuminate\Tests\Session; + +use Illuminate\Contracts...
diff --git a/tests/Session/CacheBasedSessionHandlerTest.php b/tests/Session/CacheBasedSessionHandlerTest.php new file mode 100644 index 000000000000..af6cf68fdc01 --- /dev/null +++ b/tests/Session/CacheBasedSessionHandlerTest.php @@ -0,0 +1,89 @@ +<?php +namespace Illuminate\Tests\Session; +use Illuminate\Contracts\Cac...
[ "+use PHPUnit\\Framework\\TestCase;", "+ public function test_open()", "+ $this->cacheMock->shouldReceive('forget')->once()->with('session_id')->andReturn(true);", "+ $result = $this->sessionHandler->gc(lifetime: 120);" ]
[ 13, 34, 74, 83 ]
{ "additions": 89, "author": "imanghafoori1", "deletions": 0, "html_url": "https://github.com/laravel/framework/pull/55487", "issue_id": 55487, "merged_at": "2025-04-21T14:17:26Z", "omission_probability": 0.1, "pr_number": 55487, "repo": "laravel/framework", "title": "[12.x] Add tests for `CacheBase...
24
diff --git a/src/Illuminate/Collections/Arr.php b/src/Illuminate/Collections/Arr.php index 72562305f251..e4ef759c8f61 100644 --- a/src/Illuminate/Collections/Arr.php +++ b/src/Illuminate/Collections/Arr.php @@ -112,13 +112,19 @@ public static function dot($array, $prepend = '') { $results = []; - ...
diff --git a/src/Illuminate/Collections/Arr.php b/src/Illuminate/Collections/Arr.php index 72562305f251..e4ef759c8f61 100644 --- a/src/Illuminate/Collections/Arr.php +++ b/src/Illuminate/Collections/Arr.php @@ -112,13 +112,19 @@ public static function dot($array, $prepend = '') { $results = []; - f...
[ "- } else {", "+ if (is_array($value) && ! empty($value)) {", "- }" ]
[ 11, 17, 23 ]
{ "additions": 12, "author": "cyppe", "deletions": 6, "html_url": "https://github.com/laravel/framework/pull/55495", "issue_id": 55495, "merged_at": "2025-04-21T14:14:47Z", "omission_probability": 0.1, "pr_number": 55495, "repo": "laravel/framework", "title": "Improve performance of Arr::dot method ...
25
diff --git a/src/Illuminate/View/Compilers/Concerns/CompilesUseStatements.php b/src/Illuminate/View/Compilers/Concerns/CompilesUseStatements.php index 8218c9fdf2c6..49a524a5fd9f 100644 --- a/src/Illuminate/View/Compilers/Concerns/CompilesUseStatements.php +++ b/src/Illuminate/View/Compilers/Concerns/CompilesUseStatemen...
diff --git a/src/Illuminate/View/Compilers/Concerns/CompilesUseStatements.php b/src/Illuminate/View/Compilers/Concerns/CompilesUseStatements.php index 8218c9fdf2c6..49a524a5fd9f 100644 --- a/src/Illuminate/View/Compilers/Concerns/CompilesUseStatements.php +++ b/src/Illuminate/View/Compilers/Concerns/CompilesUseStatemen...
[ "- $segments = explode(',', preg_replace(\"/[\\(\\)]/\", '', $expression));", "+ $use = ltrim(trim($expression, \" '\\\"\"), '\\\\');", "+ return \"<?php use \\\\{$use}; ?>\";", "+ $string = \"Foo @use('\\SomeNamespace\\{Foo, Bar}') bar\";" ]
[ 8, 13, 15, 46 ]
{ "additions": 32, "author": "osbre", "deletions": 1, "html_url": "https://github.com/laravel/framework/pull/55461", "issue_id": 55461, "merged_at": "2025-04-18T20:17:46Z", "omission_probability": 0.1, "pr_number": 55461, "repo": "laravel/framework", "title": "[12.x] Fix group imports in Blade `@use...
26
diff --git a/src/Illuminate/Database/Eloquent/Builder.php b/src/Illuminate/Database/Eloquent/Builder.php index 73163988aec..4e22b9ae9fa 100755 --- a/src/Illuminate/Database/Eloquent/Builder.php +++ b/src/Illuminate/Database/Eloquent/Builder.php @@ -854,13 +854,9 @@ public function get($columns = ['*']) $mo...
diff --git a/src/Illuminate/Database/Eloquent/Builder.php b/src/Illuminate/Database/Eloquent/Builder.php index 73163988aec..4e22b9ae9fa 100755 --- a/src/Illuminate/Database/Eloquent/Builder.php +++ b/src/Illuminate/Database/Eloquent/Builder.php @@ -854,13 +854,9 @@ public function get($columns = ['*']) $mo...
[ "+ if (Model::isAutomaticallyEagerLoadingRelationships()) {", "+ return $collection;" ]
[ 32, 36 ]
{ "additions": 10, "author": "litvinchuk", "deletions": 8, "html_url": "https://github.com/laravel/framework/pull/55443", "issue_id": 55443, "merged_at": "2025-04-18T12:55:05Z", "omission_probability": 0.1, "pr_number": 55443, "repo": "laravel/framework", "title": "[12.x] Fix for global autoload rel...
27
diff --git a/src/Illuminate/Cache/RateLimiter.php b/src/Illuminate/Cache/RateLimiter.php index c3598e364eb..67588ffbb1e 100644 --- a/src/Illuminate/Cache/RateLimiter.php +++ b/src/Illuminate/Cache/RateLimiter.php @@ -99,7 +99,7 @@ public function limiter($name) * @param string $key * @param int $maxAtte...
diff --git a/src/Illuminate/Cache/RateLimiter.php b/src/Illuminate/Cache/RateLimiter.php index c3598e364eb..67588ffbb1e 100644 --- a/src/Illuminate/Cache/RateLimiter.php +++ b/src/Illuminate/Cache/RateLimiter.php @@ -99,7 +99,7 @@ public function limiter($name) * @param int $maxAttempts * @param \Closure...
[ "+ * @method static int decrement(string $key, \\DateTimeInterface|\\DateInterval|int $decaySeconds = 60, int $amount = 1)" ]
[ 56 ]
{ "additions": 8, "author": "ClaudioEyzaguirre", "deletions": 8, "html_url": "https://github.com/laravel/framework/pull/55445", "issue_id": 55445, "merged_at": "2025-04-18T12:52:24Z", "omission_probability": 0.1, "pr_number": 55445, "repo": "laravel/framework", "title": "Add missing types to RateLim...
28
diff --git a/tests/Events/BroadcastedEventsTest.php b/tests/Events/BroadcastedEventsTest.php index c241938364ba..9b2a84a31ae7 100644 --- a/tests/Events/BroadcastedEventsTest.php +++ b/tests/Events/BroadcastedEventsTest.php @@ -62,6 +62,92 @@ public function testShouldBroadcastFail() $this->assertFalse($d->sh...
diff --git a/tests/Events/BroadcastedEventsTest.php b/tests/Events/BroadcastedEventsTest.php index c241938364ba..9b2a84a31ae7 100644 --- a/tests/Events/BroadcastedEventsTest.php +++ b/tests/Events/BroadcastedEventsTest.php @@ -62,6 +62,92 @@ public function testShouldBroadcastFail() $this->assertFalse($d->shou...
[ "+ public function testBroadcastWithCustomConnectionName()", "+ return 'custom-event-name';", "+ return ['custom' => $this->customData];" ]
[ 27, 63, 88 ]
{ "additions": 86, "author": "roshandelpoor", "deletions": 0, "html_url": "https://github.com/laravel/framework/pull/55458", "issue_id": 55458, "merged_at": "2025-04-18T12:46:40Z", "omission_probability": 0.1, "pr_number": 55458, "repo": "laravel/framework", "title": "[12.x] Enhance Broadcast Events...
29
diff --git a/tests/View/Blade/BladeUseTest.php b/tests/View/Blade/BladeUseTest.php index 8e72c321540d..ae99825de61e 100644 --- a/tests/View/Blade/BladeUseTest.php +++ b/tests/View/Blade/BladeUseTest.php @@ -6,29 +6,45 @@ class BladeUseTest extends AbstractBladeTestCase { public function testUseStatementsAreCompil...
diff --git a/tests/View/Blade/BladeUseTest.php b/tests/View/Blade/BladeUseTest.php index 8e72c321540d..ae99825de61e 100644 --- a/tests/View/Blade/BladeUseTest.php +++ b/tests/View/Blade/BladeUseTest.php @@ -6,29 +6,45 @@ class BladeUseTest extends AbstractBladeTestCase { public function testUseStatementsAreCompil...
[ "+ $string = \"Foo @use('\\SomeNamespace\\SomeClass', 'Foo') bar\";" ]
[ 47 ]
{ "additions": 20, "author": "osbre", "deletions": 4, "html_url": "https://github.com/laravel/framework/pull/55462", "issue_id": 55462, "merged_at": "2025-04-18T12:45:24Z", "omission_probability": 0.1, "pr_number": 55462, "repo": "laravel/framework", "title": "[12.x] Test `@use` directive without qu...
30
diff --git a/src/Illuminate/Database/Concerns/BuildsQueries.php b/src/Illuminate/Database/Concerns/BuildsQueries.php index 253fe516d438..f78e13b2d500 100644 --- a/src/Illuminate/Database/Concerns/BuildsQueries.php +++ b/src/Illuminate/Database/Concerns/BuildsQueries.php @@ -587,7 +587,7 @@ protected function cursorPagi...
diff --git a/src/Illuminate/Database/Concerns/BuildsQueries.php b/src/Illuminate/Database/Concerns/BuildsQueries.php index 253fe516d438..f78e13b2d500 100644 --- a/src/Illuminate/Database/Concerns/BuildsQueries.php +++ b/src/Illuminate/Database/Concerns/BuildsQueries.php @@ -587,7 +587,7 @@ protected function cursorPagi...
[ "- * Pass the query to a given callback.", "+ $this->assertCount(0, $query->getQuery()->wheres);", "+ assertType('Illuminate\\Database\\Query\\Builder', $query->pipe(fn () => null));" ]
[ 8, 66, 135 ]
{ "additions": 73, "author": "timacdonald", "deletions": 1, "html_url": "https://github.com/laravel/framework/pull/55171", "issue_id": 55171, "merged_at": "2025-03-27T17:18:55Z", "omission_probability": 0.1, "pr_number": 55171, "repo": "laravel/framework", "title": "[12.x] Add `pipe` method query bu...
31
diff --git a/src/Illuminate/Database/Concerns/ManagesTransactions.php b/src/Illuminate/Database/Concerns/ManagesTransactions.php index 23bc60434e49..609095bee849 100644 --- a/src/Illuminate/Database/Concerns/ManagesTransactions.php +++ b/src/Illuminate/Database/Concerns/ManagesTransactions.php @@ -16,11 +16,12 @@ trait...
diff --git a/src/Illuminate/Database/Concerns/ManagesTransactions.php b/src/Illuminate/Database/Concerns/ManagesTransactions.php index 23bc60434e49..609095bee849 100644 --- a/src/Illuminate/Database/Concerns/ManagesTransactions.php +++ b/src/Illuminate/Database/Concerns/ManagesTransactions.php @@ -16,11 +16,12 @@ trait...
[ "- protected function handleTransactionException(Throwable $e, $currentAttempt, $maxAttempts)", "+ $onFailure($e);", "+ $attempts = 0;" ]
[ 36, 46, 132 ]
{ "additions": 54, "author": "dshafik", "deletions": 6, "html_url": "https://github.com/laravel/framework/pull/55338", "issue_id": 55338, "merged_at": "2025-04-09T14:14:56Z", "omission_probability": 0.1, "pr_number": 55338, "repo": "laravel/framework", "title": "feat: Add a callback to be called on ...
32
diff --git a/src/Illuminate/Console/View/Components/Task.php b/src/Illuminate/Console/View/Components/Task.php index a7dbf62df3c3..fb4ab8d3a517 100644 --- a/src/Illuminate/Console/View/Components/Task.php +++ b/src/Illuminate/Console/View/Components/Task.php @@ -2,7 +2,7 @@ namespace Illuminate\Console\View\Componen...
diff --git a/src/Illuminate/Console/View/Components/Task.php b/src/Illuminate/Console/View/Components/Task.php index a7dbf62df3c3..fb4ab8d3a517 100644 --- a/src/Illuminate/Console/View/Components/Task.php +++ b/src/Illuminate/Console/View/Components/Task.php @@ -2,7 +2,7 @@ namespace Illuminate\Console\View\Components...
[ "+use Illuminate\\Console\\View\\TaskResult;", "+<?php", "- with(new Components\\Task($output))->render('My task', fn () => MigrationResult::Skipped);", "+ with(new Components\\Task($output))->render('My task', fn () => MigrationResult::Skipped->value);" ]
[ 9, 43, 86, 87 ]
{ "additions": 19, "author": "andrey-helldar", "deletions": 9, "html_url": "https://github.com/laravel/framework/pull/55430", "issue_id": 55430, "merged_at": "2025-04-16T14:44:02Z", "omission_probability": 0.1, "pr_number": 55430, "repo": "laravel/framework", "title": "[12.x] Fixed a bug in using `i...
33
diff --git a/.github/workflows/databases.yml b/.github/workflows/databases.yml index 15fcb4c1a463..961af6983a22 100644 --- a/.github/workflows/databases.yml +++ b/.github/workflows/databases.yml @@ -293,53 +293,53 @@ jobs: DB_USERNAME: SA DB_PASSWORD: Forge123 - mssql_2017: - runs-on: ubuntu...
diff --git a/.github/workflows/databases.yml b/.github/workflows/databases.yml index 15fcb4c1a463..961af6983a22 100644 --- a/.github/workflows/databases.yml +++ b/.github/workflows/databases.yml @@ -293,53 +293,53 @@ jobs: DB_USERNAME: SA DB_PASSWORD: Forge123 - mssql_2017: - runs-on: ubuntu-2...
[ "- services:", "- - 1433:1433", "- name: SQL Server 2017", "- steps:", "- timeout_minutes: 5", "- DB_DATABASE: master", "+ # ACCEPT_EULA: Y" ]
[ 12, 19, 24, 26, 44, 52, 63 ]
{ "additions": 47, "author": "crynobone", "deletions": 47, "html_url": "https://github.com/laravel/framework/pull/55425", "issue_id": 55425, "merged_at": "2025-04-16T14:45:29Z", "omission_probability": 0.1, "pr_number": 55425, "repo": "laravel/framework", "title": "Disable SQLServer 2017 CI as `ubun...
34
diff --git a/.github/workflows/update-assets.yml b/.github/workflows/update-assets.yml new file mode 100644 index 000000000000..8ecd63efce0a --- /dev/null +++ b/.github/workflows/update-assets.yml @@ -0,0 +1,31 @@ +name: 'update assets' + +on: + push: + branches: + - '12.x' + paths: + - '/src/Illuminat...
diff --git a/.github/workflows/update-assets.yml b/.github/workflows/update-assets.yml new file mode 100644 index 000000000000..8ecd63efce0a --- /dev/null +++ b/.github/workflows/update-assets.yml @@ -0,0 +1,31 @@ +on: + push: + branches: + - '12.x' + paths: + - '/src/Illuminate/Foundation/resources/ex...
[ "+name: 'update assets'", "+ runs-on: ubuntu-latest", "+ uses: actions/checkout@v4" ]
[ 6, 18, 22 ]
{ "additions": 32, "author": "crynobone", "deletions": 1, "html_url": "https://github.com/laravel/framework/pull/55426", "issue_id": 55426, "merged_at": "2025-04-16T11:41:24Z", "omission_probability": 0.1, "pr_number": 55426, "repo": "laravel/framework", "title": "[12.x] Changes to `package-lock.jso...
35
diff --git a/tests/Log/LogLoggerTest.php b/tests/Log/LogLoggerTest.php index 85cc1799cf0e..939021d1214f 100755 --- a/tests/Log/LogLoggerTest.php +++ b/tests/Log/LogLoggerTest.php @@ -103,4 +103,21 @@ public function testListenShortcut() $writer->listen($callback); } + + public function testComplexCon...
diff --git a/tests/Log/LogLoggerTest.php b/tests/Log/LogLoggerTest.php index 85cc1799cf0e..939021d1214f 100755 --- a/tests/Log/LogLoggerTest.php +++ b/tests/Log/LogLoggerTest.php @@ -103,4 +103,21 @@ public function testListenShortcut() $writer->listen($callback); } + public function testComplexConte...
[ "+ ]);" ]
[ 21 ]
{ "additions": 17, "author": "roshandelpoor", "deletions": 0, "html_url": "https://github.com/laravel/framework/pull/55423", "issue_id": 55423, "merged_at": "2025-04-15T19:03:21Z", "omission_probability": 0.1, "pr_number": 55423, "repo": "laravel/framework", "title": "[12.x] Add test for complex con...
36
diff --git a/src/Illuminate/Support/Fluent.php b/src/Illuminate/Support/Fluent.php index 0d087806583a..b1b720bb6fc8 100755 --- a/src/Illuminate/Support/Fluent.php +++ b/src/Illuminate/Support/Fluent.php @@ -39,6 +39,17 @@ public function __construct($attributes = []) $this->fill($attributes); } + /**...
diff --git a/src/Illuminate/Support/Fluent.php b/src/Illuminate/Support/Fluent.php index 0d087806583a..b1b720bb6fc8 100755 --- a/src/Illuminate/Support/Fluent.php +++ b/src/Illuminate/Support/Fluent.php @@ -39,6 +39,17 @@ public function __construct($attributes = []) $this->fill($attributes); } + /**...
[ "+ *", "+ * @param iterable<TKey, TValue> $attributes" ]
[ 10, 11 ]
{ "additions": 11, "author": "michaelnabil230", "deletions": 0, "html_url": "https://github.com/laravel/framework/pull/55417", "issue_id": 55417, "merged_at": "2025-04-15T15:35:22Z", "omission_probability": 0.1, "pr_number": 55417, "repo": "laravel/framework", "title": "[12.x] Add a `make` function ...
37
diff --git a/src/Illuminate/Notifications/Messages/MailMessage.php b/src/Illuminate/Notifications/Messages/MailMessage.php index f6eab8ca6798..f65622863d76 100644 --- a/src/Illuminate/Notifications/Messages/MailMessage.php +++ b/src/Illuminate/Notifications/Messages/MailMessage.php @@ -212,7 +212,7 @@ public function f...
diff --git a/src/Illuminate/Notifications/Messages/MailMessage.php b/src/Illuminate/Notifications/Messages/MailMessage.php index f6eab8ca6798..f65622863d76 100644 --- a/src/Illuminate/Notifications/Messages/MailMessage.php +++ b/src/Illuminate/Notifications/Messages/MailMessage.php @@ -212,7 +212,7 @@ public function f...
[]
[]
{ "additions": 33, "author": "onlime", "deletions": 3, "html_url": "https://github.com/laravel/framework/pull/55404", "issue_id": 55404, "merged_at": "2025-04-15T15:25:44Z", "omission_probability": 0.1, "pr_number": 55404, "repo": "laravel/framework", "title": "[12.x] Fix cc/bcc/replyTo address merg...
38
diff --git a/tests/Process/ProcessTest.php b/tests/Process/ProcessTest.php index 0c30cdf47888..b3fd5903a699 100644 --- a/tests/Process/ProcessTest.php +++ b/tests/Process/ProcessTest.php @@ -795,6 +795,37 @@ public function testAssertingThatNothingRan() $factory->assertNothingRan(); } + public functi...
diff --git a/tests/Process/ProcessTest.php b/tests/Process/ProcessTest.php index 0c30cdf47888..b3fd5903a699 100644 --- a/tests/Process/ProcessTest.php +++ b/tests/Process/ProcessTest.php @@ -795,6 +795,37 @@ public function testAssertingThatNothingRan() $factory->assertNothingRan(); } + public functi...
[ "+ 'OTHER_VAR' => 'new_other_value'," ]
[ 28 ]
{ "additions": 31, "author": "roshandelpoor", "deletions": 0, "html_url": "https://github.com/laravel/framework/pull/55406", "issue_id": 55406, "merged_at": "2025-04-15T15:24:33Z", "omission_probability": 0.1, "pr_number": 55406, "repo": "laravel/framework", "title": "[12.x] Add test coverage for Pr...
39
diff --git a/src/Illuminate/Collections/LazyCollection.php b/src/Illuminate/Collections/LazyCollection.php index 601e0717590a..daf811bfcadd 100644 --- a/src/Illuminate/Collections/LazyCollection.php +++ b/src/Illuminate/Collections/LazyCollection.php @@ -113,7 +113,7 @@ public function all() /** * Eager load...
diff --git a/src/Illuminate/Collections/LazyCollection.php b/src/Illuminate/Collections/LazyCollection.php index 601e0717590a..daf811bfcadd 100644 --- a/src/Illuminate/Collections/LazyCollection.php +++ b/src/Illuminate/Collections/LazyCollection.php @@ -113,7 +113,7 @@ public function all() * Eager load all item...
[]
[]
{ "additions": 11, "author": "mohammadrasoulasghari", "deletions": 11, "html_url": "https://github.com/laravel/framework/pull/55380", "issue_id": 55380, "merged_at": "2025-04-14T15:21:48Z", "omission_probability": 0.1, "pr_number": 55380, "repo": "laravel/framework", "title": "Use Generic Types Anno...
40
diff --git a/src/Illuminate/Testing/TestResponse.php b/src/Illuminate/Testing/TestResponse.php index 5b632ce11051..3f6f59a36730 100644 --- a/src/Illuminate/Testing/TestResponse.php +++ b/src/Illuminate/Testing/TestResponse.php @@ -1192,21 +1192,21 @@ public function assertViewHas($key, $value = null) $this->...
diff --git a/src/Illuminate/Testing/TestResponse.php b/src/Illuminate/Testing/TestResponse.php index 5b632ce11051..3f6f59a36730 100644 --- a/src/Illuminate/Testing/TestResponse.php +++ b/src/Illuminate/Testing/TestResponse.php @@ -1192,21 +1192,21 @@ public function assertViewHas($key, $value = null) $this->en...
[ "- $actual = Arr::get($this->original->gatherData(), $key);", "-", "+ $value->each(fn ($item, $index) => PHPUnit::withResponse($this)->assertTrue($actual->get($index)->is($item), \"Failed asserting that the collection at [{$key}.[{$index}]]' matches the given collection.\"));" ]
[ 20, 21, 26 ]
{ "additions": 7, "author": "3Descape", "deletions": 7, "html_url": "https://github.com/laravel/framework/pull/55392", "issue_id": 55392, "merged_at": "2025-04-14T15:12:25Z", "omission_probability": 0.1, "pr_number": 55392, "repo": "laravel/framework", "title": "Add descriptive error messages to ass...
41
diff --git a/src/Illuminate/Foundation/resources/exceptions/renderer/package-lock.json b/src/Illuminate/Foundation/resources/exceptions/renderer/package-lock.json index 3e51c3f26930..45eee2341a84 100644 --- a/src/Illuminate/Foundation/resources/exceptions/renderer/package-lock.json +++ b/src/Illuminate/Foundation/resou...
diff --git a/src/Illuminate/Foundation/resources/exceptions/renderer/package-lock.json b/src/Illuminate/Foundation/resources/exceptions/renderer/package-lock.json index 3e51c3f26930..45eee2341a84 100644 --- a/src/Illuminate/Foundation/resources/exceptions/renderer/package-lock.json +++ b/src/Illuminate/Foundation/resou...
[]
[]
{ "additions": 5, "author": "dependabot[bot]", "deletions": 5, "html_url": "https://github.com/laravel/framework/pull/55402", "issue_id": 55402, "merged_at": "2025-04-14T12:43:26Z", "omission_probability": 0.1, "pr_number": 55402, "repo": "laravel/framework", "title": "Bump vite from 5.4.17 to 5.4.1...
42
diff --git a/tests/Filesystem/FilesystemTest.php b/tests/Filesystem/FilesystemTest.php index 6fab4de691b3..1930ff15f963 100755 --- a/tests/Filesystem/FilesystemTest.php +++ b/tests/Filesystem/FilesystemTest.php @@ -672,4 +672,42 @@ private function getFilePermissions($file) return (int) base_convert($filePer...
diff --git a/tests/Filesystem/FilesystemTest.php b/tests/Filesystem/FilesystemTest.php index 6fab4de691b3..1930ff15f963 100755 --- a/tests/Filesystem/FilesystemTest.php +++ b/tests/Filesystem/FilesystemTest.php @@ -672,4 +672,42 @@ private function getFilePermissions($file) return (int) base_convert($filePer...
[ "+ $testContent = 'This is a test file content';", "+ $files->put($filePath, $testContent);", "+ $this->assertCount(1, $allFiles);" ]
[ 13, 16, 43 ]
{ "additions": 38, "author": "roshandelpoor", "deletions": 0, "html_url": "https://github.com/laravel/framework/pull/55399", "issue_id": 55399, "merged_at": "2025-04-14T12:42:39Z", "omission_probability": 0.1, "pr_number": 55399, "repo": "laravel/framework", "title": "[12.x] Add comprehensive filesy...
43
diff --git a/.github/workflows/queues.yml b/.github/workflows/queues.yml index 2302892a3d38..3df36c7d6c82 100644 --- a/.github/workflows/queues.yml +++ b/.github/workflows/queues.yml @@ -178,7 +178,16 @@ jobs: beanstalkd: runs-on: ubuntu-24.04 - name: Beanstalkd Driver + strategy: + fail-fast: true...
diff --git a/.github/workflows/queues.yml b/.github/workflows/queues.yml index 2302892a3d38..3df36c7d6c82 100644 --- a/.github/workflows/queues.yml +++ b/.github/workflows/queues.yml @@ -178,7 +178,16 @@ jobs: beanstalkd: runs-on: ubuntu-24.04 - name: Beanstalkd Driver + strategy: + matrix: + ...
[ "+ fail-fast: true", "+ - php: 8.2" ]
[ 10, 13 ]
{ "additions": 14, "author": "crynobone", "deletions": 5, "html_url": "https://github.com/laravel/framework/pull/55397", "issue_id": 55397, "merged_at": "2025-04-14T12:41:50Z", "omission_probability": 0.1, "pr_number": 55397, "repo": "laravel/framework", "title": "[12.x] Supports `pda/pheanstalk` 7"...
44
diff --git a/tests/Filesystem/FilesystemTest.php b/tests/Filesystem/FilesystemTest.php index fe26087c6274..6fab4de691b3 100755 --- a/tests/Filesystem/FilesystemTest.php +++ b/tests/Filesystem/FilesystemTest.php @@ -648,6 +648,19 @@ public function testHash() $this->assertSame('76d3bc41c9f588f7fcd0d5bf4718f8f84...
diff --git a/tests/Filesystem/FilesystemTest.php b/tests/Filesystem/FilesystemTest.php index fe26087c6274..6fab4de691b3 100755 --- a/tests/Filesystem/FilesystemTest.php +++ b/tests/Filesystem/FilesystemTest.php @@ -648,6 +648,19 @@ public function testHash() $this->assertSame('76d3bc41c9f588f7fcd0d5bf4718f8f84...
[ "+ $filesystem = new Filesystem;" ]
[ 13 ]
{ "additions": 13, "author": "roshandelpoor", "deletions": 0, "html_url": "https://github.com/laravel/framework/pull/55389", "issue_id": 55389, "merged_at": "2025-04-13T21:09:19Z", "omission_probability": 0.1, "pr_number": 55389, "repo": "laravel/framework", "title": "[12.x] Add test for Filesystem:...
45
diff --git a/src/Illuminate/Database/Eloquent/Relations/Concerns/InteractsWithPivotTable.php b/src/Illuminate/Database/Eloquent/Relations/Concerns/InteractsWithPivotTable.php index 015554ed767a..454d79379195 100644 --- a/src/Illuminate/Database/Eloquent/Relations/Concerns/InteractsWithPivotTable.php +++ b/src/Illuminat...
diff --git a/src/Illuminate/Database/Eloquent/Relations/Concerns/InteractsWithPivotTable.php b/src/Illuminate/Database/Eloquent/Relations/Concerns/InteractsWithPivotTable.php index 015554ed767a..454d79379195 100644 --- a/src/Illuminate/Database/Eloquent/Relations/Concerns/InteractsWithPivotTable.php +++ b/src/Illuminat...
[ "+ ! empty($this->pivotWhereIns) ||", "+ } else {", "-", "- return $pivot", "+ /**", "+ $project->managers()->sync([$user2->id]);", "+ return $this->belongsToMany(PivotEventsTestUser::class, 'project_users', 'project_id', 'user_id')" ]
[ 60, 67, 83, 88, 92, 150, 171 ]
{ "additions": 79, "author": "amir9480", "deletions": 28, "html_url": "https://github.com/laravel/framework/pull/55280", "issue_id": 55280, "merged_at": "2025-04-11T16:14:05Z", "omission_probability": 0.1, "pr_number": 55280, "repo": "laravel/framework", "title": "[12.x] Fix pivot model events not w...
46
diff --git a/src/Illuminate/Translation/FileLoader.php b/src/Illuminate/Translation/FileLoader.php index 3ebbfcc1264b..e30fdf7c413e 100755 --- a/src/Illuminate/Translation/FileLoader.php +++ b/src/Illuminate/Translation/FileLoader.php @@ -102,15 +102,15 @@ protected function loadNamespaced($locale, $group, $namespace) ...
diff --git a/src/Illuminate/Translation/FileLoader.php b/src/Illuminate/Translation/FileLoader.php index 3ebbfcc1264b..e30fdf7c413e 100755 --- a/src/Illuminate/Translation/FileLoader.php +++ b/src/Illuminate/Translation/FileLoader.php @@ -102,15 +102,15 @@ protected function loadNamespaced($locale, $group, $namespace) ...
[]
[]
{ "additions": 18, "author": "fabio-ivona", "deletions": 4, "html_url": "https://github.com/laravel/framework/pull/55342", "issue_id": 55342, "merged_at": "2025-04-11T15:28:09Z", "omission_probability": 0.1, "pr_number": 55342, "repo": "laravel/framework", "title": "[12.x] Fix translation FileLoader...
47
diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php index b159f1febc9d..be5a2b3f1dbe 100644 --- a/src/Illuminate/Database/Eloquent/Model.php +++ b/src/Illuminate/Database/Eloquent/Model.php @@ -2501,6 +2501,7 @@ public function __sleep() $this->classCastCache ...
diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php index b159f1febc9d..be5a2b3f1dbe 100644 --- a/src/Illuminate/Database/Eloquent/Model.php +++ b/src/Illuminate/Database/Eloquent/Model.php @@ -2501,6 +2501,7 @@ public function __sleep() $this->classCastCache = ...
[ "+ Model::automaticallyEagerLoadRelationships();", "+ $comment1 = $post->comments()->create(['parent_id' => null]);", "+ $likes = [];" ]
[ 32, 35, 41 ]
{ "additions": 30, "author": "litvinchuk", "deletions": 0, "html_url": "https://github.com/laravel/framework/pull/55345", "issue_id": 55345, "merged_at": "2025-04-10T01:42:06Z", "omission_probability": 0.1, "pr_number": 55345, "repo": "laravel/framework", "title": "[12.x] Fix Closure serialization e...
48
diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php index 2f30de88a2b1..02ce0543b725 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php +++ b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php @...
diff --git a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php index 2f30de88a2b1..02ce0543b725 100644 --- a/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php +++ b/src/Illuminate/Database/Eloquent/Concerns/HasRelationships.php @...
[ "+ public function testRelationAutoloadForSingleModel()" ]
[ 40 ]
{ "additions": 36, "author": "litvinchuk", "deletions": 1, "html_url": "https://github.com/laravel/framework/pull/55344", "issue_id": 55344, "merged_at": "2025-04-09T15:56:34Z", "omission_probability": 0.1, "pr_number": 55344, "repo": "laravel/framework", "title": "[12.x] Add withRelationshipAutolo...
49
diff --git a/tests/Validation/ValidationUniqueRuleTest.php b/tests/Validation/ValidationUniqueRuleTest.php index 740d829927a3..69a4d0933088 100644 --- a/tests/Validation/ValidationUniqueRuleTest.php +++ b/tests/Validation/ValidationUniqueRuleTest.php @@ -2,12 +2,30 @@ namespace Illuminate\Tests\Validation; +use Il...
diff --git a/tests/Validation/ValidationUniqueRuleTest.php b/tests/Validation/ValidationUniqueRuleTest.php index 740d829927a3..69a4d0933088 100644 --- a/tests/Validation/ValidationUniqueRuleTest.php +++ b/tests/Validation/ValidationUniqueRuleTest.php @@ -2,12 +2,30 @@ namespace Illuminate\Tests\Validation; +use Illumi...
[ "+use Illuminate\\Translation\\ArrayLoader;", "+ $v = new Validator($trans, [], ['id_column' => $rule]);", "+ $v->setData(['id_column' => 1]);", "+ $v->setData(['id_column' => 3]);", "+ $table->timestamps();", "+ new ArrayLoader, locale: 'en'" ]
[ 11, 63, 66, 72, 87, 99 ]
{ "additions": 74, "author": "mohammadrasoulasghari", "deletions": 0, "html_url": "https://github.com/laravel/framework/pull/55351", "issue_id": 55351, "merged_at": "2025-04-10T14:59:27Z", "omission_probability": 0.1, "pr_number": 55351, "repo": "laravel/framework", "title": "Add test for Unique val...
50
diff --git a/src/services/findAllReferences.ts b/src/services/findAllReferences.ts index 522577f9d8f87..a2ed0feb795a7 100644 --- a/src/services/findAllReferences.ts +++ b/src/services/findAllReferences.ts @@ -1302,7 +1302,7 @@ export namespace Core { const symbol = node && skipPastExportOrImportSpecifierOrUnio...
diff --git a/src/services/findAllReferences.ts b/src/services/findAllReferences.ts index 522577f9d8f87..a2ed0feb795a7 100644 --- a/src/services/findAllReferences.ts +++ b/src/services/findAllReferences.ts @@ -1302,7 +1302,7 @@ export namespace Core { const symbol = node && skipPastExportOrImportSpecifierOrUnio...
[ "- const searchMeaning = node ? getIntersectingMeaningFromDeclarations(node, symbol) : SemanticMeaning.All;", "+// === /tests/cases/fourslash/renameNamespace.ts ===", "+// const a: [|NSRENAME|].E = [|NSRENAME|].E.A;" ]
[ 8, 44, 51 ]
{ "additions": 24, "author": "a-tarasyuk", "deletions": 4, "html_url": "https://github.com/microsoft/TypeScript/pull/61263", "issue_id": 61263, "merged_at": "2025-04-24T21:35:05Z", "omission_probability": 0.1, "pr_number": 61263, "repo": "microsoft/TypeScript", "title": "fix(61258): Renaming namespa...
51
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index fcb93c45dc1dd..c10bec95be42d 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -23003,6 +23003,24 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } } ...
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index fcb93c45dc1dd..c10bec95be42d 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -23003,6 +23003,24 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } } + ...
[ "+var b = null;" ]
[ 51 ]
{ "additions": 136, "author": "HansBrende", "deletions": 0, "html_url": "https://github.com/microsoft/TypeScript/pull/61113", "issue_id": 61113, "merged_at": "2025-04-24T20:55:56Z", "omission_probability": 0.1, "pr_number": 61113, "repo": "microsoft/TypeScript", "title": "Fix #61098", "total_chang...
52
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 4856fb694e974..2cdcad6f13901 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -6127,7 +6127,6 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { }, isOptionalParameter, ...
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 4856fb694e974..2cdcad6f13901 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -6127,7 +6127,6 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { isOptionalParameter, isUndefinedIde...
[ "+==== /node_modules/eslint-plugin-import-x/package.json (0 errors) ====", "+ \"name\": \"eslint-plugin-import-x\",", "+!!! error TS2322: Type '{ default: { configs: { 'stage-0': PluginConfig; }; }; configs: { 'stage-0': PluginConfig; }; }' is not assignable to type 'Plugin'.", "+!!! error TS2322: Ty...
[ 28, 30, 63, 65, 85, 95 ]
{ "additions": 93, "author": "andrewbranch", "deletions": 1, "html_url": "https://github.com/microsoft/TypeScript/pull/61582", "issue_id": 61582, "merged_at": "2025-04-16T16:43:33Z", "omission_probability": 0.1, "pr_number": 61582, "repo": "microsoft/TypeScript", "title": "Fix crash when serializing...
53
diff --git a/.github/workflows/accept-baselines-fix-lints.yaml b/.github/workflows/accept-baselines-fix-lints.yaml index 0b5fc8a49e306..f6b51d1d51c61 100644 --- a/.github/workflows/accept-baselines-fix-lints.yaml +++ b/.github/workflows/accept-baselines-fix-lints.yaml @@ -20,7 +20,7 @@ jobs: - uses: actions/chec...
diff --git a/.github/workflows/accept-baselines-fix-lints.yaml b/.github/workflows/accept-baselines-fix-lints.yaml index 0b5fc8a49e306..f6b51d1d51c61 100644 --- a/.github/workflows/accept-baselines-fix-lints.yaml +++ b/.github/workflows/accept-baselines-fix-lints.yaml diff --git a/.github/workflows/ci.yml b/.github/wor...
[ "+ uses: github/codeql-action/autobuild@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15" ]
[ 152 ]
{ "additions": 29, "author": "dependabot[bot]", "deletions": 29, "html_url": "https://github.com/microsoft/TypeScript/pull/61601", "issue_id": 61601, "merged_at": "2025-04-21T17:15:39Z", "omission_probability": 0.1, "pr_number": 61601, "repo": "microsoft/TypeScript", "title": "Bump the github-action...
54
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 7f18bbc1a1dec..f5c2ba822e1da 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -15504,6 +15504,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { isInJSFile(declaration) && ...
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 7f18bbc1a1dec..f5c2ba822e1da 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -15504,6 +15504,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { isInJSFile(declaration) && ...
[ "+> : ^ ^^^^^^^ ^^^ ^^ ^^^ ^^^^^^^^^^", "+> : ^^^", "+// @checkJs: true" ]
[ 87, 93, 119 ]
{ "additions": 108, "author": "Andarist", "deletions": 0, "html_url": "https://github.com/microsoft/TypeScript/pull/61177", "issue_id": 61177, "merged_at": "2025-04-14T22:35:21Z", "omission_probability": 0.1, "pr_number": 61177, "repo": "microsoft/TypeScript", "title": "Treat functions with `@type` ...
55
diff --git a/azure-pipelines.release-publish.yml b/azure-pipelines.release-publish.yml index c928166efb115..2f3aac21446cc 100644 --- a/azure-pipelines.release-publish.yml +++ b/azure-pipelines.release-publish.yml @@ -1,15 +1,25 @@ trigger: none pr: none +parameters: + - name: _REMINDER + default: Review & undra...
diff --git a/azure-pipelines.release-publish.yml b/azure-pipelines.release-publish.yml index c928166efb115..2f3aac21446cc 100644 --- a/azure-pipelines.release-publish.yml +++ b/azure-pipelines.release-publish.yml @@ -1,15 +1,25 @@ trigger: none pr: none +parameters: + - name: _REMINDER + default: Review & undraft...
[ "+ - name: TAG_NAME" ]
[ 15 ]
{ "additions": 19, "author": "jakebailey", "deletions": 5, "html_url": "https://github.com/microsoft/TypeScript/pull/61523", "issue_id": 61523, "merged_at": "2025-04-04T19:22:19Z", "omission_probability": 0.1, "pr_number": 61523, "repo": "microsoft/TypeScript", "title": "Convert release publishing i...
56
diff --git a/src/services/completions.ts b/src/services/completions.ts index 30e9ad40bf3f1..dd623aadeb156 100644 --- a/src/services/completions.ts +++ b/src/services/completions.ts @@ -2745,8 +2745,14 @@ export function getCompletionEntriesFromSymbols( } // Filter out variables from their own...
diff --git a/src/services/completions.ts b/src/services/completions.ts index 30e9ad40bf3f1..dd623aadeb156 100644 --- a/src/services/completions.ts +++ b/src/services/completions.ts @@ -2745,8 +2745,14 @@ export function getCompletionEntriesFromSymbols( // Filter out variables from their own initializers ...
[ "+//// const { a1 } = a/*10*/;" ]
[ 29 ]
{ "additions": 35, "author": "zardoy", "deletions": 2, "html_url": "https://github.com/microsoft/TypeScript/pull/52723", "issue_id": 52723, "merged_at": "2025-04-02T20:47:43Z", "omission_probability": 0.1, "pr_number": 52723, "repo": "microsoft/TypeScript", "title": "Exclude completions of binding p...
57
diff --git a/src/services/symbolDisplay.ts b/src/services/symbolDisplay.ts index 0524d150972bc..8a0a9719a940f 100644 --- a/src/services/symbolDisplay.ts +++ b/src/services/symbolDisplay.ts @@ -1,4 +1,5 @@ import { + AccessorDeclaration, addRange, arrayFrom, BinaryExpression, @@ -16,7 +17,6 @@ im...
diff --git a/src/services/symbolDisplay.ts b/src/services/symbolDisplay.ts index 0524d150972bc..8a0a9719a940f 100644 --- a/src/services/symbolDisplay.ts +++ b/src/services/symbolDisplay.ts @@ -1,4 +1,5 @@ import { + AccessorDeclaration, addRange, arrayFrom, BinaryExpression, @@ -16,7 +17,6 @@ import ...
[ "+//// set(v) {" ]
[ 81 ]
{ "additions": 44, "author": "Andarist", "deletions": 3, "html_url": "https://github.com/microsoft/TypeScript/pull/55478", "issue_id": 55478, "merged_at": "2025-04-01T20:40:59Z", "omission_probability": 0.1, "pr_number": 55478, "repo": "microsoft/TypeScript", "title": "Fixed a symbol display crash o...
58
diff --git a/azure-pipelines.release-publish.yml b/azure-pipelines.release-publish.yml new file mode 100644 index 0000000000000..ba5b4e2eccad3 --- /dev/null +++ b/azure-pipelines.release-publish.yml @@ -0,0 +1,109 @@ +trigger: none +pr: none + +variables: + - name: _REMINDER + value: Review & undraft the release at...
diff --git a/azure-pipelines.release-publish.yml b/azure-pipelines.release-publish.yml new file mode 100644 index 0000000000000..ba5b4e2eccad3 --- /dev/null +++ b/azure-pipelines.release-publish.yml @@ -0,0 +1,109 @@ +trigger: none +pr: none +variables: + - name: _REMINDER + value: Review & undraft the release at h...
[ "+ value: dev", "+ - pipeline: 'tgz'", "+ os: windows", "+ stages:", "+ type: releaseJob", "+ verbose: false", "+ isDraft: true" ]
[ 13, 21, 42, 44, 54, 74, 113 ]
{ "additions": 109, "author": "jakebailey", "deletions": 0, "html_url": "https://github.com/microsoft/TypeScript/pull/61491", "issue_id": 61491, "merged_at": "2025-03-31T23:10:52Z", "omission_probability": 0.1, "pr_number": 61491, "repo": "microsoft/TypeScript", "title": "Add new release publisher y...
59
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 0dcaaf9c7a8c5..67a733cbbb811 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -34454,7 +34454,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } function containerSeemsToBeEmptyDomElement(...
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 0dcaaf9c7a8c5..67a733cbbb811 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -34454,7 +34454,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { function containerSeemsToBeEmptyDomElement(containin...
[ "+ return (compilerOptions.lib && !compilerOptions.lib.includes(\"lib.dom.d.ts\")) &&", "+>({}) as any : any" ]
[ 9, 79 ]
{ "additions": 56, "author": "frodi-karlsson", "deletions": 1, "html_url": "https://github.com/microsoft/TypeScript/pull/61481", "issue_id": 61481, "merged_at": "2025-03-25T23:24:53Z", "omission_probability": 0.1, "pr_number": 61481, "repo": "microsoft/TypeScript", "title": "Fix `lib.includes('dom')...
60
diff --git a/.github/workflows/accept-baselines-fix-lints.yaml b/.github/workflows/accept-baselines-fix-lints.yaml index fda98582606e6..0b5fc8a49e306 100644 --- a/.github/workflows/accept-baselines-fix-lints.yaml +++ b/.github/workflows/accept-baselines-fix-lints.yaml @@ -20,7 +20,7 @@ jobs: - uses: actions/chec...
diff --git a/.github/workflows/accept-baselines-fix-lints.yaml b/.github/workflows/accept-baselines-fix-lints.yaml index fda98582606e6..0b5fc8a49e306 100644 --- a/.github/workflows/accept-baselines-fix-lints.yaml +++ b/.github/workflows/accept-baselines-fix-lints.yaml diff --git a/.github/workflows/ci.yml b/.github/wor...
[ "+ uses: github/codeql-action/autobuild@5f8171a638ada777af81d42b55959a643bb29017 # v3.28.12" ]
[ 167 ]
{ "additions": 33, "author": "dependabot[bot]", "deletions": 33, "html_url": "https://github.com/microsoft/TypeScript/pull/61474", "issue_id": 61474, "merged_at": "2025-03-24T11:23:27Z", "omission_probability": 0.1, "pr_number": 61474, "repo": "microsoft/TypeScript", "title": "Bump the github-action...
61
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 843b5b2f94d66..0dcaaf9c7a8c5 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -37316,8 +37316,8 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { grammarErrorOnNode(node, Diagnostics.This_...
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 843b5b2f94d66..0dcaaf9c7a8c5 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -37316,8 +37316,8 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { grammarErrorOnNode(node, Diagnostics.This_...
[ "- const end = skipTrivia(file.text, node.type.end) + \">\".length;", "+ const end = node.expression.pos;", "+ let b = <unknown 123;", "+>c : Symbol(c, Decl(index.ts, 2, 3))", "+><unknown function foo() {} : unknown", "+> : ^^^^^^^", "+// @erasableSyntaxOnly: tru...
[ 9, 11, 35, 80, 96, 115, 125 ]
{ "additions": 87, "author": "DanielRosenwasser", "deletions": 2, "html_url": "https://github.com/microsoft/TypeScript/pull/61452", "issue_id": 61452, "merged_at": "2025-03-19T23:25:22Z", "omission_probability": 0.1, "pr_number": 61452, "repo": "microsoft/TypeScript", "title": "Fix errors on type as...
62
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index c42b0b81585ed..e1ea8e4c56ec9 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -37315,8 +37315,8 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { grammarErrorOnNode(node, Diagnostics.This_...
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index c42b0b81585ed..e1ea8e4c56ec9 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -37315,8 +37315,8 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { grammarErrorOnNode(node, Diagnostics.This_...
[ "+ const start = skipTrivia(file.text, node.pos);", "+ let b = <unknown 123;", "+//// [index.ts]", "+var a = function foo() { };", "+> : ^^^^^^^^^^", "+>c : unknown" ]
[ 10, 35, 54, 60, 101, 112 ]
{ "additions": 87, "author": "typescript-bot", "deletions": 2, "html_url": "https://github.com/microsoft/TypeScript/pull/61453", "issue_id": 61453, "merged_at": "2025-03-19T23:25:05Z", "omission_probability": 0.1, "pr_number": 61453, "repo": "microsoft/TypeScript", "title": "🤖 Pick PR #61452 (Fix e...
63
diff --git a/src/compiler/expressionToTypeNode.ts b/src/compiler/expressionToTypeNode.ts index ad4f8321066e9..d754947177c52 100644 --- a/src/compiler/expressionToTypeNode.ts +++ b/src/compiler/expressionToTypeNode.ts @@ -1123,15 +1123,16 @@ export function createSyntacticTypeNodeBuilder( ); } funct...
diff --git a/src/compiler/expressionToTypeNode.ts b/src/compiler/expressionToTypeNode.ts index ad4f8321066e9..d754947177c52 100644 --- a/src/compiler/expressionToTypeNode.ts +++ b/src/compiler/expressionToTypeNode.ts @@ -1123,15 +1123,16 @@ export function createSyntacticTypeNodeBuilder( ); function reuse...
[ "+ );", "+exports.needsRenameForShadowing = needsRenameForShadowing;", "+ };", "+//// [declarationEmitShadowing.d.ts]", "+export declare class A<T = any> {", "+export declare function needsRenameForShadowing<T>(): <T_1>(t: T, t2: T_1) => void;", "+>needsRenameForShadowing : Symbol(needsRen...
[ 21, 52, 64, 68, 69, 72, 96, 128, 130 ]
{ "additions": 132, "author": "typescript-bot", "deletions": 5, "html_url": "https://github.com/microsoft/TypeScript/pull/61345", "issue_id": 61345, "merged_at": "2025-03-19T21:53:48Z", "omission_probability": 0.1, "pr_number": 61345, "repo": "microsoft/TypeScript", "title": "🤖 Pick PR #61342 (Rena...
64
diff --git a/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl index 857e007dbff90..e3eac2d03f42e 100644 --- a/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl +++ b/src/loc/lcl/chs/diagnosticMessag...
diff --git a/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl index 857e007dbff90..e3eac2d03f42e 100644 --- a/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl +++ b/src/loc/lcl/chs/diagnosticMessag...
[ "+ <Val><![CDATA[Projekt \"{0}\" kann nicht erstellt werden, weil die Abhängigkeit \"{1}\" Fehler enthält.]]></Val>", "+ <Val><![CDATA[Omitiendo la compilación del proyecto \"{0}\" porque su dependencia \"{1}\" no se ha compilado]]></Val>", "+ <Val><![CDATA[Ignorer la build du p...
[ 135, 205, 247, 270, 396, 406, 499 ]
{ "additions": 156, "author": "csigs", "deletions": 0, "html_url": "https://github.com/microsoft/TypeScript/pull/61368", "issue_id": 61368, "merged_at": "2025-03-06T20:41:55Z", "omission_probability": 0.1, "pr_number": 61368, "repo": "microsoft/TypeScript", "title": "LEGO: Pull request from lego/hb_...
65
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index abd6fd4bf2e8d..8797dbbf80137 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -47974,7 +47974,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return; } - if (compilerO...
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index abd6fd4bf2e8d..8797dbbf80137 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -47974,7 +47974,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return; - if (compilerOptions.erasableS...
[ "+==== esm.mts (0 errors) ====", "+//// [esm.mjs]" ]
[ 23, 48 ]
{ "additions": 69, "author": "jakebailey", "deletions": 1, "html_url": "https://github.com/microsoft/TypeScript/pull/61210", "issue_id": 61210, "merged_at": "2025-02-18T16:06:12Z", "omission_probability": 0.1, "pr_number": 61210, "repo": "microsoft/TypeScript", "title": "Fix mistakenly disallowed de...
66
diff --git a/src/compiler/expressionToTypeNode.ts b/src/compiler/expressionToTypeNode.ts index 7ef64ad6375b5..73e176432d5ac 100644 --- a/src/compiler/expressionToTypeNode.ts +++ b/src/compiler/expressionToTypeNode.ts @@ -1122,15 +1122,16 @@ export function createSyntacticTypeNodeBuilder( ); } funct...
diff --git a/src/compiler/expressionToTypeNode.ts b/src/compiler/expressionToTypeNode.ts index 7ef64ad6375b5..73e176432d5ac 100644 --- a/src/compiler/expressionToTypeNode.ts +++ b/src/compiler/expressionToTypeNode.ts @@ -1122,15 +1122,16 @@ export function createSyntacticTypeNodeBuilder( ); function reuse...
[ "- );", "+exports.A = void 0;", "+ function A() {", "+>t : Symbol(t, Decl(declarationEmitShadowing.ts, 8, 23))", "+> : ^^^^", "+>ShadowedButDoesNotRequireRenaming : <T_1>() => T_1", "+>function O<T>(t: A, t2: T) { } : <T_1>(t: T, t2: T_1) => void", "+> : ^^^^...
[ 20, 51, 54, 106, 124, 127, 146, 147, 148, 153 ]
{ "additions": 132, "author": "dragomirtitian", "deletions": 5, "html_url": "https://github.com/microsoft/TypeScript/pull/61342", "issue_id": 61342, "merged_at": "2025-03-04T19:34:33Z", "omission_probability": 0.1, "pr_number": 61342, "repo": "microsoft/TypeScript", "title": "Rename type parameters ...
67
diff --git a/src/compiler/moduleNameResolver.ts b/src/compiler/moduleNameResolver.ts index 5ce9ca431b15f..3fa7da5d5c960 100644 --- a/src/compiler/moduleNameResolver.ts +++ b/src/compiler/moduleNameResolver.ts @@ -3118,7 +3118,7 @@ function loadModuleFromSpecificNodeModulesDirectory(extensions: Extensions, modu ...
diff --git a/src/compiler/moduleNameResolver.ts b/src/compiler/moduleNameResolver.ts index 5ce9ca431b15f..3fa7da5d5c960 100644 --- a/src/compiler/moduleNameResolver.ts +++ b/src/compiler/moduleNameResolver.ts @@ -3118,7 +3118,7 @@ function loadModuleFromSpecificNodeModulesDirectory(extensions: Extensions, modu ...
[ "+==== /node_modules/i-have-a-dir-and-main/dist/index.d.ts (0 errors) ====", "+ { \"type\": \"module\" }", "+// @noUncheckedSideEffectImports: true", "+import 'i-have-a-dir-and-main/dist/dir' // error" ]
[ 30, 37, 52, 77 ]
{ "additions": 53, "author": "andrewbranch", "deletions": 1, "html_url": "https://github.com/microsoft/TypeScript/pull/61082", "issue_id": 61082, "merged_at": "2025-01-30T18:17:14Z", "omission_probability": 0.1, "pr_number": 61082, "repo": "microsoft/TypeScript", "title": "Fix accidental ESM-mode di...
68
diff --git a/src/loc/lcl/cht/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/cht/diagnosticMessages/diagnosticMessages.generated.json.lcl index 8630475bb08ea..7f3d86df295aa 100644 --- a/src/loc/lcl/cht/diagnosticMessages/diagnosticMessages.generated.json.lcl +++ b/src/loc/lcl/cht/diagnosticMessag...
diff --git a/src/loc/lcl/cht/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/cht/diagnosticMessages/diagnosticMessages.generated.json.lcl index 8630475bb08ea..7f3d86df295aa 100644 --- a/src/loc/lcl/cht/diagnosticMessages/diagnosticMessages.generated.json.lcl +++ b/src/loc/lcl/cht/diagnosticMessag...
[ "+ <Val><![CDATA[Cette expression n’est jamais nulle.]]></Val>", "+ <Val><![CDATA[이 표현식은 nullish가 되지 않습니다.]]></Val>" ]
[ 72, 112 ]
{ "additions": 72, "author": "csigs", "deletions": 0, "html_url": "https://github.com/microsoft/TypeScript/pull/61315", "issue_id": 61315, "merged_at": "2025-02-27T20:58:31Z", "omission_probability": 0.1, "pr_number": 61315, "repo": "microsoft/TypeScript", "title": "LEGO: Pull request from lego/hb_5...
69
diff --git a/src/harness/vfsUtil.ts b/src/harness/vfsUtil.ts index 4799927a70a14..596575beece2c 100644 --- a/src/harness/vfsUtil.ts +++ b/src/harness/vfsUtil.ts @@ -637,7 +637,7 @@ export class FileSystem { * * NOTE: do not rename this method as it is intended to align with the same named export of the "fs...
diff --git a/src/harness/vfsUtil.ts b/src/harness/vfsUtil.ts index 4799927a70a14..596575beece2c 100644 --- a/src/harness/vfsUtil.ts +++ b/src/harness/vfsUtil.ts @@ -637,7 +637,7 @@ export class FileSystem { - public readFileSync(path: string, encoding?: null): Buffer; // eslint-disable-line no-restricted-syntax + ...
[ "+ Types of property '[Symbol.toStringTag]' are incompatible." ]
[ 42 ]
{ "additions": 46, "author": "petamoriken", "deletions": 3, "html_url": "https://github.com/microsoft/TypeScript/pull/60150", "issue_id": 60150, "merged_at": "2025-02-24T19:17:35Z", "omission_probability": 0.1, "pr_number": 60150, "repo": "microsoft/TypeScript", "title": "Fix to use string literal t...
70
diff --git a/src/lib/es2017.sharedmemory.d.ts b/src/lib/es2017.sharedmemory.d.ts index 5e4e59018c622..f658c8155364f 100644 --- a/src/lib/es2017.sharedmemory.d.ts +++ b/src/lib/es2017.sharedmemory.d.ts @@ -11,13 +11,13 @@ interface SharedArrayBuffer { * Returns a section of an SharedArrayBuffer. */ sl...
diff --git a/src/lib/es2017.sharedmemory.d.ts b/src/lib/es2017.sharedmemory.d.ts index 5e4e59018c622..f658c8155364f 100644 --- a/src/lib/es2017.sharedmemory.d.ts +++ b/src/lib/es2017.sharedmemory.d.ts @@ -11,13 +11,13 @@ interface SharedArrayBuffer { * Returns a section of an SharedArrayBuffer. */ slic...
[ "+>species : Symbol(species, Decl(useSharedArrayBuffer4.ts, 4, 3))", "+>stringTag : Symbol(stringTag, Decl(useSharedArrayBuffer5.ts, 1, 3))" ]
[ 71, 155 ]
{ "additions": 56, "author": "Renegade334", "deletions": 56, "html_url": "https://github.com/microsoft/TypeScript/pull/61271", "issue_id": 61271, "merged_at": "2025-02-26T21:47:50Z", "omission_probability": 0.1, "pr_number": 61271, "repo": "microsoft/TypeScript", "title": "lib.es2017: Move `SharedAr...
71
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index abd6fd4bf2e8d..8797dbbf80137 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -47974,7 +47974,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return; } - if (compilerO...
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index abd6fd4bf2e8d..8797dbbf80137 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -47974,7 +47974,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return; + if (compilerOptions.erasableS...
[ "- if (compilerOptions.erasableSyntaxOnly && !(node.flags & NodeFlags.Ambient)) {", "+==== esm.d.mts (0 errors) ====" ]
[ 8, 97 ]
{ "additions": 69, "author": "typescript-bot", "deletions": 1, "html_url": "https://github.com/microsoft/TypeScript/pull/61237", "issue_id": 61237, "merged_at": "2025-02-26T06:46:12Z", "omission_probability": 0.1, "pr_number": 61237, "repo": "microsoft/TypeScript", "title": "🤖 Pick PR #61210 (Fix m...
72
diff --git a/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl index 720fea33b86ba..857e007dbff90 100644 --- a/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl +++ b/src/loc/lcl/chs/diagnosticMessag...
diff --git a/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl index 720fea33b86ba..857e007dbff90 100644 --- a/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl +++ b/src/loc/lcl/chs/diagnosticMessag...
[]
[]
{ "additions": 45, "author": "csigs", "deletions": 0, "html_url": "https://github.com/microsoft/TypeScript/pull/61269", "issue_id": 61269, "merged_at": "2025-02-25T22:39:49Z", "omission_probability": 0.1, "pr_number": 61269, "repo": "microsoft/TypeScript", "title": "LEGO: Pull request from lego/hb_5...
73
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index d9d1950d6b675..8b015d6dd0af8 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -11821,7 +11821,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } // always widen a 'unique s...
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index d9d1950d6b675..8b015d6dd0af8 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -11821,7 +11821,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { // always widen a 'unique symbol' type if the ...
[ "+var z = x;" ]
[ 61 ]
{ "additions": 124, "author": "Andarist", "deletions": 1, "html_url": "https://github.com/microsoft/TypeScript/pull/61180", "issue_id": 61180, "merged_at": "2025-02-24T19:53:10Z", "omission_probability": 0.1, "pr_number": 61180, "repo": "microsoft/TypeScript", "title": "Don't widen unique symbols an...
74
diff --git a/src/services/formatting/smartIndenter.ts b/src/services/formatting/smartIndenter.ts index c6ed975a1a516..7f41a2701b8c3 100644 --- a/src/services/formatting/smartIndenter.ts +++ b/src/services/formatting/smartIndenter.ts @@ -729,6 +729,11 @@ export namespace SmartIndenter { return false...
diff --git a/src/services/formatting/smartIndenter.ts b/src/services/formatting/smartIndenter.ts index c6ed975a1a516..7f41a2701b8c3 100644 --- a/src/services/formatting/smartIndenter.ts +++ b/src/services/formatting/smartIndenter.ts @@ -729,6 +729,11 @@ export namespace SmartIndenter { return false...
[]
[]
{ "additions": 20, "author": "a-tarasyuk", "deletions": 0, "html_url": "https://github.com/microsoft/TypeScript/pull/60898", "issue_id": 60898, "merged_at": "2025-02-24T19:51:29Z", "omission_probability": 0.1, "pr_number": 60898, "repo": "microsoft/TypeScript", "title": "fix(60887): Incorrect Format...
75
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 7f18bbc1a1dec..9d92c2bcbaf40 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -28732,7 +28732,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { // parameter declared in the same paramete...
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 7f18bbc1a1dec..9d92c2bcbaf40 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -28732,7 +28732,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { // parameter declared in the same paramete...
[ "+>true : true" ]
[ 86 ]
{ "additions": 150, "author": "MichalMarsalek", "deletions": 1, "html_url": "https://github.com/microsoft/TypeScript/pull/59673", "issue_id": 59673, "merged_at": "2025-02-24T18:29:01Z", "omission_probability": 0.1, "pr_number": 59673, "repo": "microsoft/TypeScript", "title": "make exported destructu...
76
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b3d9c346a2ab..11dcdc0cda385 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,7 +90,7 @@ jobs: run: npm test -- --no-lint --coverage - name: Upload coverage artifact - uses: actions/upload-artifact...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b3d9c346a2ab..11dcdc0cda385 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,7 +90,7 @@ jobs: run: npm test -- --no-lint --coverage - name: Upload coverage artifact name: coverage pat...
[]
[]
{ "additions": 10, "author": "dependabot[bot]", "deletions": 10, "html_url": "https://github.com/microsoft/TypeScript/pull/61257", "issue_id": 61257, "merged_at": "2025-02-24T17:05:10Z", "omission_probability": 0.1, "pr_number": 61257, "repo": "microsoft/TypeScript", "title": "Bump the github-action...
77
diff --git a/src/services/stringCompletions.ts b/src/services/stringCompletions.ts index b5cf950c337ae..04c6638136ebf 100644 --- a/src/services/stringCompletions.ts +++ b/src/services/stringCompletions.ts @@ -12,6 +12,7 @@ import { addToSeen, altDirectorySeparator, arrayFrom, + BinaryExpression, ...
diff --git a/src/services/stringCompletions.ts b/src/services/stringCompletions.ts index b5cf950c337ae..04c6638136ebf 100644 --- a/src/services/stringCompletions.ts +++ b/src/services/stringCompletions.ts @@ -12,6 +12,7 @@ import { addToSeen, altDirectorySeparator, arrayFrom, + BinaryExpression, ...
[ "+ case SyntaxKind.BinaryExpression:", "+//// declare const obj: {", "+//// if (\"/*1*/\" in obj) {}", "+//// if ((((\"/*2*/\"))) in obj) {}", "+//// class Cls1 { foo = ''; #bar = 0; }", "+ marker: \"7\"," ]
[ 17, 41, 46, 47, 55, 76 ]
{ "additions": 54, "author": "Andarist", "deletions": 1, "html_url": "https://github.com/microsoft/TypeScript/pull/60272", "issue_id": 60272, "merged_at": "2025-02-20T22:01:52Z", "omission_probability": 0.1, "pr_number": 60272, "repo": "microsoft/TypeScript", "title": "Provide string completions for...
78
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index abd6fd4bf2e8d..9b0adae70bbd4 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -47165,7 +47165,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { checkCollisionsForDeclarationName(node, node.na...
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index abd6fd4bf2e8d..9b0adae70bbd4 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -47165,7 +47165,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { checkCollisionsForDeclarationName(node, node.name)...
[ "+>A : A" ]
[ 62 ]
{ "additions": 62, "author": "Andarist", "deletions": 1, "html_url": "https://github.com/microsoft/TypeScript/pull/61184", "issue_id": 61184, "merged_at": "2025-02-20T18:48:34Z", "omission_probability": 0.1, "pr_number": 61184, "repo": "microsoft/TypeScript", "title": "Fixed JSDoc checking on enum m...
79
diff --git a/src/services/codefixes/helpers.ts b/src/services/codefixes/helpers.ts index 107f954def412..ebb58bae13c09 100644 --- a/src/services/codefixes/helpers.ts +++ b/src/services/codefixes/helpers.ts @@ -621,6 +621,9 @@ function endOfRequiredTypeParameters(checker: TypeChecker, type: GenericType): n const ful...
diff --git a/src/services/codefixes/helpers.ts b/src/services/codefixes/helpers.ts index 107f954def412..ebb58bae13c09 100644 --- a/src/services/codefixes/helpers.ts +++ b/src/services/codefixes/helpers.ts @@ -621,6 +621,9 @@ function endOfRequiredTypeParameters(checker: TypeChecker, type: GenericType): n const ful...
[ "+export function g(x: Foo<number, unknown, number>): Foo<number> { return x; }", "+ description: \"Add return type 'Foo'\"," ]
[ 83, 103 ]
{ "additions": 75, "author": "blickly", "deletions": 0, "html_url": "https://github.com/microsoft/TypeScript/pull/61227", "issue_id": 61227, "merged_at": "2025-02-20T01:28:50Z", "omission_probability": 0.1, "pr_number": 61227, "repo": "microsoft/TypeScript", "title": "Fix quick fix for isolatedDecla...
80
diff --git a/package-lock.json b/package-lock.json index 40e69852eb561..5a0b173b47c3a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "typescript", - "version": "5.8.0", + "version": "5.9.0", "lockfileVersion": 2, "requires": true, "packages": { "":...
diff --git a/package-lock.json b/package-lock.json index 40e69852eb561..5a0b173b47c3a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "typescript", - "version": "5.8.0", + ...
[]
[]
{ "additions": 5, "author": "DanielRosenwasser", "deletions": 5, "html_url": "https://github.com/microsoft/TypeScript/pull/61218", "issue_id": 61218, "merged_at": "2025-02-18T19:16:22Z", "omission_probability": 0.1, "pr_number": 61218, "repo": "microsoft/TypeScript", "title": "Bump version to 5.9", ...
81
diff --git a/src/compiler/path.ts b/src/compiler/path.ts index b05216adc47b5..a06359d51e549 100644 --- a/src/compiler/path.ts +++ b/src/compiler/path.ts @@ -624,28 +624,128 @@ export function getNormalizedPathComponents(path: string, currentDirectory: stri } /** @internal */ -export function getNormalizedAbsolut...
diff --git a/src/compiler/path.ts b/src/compiler/path.ts index b05216adc47b5..a06359d51e549 100644 --- a/src/compiler/path.ts +++ b/src/compiler/path.ts @@ -624,28 +624,128 @@ export function getNormalizedPathComponents(path: string, currentDirectory: stri -export function getNormalizedAbsolutePath(fileName: string, cu...
[ "+ seenNonDotDotSegment = rootLength !== 0;" ]
[ 84 ]
{ "additions": 121, "author": "andrewbranch", "deletions": 6, "html_url": "https://github.com/microsoft/TypeScript/pull/60812", "issue_id": 60812, "merged_at": "2025-01-09T19:36:08Z", "omission_probability": 0.1, "pr_number": 60812, "repo": "microsoft/TypeScript", "title": "Write path normalization ...
82
diff --git a/src/compiler/transformers/module/esnextAnd2015.ts b/src/compiler/transformers/module/esnextAnd2015.ts index 2f2d23c468089..40662f302269c 100644 --- a/src/compiler/transformers/module/esnextAnd2015.ts +++ b/src/compiler/transformers/module/esnextAnd2015.ts @@ -158,7 +158,7 @@ export function transformECMASc...
diff --git a/src/compiler/transformers/module/esnextAnd2015.ts b/src/compiler/transformers/module/esnextAnd2015.ts index 2f2d23c468089..40662f302269c 100644 --- a/src/compiler/transformers/module/esnextAnd2015.ts +++ b/src/compiler/transformers/module/esnextAnd2015.ts @@ -158,7 +158,7 @@ export function transformECMASc...
[]
[]
{ "additions": 36, "author": "Andarist", "deletions": 3, "html_url": "https://github.com/microsoft/TypeScript/pull/61154", "issue_id": 61154, "merged_at": "2025-02-10T23:02:37Z", "omission_probability": 0.1, "pr_number": 61154, "repo": "microsoft/TypeScript", "title": "Fixed `rewriteRelativeImportEx...
83
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 7a4370b2b52fc..29229cf34fbd3 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -49216,11 +49216,11 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } else if (isEntityName(name) && isTyp...
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 7a4370b2b52fc..29229cf34fbd3 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -49216,11 +49216,11 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { else if (isEntityName(name) && isTypeReferenceId...
[]
[]
{ "additions": 5, "author": "jakebailey", "deletions": 5, "html_url": "https://github.com/microsoft/TypeScript/pull/61144", "issue_id": 61144, "merged_at": "2025-02-10T17:26:52Z", "omission_probability": 0.1, "pr_number": 61144, "repo": "microsoft/TypeScript", "title": "Pass ignoreErrors=true to mor...
84
diff --git a/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl index aea89613258c3..720fea33b86ba 100644 --- a/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl +++ b/src/loc/lcl/chs/diagnosticMessag...
diff --git a/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl index aea89613258c3..720fea33b86ba 100644 --- a/src/loc/lcl/chs/diagnosticMessages/diagnosticMessages.generated.json.lcl +++ b/src/loc/lcl/chs/diagnosticMessag...
[ "+ <Val><![CDATA[匯入宣告已由匯入屬性取代。使用 『with』 而非 'assert'。]]></Val>", "+ <Val><![CDATA[Kontrolní výrazy importu byly nahrazeny atributy importu. Místo assert použijte with.]]></Val>", "- <Val><![CDATA[As asserções de importação foram substituídas por atributos de importação. Use 'with...
[ 34, 53, 204 ]
{ "additions": 39, "author": "csigs", "deletions": 39, "html_url": "https://github.com/microsoft/TypeScript/pull/61114", "issue_id": 61114, "merged_at": "2025-02-04T20:46:49Z", "omission_probability": 0.1, "pr_number": 61114, "repo": "microsoft/TypeScript", "title": "LEGO: Pull request from lego/hb_...
85
diff --git a/.github/workflows/accept-baselines-fix-lints.yaml b/.github/workflows/accept-baselines-fix-lints.yaml index 333348156fbf1..fda98582606e6 100644 --- a/.github/workflows/accept-baselines-fix-lints.yaml +++ b/.github/workflows/accept-baselines-fix-lints.yaml @@ -20,7 +20,7 @@ jobs: - uses: actions/chec...
diff --git a/.github/workflows/accept-baselines-fix-lints.yaml b/.github/workflows/accept-baselines-fix-lints.yaml index 333348156fbf1..fda98582606e6 100644 --- a/.github/workflows/accept-baselines-fix-lints.yaml +++ b/.github/workflows/accept-baselines-fix-lints.yaml diff --git a/.github/workflows/ci.yml b/.github/wor...
[ "- uses: github/codeql-action/autobuild@f6091c0113d1dcf9b98e269ee48e8a7e51b7bdd4 # v3.28.5" ]
[ 142 ]
{ "additions": 28, "author": "dependabot[bot]", "deletions": 28, "html_url": "https://github.com/microsoft/TypeScript/pull/61102", "issue_id": 61102, "merged_at": "2025-02-03T16:36:45Z", "omission_probability": 0.1, "pr_number": 61102, "repo": "microsoft/TypeScript", "title": "Bump the github-action...
86
diff --git a/eslint.config.mjs b/eslint.config.mjs index 195ca4293e4be..9fd6276e584fc 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -155,6 +155,7 @@ export default tseslint.config( "local/no-keywords": "error", "local/jsdoc-format": "error", "local/js-extensions": "e...
diff --git a/eslint.config.mjs b/eslint.config.mjs index 195ca4293e4be..9fd6276e584fc 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -155,6 +155,7 @@ export default tseslint.config( "local/no-keywords": "error", "local/jsdoc-format": "error", "local/js-extensions": "err...
[ "+ * This is a heuristic to ignore cases where the mutating method appears to be", "+ return true;", "+ if (callee.parent.parent.type === \"ExpressionStatement\") return;", "+ const calleeObjType = getConstrainedTypeAtLocation(services, callee.object);", "+ ...
[ 75, 84, 138, 141, 148, 163, 164, 187, 232, 245, 253, 254, 267, 332 ]
{ "additions": 153, "author": "jakebailey", "deletions": 19, "html_url": "https://github.com/microsoft/TypeScript/pull/59526", "issue_id": 59526, "merged_at": "2024-08-14T16:28:57Z", "omission_probability": 0.1, "pr_number": 59526, "repo": "microsoft/TypeScript", "title": "Add custom eslint rule 'no...
87
diff --git a/src/services/refactors/moveToFile.ts b/src/services/refactors/moveToFile.ts index 6245fe4903dcc..18fd421d6d0ee 100644 --- a/src/services/refactors/moveToFile.ts +++ b/src/services/refactors/moveToFile.ts @@ -886,7 +886,7 @@ export function getUsageInfo(oldFile: SourceFile, toMove: readonly Statement[], ...
diff --git a/src/services/refactors/moveToFile.ts b/src/services/refactors/moveToFile.ts index 6245fe4903dcc..18fd421d6d0ee 100644 --- a/src/services/refactors/moveToFile.ts +++ b/src/services/refactors/moveToFile.ts @@ -886,7 +886,7 @@ export function getUsageInfo(oldFile: SourceFile, toMove: readonly Statement[], ...
[ "- if (!symbol.declarations) {", "+/// <reference path=\"fourslash.ts\" />" ]
[ 8, 19 ]
{ "additions": 16, "author": "andrewbranch", "deletions": 1, "html_url": "https://github.com/microsoft/TypeScript/pull/61084", "issue_id": 61084, "merged_at": "2025-01-30T21:49:26Z", "omission_probability": 0.1, "pr_number": 61084, "repo": "microsoft/TypeScript", "title": "[moveToFile] Fix symbols w...
88
diff --git a/src/lib/dom.generated.d.ts b/src/lib/dom.generated.d.ts index a063538168562..edcb4aac24ff0 100644 --- a/src/lib/dom.generated.d.ts +++ b/src/lib/dom.generated.d.ts @@ -4854,11 +4854,23 @@ interface CSSStyleDeclaration { paddingTop: string; /** [MDN Reference](https://developer.mozilla.org/docs/We...
diff --git a/src/lib/dom.generated.d.ts b/src/lib/dom.generated.d.ts index a063538168562..edcb4aac24ff0 100644 --- a/src/lib/dom.generated.d.ts +++ b/src/lib/dom.generated.d.ts @@ -4854,11 +4854,23 @@ interface CSSStyleDeclaration { paddingTop: string; /** [MDN Reference](https://developer.mozilla.org/docs/We...
[ "+ getContextAttributes(): CanvasRenderingContext2DSettings;", "+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEPointLightElement/z) */", "+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/z) */", "- readonly finished: Promise<undefined>;"...
[ 50, 153, 165, 173 ]
{ "additions": 59, "author": "sandersn", "deletions": 31, "html_url": "https://github.com/microsoft/TypeScript/pull/61073", "issue_id": 61073, "merged_at": "2025-01-30T19:39:52Z", "omission_probability": 0.1, "pr_number": 61073, "repo": "microsoft/TypeScript", "title": "DOM update 2025/01/29", "to...
89
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index ded639b7a09cf..fcb93c45dc1dd 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -48156,7 +48156,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { } if (moduleKind === ModuleKi...
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index ded639b7a09cf..fcb93c45dc1dd 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -48156,7 +48156,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { if (moduleKind === ModuleKind.NodeNext && !isI...
[ "-mod.mts(5,37): error TS2880: Import assertions have been replaced by import attributes. Use 'with' instead of 'asserts'.", "+otherc.cts(1,35): error TS2880: Import assertions have been replaced by import attributes. Use 'with' instead of 'assert'.", "-/index.ts(2,45): error TS2880: Import assertions have been...
[ 40, 122, 197 ]
{ "additions": 32, "author": "DanielRosenwasser", "deletions": 32, "html_url": "https://github.com/microsoft/TypeScript/pull/61066", "issue_id": 61066, "merged_at": "2025-01-28T22:42:35Z", "omission_probability": 0.1, "pr_number": 61066, "repo": "microsoft/TypeScript", "title": "Fix error message in...
90
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e771cc8234f96..45874e1fa4c76 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -95,7 +95,7 @@ jobs: name: coverage path: coverage - - uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e46435...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e771cc8234f96..45874e1fa4c76 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -95,7 +95,7 @@ jobs: name: coverage path: coverage - - uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565...
[ "- uses: github/codeql-action/init@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # v3.28.1" ]
[ 21 ]
{ "additions": 5, "author": "dependabot[bot]", "deletions": 5, "html_url": "https://github.com/microsoft/TypeScript/pull/61055", "issue_id": 61055, "merged_at": "2025-01-27T15:54:45Z", "omission_probability": 0.1, "pr_number": 61055, "repo": "microsoft/TypeScript", "title": "Bump the github-actions ...
91
diff --git a/src/compiler/program.ts b/src/compiler/program.ts index 96fad44852c62..03b307ff393cd 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -1511,10 +1511,14 @@ export function createProgram(createProgramOptions: CreateProgramOptions): Progr * @returns A 'Program' object. */ export fu...
diff --git a/src/compiler/program.ts b/src/compiler/program.ts index 96fad44852c62..03b307ff393cd 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -1511,10 +1511,14 @@ export function createProgram(createProgramOptions: CreateProgramOptions): Progr * @returns A 'Program' object. */ export func...
[ "-export function createProgram(rootNamesOrOptions: readonly string[] | CreateProgramOptions, _options?: CompilerOptions, _host?: CompilerHost, _oldProgram?: Program, _configFileParsingDiagnostics?: readonly Diagnostic[]): Program {" ]
[ 8 ]
{ "additions": 9, "author": "jakebailey", "deletions": 5, "html_url": "https://github.com/microsoft/TypeScript/pull/61034", "issue_id": 61034, "merged_at": "2025-01-23T23:05:21Z", "omission_probability": 0.1, "pr_number": 61034, "repo": "microsoft/TypeScript", "title": "Ensure createProgram stops re...
92
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 04facba3196e7..87eb3126eed50 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -27181,7 +27181,8 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return target.kind === SyntaxKind.SuperKey...
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 04facba3196e7..87eb3126eed50 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -27181,7 +27181,8 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return target.kind === SyntaxKind.SuperKey...
[ "+ const rv = x === \"\";", "+>[1, 2, null, 3] : (number | null)[]", "+>(x) => (x != null) satisfies boolean : (x: number | null) => x is number" ]
[ 39, 133, 145 ]
{ "additions": 125, "author": "Andarist", "deletions": 2, "html_url": "https://github.com/microsoft/TypeScript/pull/60782", "issue_id": 60782, "merged_at": "2025-01-22T21:44:58Z", "omission_probability": 0.1, "pr_number": 60782, "repo": "microsoft/TypeScript", "title": "Narrow types by satisfies exp...
93
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 80b61edd3657a..abb22eb40a9c8 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -16683,6 +16683,9 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { case "Number": check...
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 80b61edd3657a..abb22eb40a9c8 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -16683,6 +16683,9 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { case "Number": return...
[ "+>s : Symbol(s, Decl(b.ts, 22, 8))", "->s : Symbol(s, Decl(b.ts, 21, 30))" ]
[ 302, 307 ]
{ "additions": 154, "author": "Andarist", "deletions": 42, "html_url": "https://github.com/microsoft/TypeScript/pull/60863", "issue_id": 60863, "merged_at": "2025-01-22T16:33:01Z", "omission_probability": 0.1, "pr_number": 60863, "repo": "microsoft/TypeScript", "title": "Treat `BigInt` type referenc...
94
diff --git a/src/compiler/transformers/declarations/diagnostics.ts b/src/compiler/transformers/declarations/diagnostics.ts index 84e952da136df..873f23cbf7987 100644 --- a/src/compiler/transformers/declarations/diagnostics.ts +++ b/src/compiler/transformers/declarations/diagnostics.ts @@ -767,7 +767,7 @@ export function...
diff --git a/src/compiler/transformers/declarations/diagnostics.ts b/src/compiler/transformers/declarations/diagnostics.ts index 84e952da136df..873f23cbf7987 100644 --- a/src/compiler/transformers/declarations/diagnostics.ts +++ b/src/compiler/transformers/declarations/diagnostics.ts @@ -767,7 +767,7 @@ export function...
[ "+fnDecl.ts(51,5): error TS9025: Declaration emit for this parameter requires implicitly adding undefined to its type. This is not supported with --isolatedDeclarations.", "+ private arr: Bar = new Bar(),", "+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~", "+ private bool: boolean," ]
[ 50, 67, 68, 71 ]
{ "additions": 56, "author": "Andarist", "deletions": 3, "html_url": "https://github.com/microsoft/TypeScript/pull/60980", "issue_id": 60980, "merged_at": "2025-01-18T06:08:12Z", "omission_probability": 0.1, "pr_number": 60980, "repo": "microsoft/TypeScript", "title": "Fixed wrong error being report...
95
diff --git a/src/services/codefixes/fixUnusedIdentifier.ts b/src/services/codefixes/fixUnusedIdentifier.ts index 1974e8067a45f..9d6c3be78c1cb 100644 --- a/src/services/codefixes/fixUnusedIdentifier.ts +++ b/src/services/codefixes/fixUnusedIdentifier.ts @@ -200,6 +200,9 @@ registerCodeFix({ else if ...
diff --git a/src/services/codefixes/fixUnusedIdentifier.ts b/src/services/codefixes/fixUnusedIdentifier.ts index 1974e8067a45f..9d6c3be78c1cb 100644 --- a/src/services/codefixes/fixUnusedIdentifier.ts +++ b/src/services/codefixes/fixUnusedIdentifier.ts @@ -200,6 +200,9 @@ registerCodeFix({ else if ...
[ "+//// return n;", "+//// }" ]
[ 24, 27 ]
{ "additions": 21, "author": "Andarist", "deletions": 0, "html_url": "https://github.com/microsoft/TypeScript/pull/60888", "issue_id": 60888, "merged_at": "2025-01-18T06:11:42Z", "omission_probability": 0.1, "pr_number": 60888, "repo": "microsoft/TypeScript", "title": "Fixed \"Delete all unused decl...
96
diff --git a/src/compiler/utilities.ts b/src/compiler/utilities.ts index 60db22498601f..512fcc05832f4 100644 --- a/src/compiler/utilities.ts +++ b/src/compiler/utilities.ts @@ -10467,6 +10467,7 @@ export function isValidBigIntString(s: string, roundTripOnly: boolean): boolean /** @internal */ export function isValid...
diff --git a/src/compiler/utilities.ts b/src/compiler/utilities.ts index 60db22498601f..512fcc05832f4 100644 --- a/src/compiler/utilities.ts +++ b/src/compiler/utilities.ts @@ -10467,6 +10467,7 @@ export function isValidBigIntString(s: string, roundTripOnly: boolean): boolean /** @internal */ export function isValidT...
[ "+==== /b.js (1 errors) ====", "+>foo : Symbol(I.foo, Decl(a.ts, 0, 20))", "+>C : Symbol(C, Decl(b.js, 0, 0))" ]
[ 27, 53, 63 ]
{ "additions": 76, "author": "a-tarasyuk", "deletions": 0, "html_url": "https://github.com/microsoft/TypeScript/pull/60566", "issue_id": 60566, "merged_at": "2025-01-17T22:54:28Z", "omission_probability": 0.1, "pr_number": 60566, "repo": "microsoft/TypeScript", "title": "fix(60563):@import * as name...
97
diff --git a/src/services/inlayHints.ts b/src/services/inlayHints.ts index f5a29b332b595..d79def836396d 100644 --- a/src/services/inlayHints.ts +++ b/src/services/inlayHints.ts @@ -103,6 +103,7 @@ import { NodeArray, NodeBuilderFlags, ParameterDeclaration, + parameterIsThisKeyword, PrefixUnar...
diff --git a/src/services/inlayHints.ts b/src/services/inlayHints.ts index f5a29b332b595..d79def836396d 100644 --- a/src/services/inlayHints.ts +++ b/src/services/inlayHints.ts @@ -103,6 +103,7 @@ import { NodeArray, NodeBuilderFlags, ParameterDeclaration, + parameterIsThisKeyword, PrefixUnaryExp...
[ "+ if (parameterIsThisKeyword(param)) {", "+ }", "+ if (effectiveTypeAnnotation || symbol === undefined) return;", "+////fn(function (this: I, a, b) { });", "+ includeInlayFunctionParameterTypeHints: true,", "+});" ]
[ 28, 32, 41, 122, 125, 126 ]
{ "additions": 78, "author": "a-tarasyuk", "deletions": 13, "html_url": "https://github.com/microsoft/TypeScript/pull/60378", "issue_id": 60378, "merged_at": "2025-01-17T21:30:35Z", "omission_probability": 0.1, "pr_number": 60378, "repo": "microsoft/TypeScript", "title": "fix(60375): Parameter inlay...
98
diff --git a/src/compiler/parser.ts b/src/compiler/parser.ts index 59ad1f030220f..8c69cccba1282 100644 --- a/src/compiler/parser.ts +++ b/src/compiler/parser.ts @@ -9536,6 +9536,7 @@ namespace Parser { const node = factory.createExpressionWithTypeArguments(expression, typeArguments) as ExpressionWithTy...
diff --git a/src/compiler/parser.ts b/src/compiler/parser.ts index 59ad1f030220f..8c69cccba1282 100644 --- a/src/compiler/parser.ts +++ b/src/compiler/parser.ts @@ -9536,6 +9536,7 @@ namespace Parser { const node = factory.createExpressionWithTypeArguments(expression, typeArguments) as ExpressionWithTy...
[]
[]
{ "additions": 196, "author": "a-tarasyuk", "deletions": 0, "html_url": "https://github.com/microsoft/TypeScript/pull/60640", "issue_id": 60640, "merged_at": "2025-01-17T20:12:13Z", "omission_probability": 0.1, "pr_number": 60640, "repo": "microsoft/TypeScript", "title": "fix(60592): JSDoc implement...
99
diff --git a/src/services/findAllReferences.ts b/src/services/findAllReferences.ts index 710a01b1c2dea..ea1f164f84f7f 100644 --- a/src/services/findAllReferences.ts +++ b/src/services/findAllReferences.ts @@ -179,6 +179,7 @@ import { isReferencedFile, isReferenceFileLocation, isRightSideOfPropertyAcces...
diff --git a/src/services/findAllReferences.ts b/src/services/findAllReferences.ts index 710a01b1c2dea..ea1f164f84f7f 100644 --- a/src/services/findAllReferences.ts +++ b/src/services/findAllReferences.ts @@ -179,6 +179,7 @@ import { isReferencedFile, isReferenceFileLocation, isRightSideOfPropertyAccess,...
[ "+ [", "+ {", "+ \"kind\": \"text\"", "+////interface /*def*/I {" ]
[ 38, 39, 48, 67 ]
{ "additions": 44, "author": "a-tarasyuk", "deletions": 1, "html_url": "https://github.com/microsoft/TypeScript/pull/60801", "issue_id": 60801, "merged_at": "2025-01-17T20:05:26Z", "omission_probability": 0.1, "pr_number": 60801, "repo": "microsoft/TypeScript", "title": "fix(60551): satisfies is sho...