Skip to content

Commit e152ef5

Browse files
Merge branch '2.x' into 2.x-support-passport
2 parents 4ee62e5 + ced69d4 commit e152ef5

File tree

23 files changed

+238
-133
lines changed

23 files changed

+238
-133
lines changed

CHANGELOG.md

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,62 @@
11
# Release Notes
22

3-
## [Unreleased](https://github.com/laravel/breeze/compare/v2.2.0...2.x)
3+
## [Unreleased](https://github.com/laravel/breeze/compare/v2.3.3...2.x)
4+
5+
## [v2.3.3](https://github.com/laravel/breeze/compare/v2.3.2...v2.3.3) - 2025-01-26
6+
7+
* Fix type error in Login component for `setData` function by [@florikodra](https://github.com/florikodra) in https://github.com/laravel/breeze/pull/454
8+
* Fix tsc error in Pages/Auth/Login.tsx on fresh install by [@MariosIgkiempor](https://github.com/MariosIgkiempor) in https://github.com/laravel/breeze/pull/457
9+
10+
## [v2.3.2](https://github.com/laravel/breeze/compare/v2.3.1...v2.3.2) - 2025-01-21
11+
12+
* [2.x] Unpin typescript version for Inertia Vue stack by [@reyberyturiaga](https://github.com/reyberyturiaga) in https://github.com/laravel/breeze/pull/447
13+
* Missing type declaration add to NewPasswordController.php by [@ashokbaruaakas](https://github.com/ashokbaruaakas) in https://github.com/laravel/breeze/pull/449
14+
15+
## [v2.3.1](https://github.com/laravel/breeze/compare/v2.3.0...v2.3.1) - 2025-01-13
16+
17+
* [2.x] Remove tailwind config files on api stack by [@p-nerd](https://github.com/p-nerd) in https://github.com/laravel/breeze/pull/444
18+
* [2.x] Remove redundant `.d.ts` inclusion from `tsconfig.json` by [@panakour](https://github.com/panakour) in https://github.com/laravel/breeze/pull/445
19+
20+
## [v2.3.0](https://github.com/laravel/breeze/compare/v2.2.6...v2.3.0) - 2024-12-14
21+
22+
* Fix typescript version by [@mo7zayed](https://github.com/mo7zayed) in https://github.com/laravel/breeze/pull/442
23+
* Upgrade to Inertia V2 by [@adamjgriffith](https://github.com/adamjgriffith) in https://github.com/laravel/breeze/pull/443
24+
25+
## [v2.2.6](https://github.com/laravel/breeze/compare/v2.2.5...v2.2.6) - 2024-11-20
26+
27+
* [2.x] Supports PHPStan 2 by [@crynobone](https://github.com/crynobone) in https://github.com/laravel/breeze/pull/441
28+
29+
## [v2.2.5](https://github.com/laravel/breeze/compare/v2.2.4...v2.2.5) - 2024-11-12
30+
31+
* fix(ts): remove redundant [@ts-expect-error](https://github.com/ts-expect-error) directives in SSR route setup by [@datlechin](https://github.com/datlechin) in https://github.com/laravel/breeze/pull/434
32+
* Backport JetStream Modal.vue enhancements by [@mrleblanc101](https://github.com/mrleblanc101) in https://github.com/laravel/breeze/pull/435
33+
* Convert array to single line format by [@Rattone](https://github.com/Rattone) in https://github.com/laravel/breeze/pull/436
34+
* [2.x] Replace `Rule` with `ValidationRule` by [@avosalmon](https://github.com/avosalmon) in https://github.com/laravel/breeze/pull/437
35+
36+
## [v2.2.4](https://github.com/laravel/breeze/compare/v2.2.3...v2.2.4) - 2024-10-29
37+
38+
* fix(sanctum): add 127.0.0.1:3000 for proper API auth during local development with 127.0.0.1:3000 by [@ShahAlamShaikat](https://github.com/ShahAlamShaikat) in https://github.com/laravel/breeze/pull/431
39+
* Using the translate function instead of a static value by [@ashkanfekridev](https://github.com/ashkanfekridev) in https://github.com/laravel/breeze/pull/432
40+
41+
## [v2.2.3](https://github.com/laravel/breeze/compare/v2.2.2...v2.2.3) - 2024-10-17
42+
43+
* [2.x] Fixed TypeScript Errors in React SSR Setup with Ziggy Props when Builds by [@akr4m](https://github.com/akr4m) in https://github.com/laravel/breeze/pull/430
44+
45+
## [v2.2.2](https://github.com/laravel/breeze/compare/v2.2.1...v2.2.2) - 2024-10-06
46+
47+
* Update logo to support dark/light theme by [@milewski](https://github.com/milewski) in https://github.com/laravel/breeze/pull/418
48+
* Add hint to clarify how to use multiselect by [@bdweix](https://github.com/bdweix) in https://github.com/laravel/breeze/pull/417
49+
* [2.x] Utilise `Illuminate\Support\php_binary()` by [@crynobone](https://github.com/crynobone) in https://github.com/laravel/breeze/pull/421
50+
* Remove blade unescape for attributes by [@Rattone](https://github.com/Rattone) in https://github.com/laravel/breeze/pull/422
51+
* [2.x] chore: text-input to use [@disabled](https://github.com/disabled) by [@MrPunyapal](https://github.com/MrPunyapal) in https://github.com/laravel/breeze/pull/427
52+
* Updated names of the default functions to match the file names. by [@msamgan](https://github.com/msamgan) in https://github.com/laravel/breeze/pull/428
53+
54+
## [v2.2.1](https://github.com/laravel/breeze/compare/v2.2.0...v2.2.1) - 2024-09-22
55+
56+
* [2.x] Add `pnpm` lockfile to `flushNodeModules` by [@osbre](https://github.com/osbre) in https://github.com/laravel/breeze/pull/411
57+
* [2.x] Add option to install ESLint with Prettier by [@avosalmon](https://github.com/avosalmon) in https://github.com/laravel/breeze/pull/412
58+
* [2.x] Allows GitHub Actions to run directly from GA UI by [@crynobone](https://github.com/crynobone) in https://github.com/laravel/breeze/pull/413
59+
* Refactor: Break long email validation rule into multiple lines by [@Amidope](https://github.com/Amidope) in https://github.com/laravel/breeze/pull/416
460

561
## [v2.2.0](https://github.com/laravel/breeze/compare/v2.1.5...v2.2.0) - 2024-09-11
662

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
<p align="center"><img src="/art/logo.svg" alt="Logo Laravel Breeze"></p>
22

33
<p align="center">
4-
<a href="https://packagist.org/packages/laravel/breeze">
5-
<img src="https://img.shields.io/packagist/dt/laravel/breeze" alt="Total Downloads">
6-
</a>
7-
<a href="https://packagist.org/packages/laravel/breeze">
8-
<img src="https://img.shields.io/packagist/v/laravel/breeze" alt="Latest Stable Version">
9-
</a>
10-
<a href="https://packagist.org/packages/laravel/breeze">
11-
<img src="https://img.shields.io/packagist/l/laravel/breeze" alt="License">
12-
</a>
4+
<a href="https://packagist.org/packages/laravel/breeze"><img src="https://img.shields.io/packagist/dt/laravel/breeze" alt="Total Downloads"></a>
5+
<a href="https://packagist.org/packages/laravel/breeze"><img src="https://img.shields.io/packagist/v/laravel/breeze" alt="Latest Stable Version"></a>
6+
<a href="https://packagist.org/packages/laravel/breeze"><img src="https://img.shields.io/packagist/l/laravel/breeze" alt="License"></a>
137
</p>
148

159
## Introduction

art/logo.svg

Lines changed: 9 additions & 1 deletion
Loading

composer.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
"illuminate/validation": "^11.0",
2222
"symfony/console": "^7.0"
2323
},
24+
"require-dev": {
25+
"laravel/framework": "^11.0",
26+
"orchestra/testbench-core": "^9.0",
27+
"phpstan/phpstan": "^2.0"
28+
},
2429
"autoload": {
2530
"psr-4": {
2631
"Laravel\\Breeze\\": "src/"
@@ -37,9 +42,5 @@
3742
"sort-packages": true
3843
},
3944
"minimum-stability": "dev",
40-
"prefer-stable": true,
41-
"require-dev": {
42-
"orchestra/testbench": "^9.0",
43-
"phpstan/phpstan": "^1.10"
44-
}
45+
"prefer-stable": true
4546
}

src/Console/InstallCommand.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ protected static function flushNodeModules()
298298

299299
$files->delete(base_path('pnpm-lock.yaml'));
300300
$files->delete(base_path('yarn.lock'));
301+
$files->delete(base_path('bun.lock'));
301302
$files->delete(base_path('bun.lockb'));
302303
$files->delete(base_path('deno.lock'));
303304
$files->delete(base_path('package-lock.json'));
@@ -324,6 +325,10 @@ protected function replaceInFile($search, $replace, $path)
324325
*/
325326
protected function phpBinary()
326327
{
328+
if (function_exists('Illuminate\Support\php_binary')) {
329+
return \Illuminate\Support\php_binary();
330+
}
331+
327332
return (new PhpExecutableFinder)->find(false) ?: 'php';
328333
}
329334

@@ -402,7 +407,8 @@ protected function afterPromptingForMissingArguments(InputInterface $input, Outp
402407
'ssr' => 'Inertia SSR',
403408
'typescript' => 'TypeScript',
404409
'eslint' => 'ESLint with Prettier',
405-
]
410+
],
411+
hint: 'Use the space bar to select options.'
406412
))->each(fn ($option) => $input->setOption($option, true));
407413
} elseif (in_array($stack, ['blade', 'livewire', 'livewire-functional'])) {
408414
$input->setOption('dark', confirm(

src/Console/InstallsApiStack.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ protected function removeScaffoldingUnnecessaryForApis()
9595
// Remove frontend related files...
9696
$files->delete(base_path('package.json'));
9797
$files->delete(base_path('vite.config.js'));
98+
$files->delete(base_path('tailwind.config.js'));
99+
$files->delete(base_path('postcss.config.js'));
98100

99101
// Remove Laravel "welcome" view...
100102
$files->delete(resource_path('views/welcome.blade.php'));

src/Console/InstallsBladeStack.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ protected function installBladeStack()
8686
$this->runCommands(['pnpm install', 'pnpm run build']);
8787
} elseif (file_exists(base_path('yarn.lock'))) {
8888
$this->runCommands(['yarn install', 'yarn run build']);
89-
} elseif (file_exists(base_path('bun.lockb'))) {
89+
} elseif (file_exists(base_path('bun.lock')) || file_exists(base_path('bun.lockb'))) {
9090
$this->runCommands(['bun install', 'bun run build']);
9191
} elseif (file_exists(base_path('deno.lock'))) {
9292
$this->runCommands(['deno install', 'deno task build']);

0 commit comments

Comments
 (0)