Skip to content

Commit

Permalink
Merge branch '3.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
jessarcher committed Jul 21, 2022
2 parents b73483d + 9ee902d commit ed323a2
Show file tree
Hide file tree
Showing 16 changed files with 197 additions and 37 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/pull-requests.yml
@@ -0,0 +1,12 @@
name: pull requests

on:
pull_request_target:
types: [opened]

permissions:
pull-requests: write

jobs:
uneditable:
uses: laravel/.github/.github/workflows/pull-requests.yml@main
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Expand Up @@ -32,6 +32,8 @@ jobs:
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, redis, zip
ini-values: error_reporting=E_ALL
tools: composer:v2
coverage: none

- name: Install dependencies
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/update-changelog.yml
@@ -0,0 +1,9 @@
name: update changelog

on:
release:
types: [released]

jobs:
update:
uses: laravel/.github/.github/workflows/update-changelog.yml@main
91 changes: 65 additions & 26 deletions CHANGELOG.md
@@ -1,188 +1,227 @@
# Release Notes

## [Unreleased](https://github.com/laravel/ui/compare/v3.4.1...master)
## [Unreleased](https://github.com/laravel/ui/compare/v3.4.6...master)

## [v3.4.6](https://github.com/laravel/ui/compare/v3.4.5...v3.4.6) - 2022-05-20

### Fixes

- Fixes AuthenticatesUsers always force remember me by @crynobone in https://github.com/laravel/ui/pull/227

## [v3.4.5](https://github.com/laravel/ui/compare/v3.4.4...v3.4.5) - 2022-02-22

### Changed

- Update 2014_10_12_100000_create_password_resets_table.php by @ashkanfekridev in https://github.com/laravel/ui/pull/223

## [v3.4.4](https://github.com/laravel/ui/compare/v3.4.3...v3.4.4) - 2022-02-15

### Fixed

- Update ConfirmsPasswords.php by @hannah-massey in https://github.com/laravel/ui/pull/222

## [v3.4.3](https://github.com/laravel/ui/compare/v3.4.2...v3.4.3) - 2022-02-08

### Changed

- Replace removeSpecialCharacters method with Str Helper Equivalent ([#219](https://github.com/laravel/ui/pull/219))

## [v3.4.2 (2021-12-25)](https://github.com/laravel/ui/compare/v3.4.1...v3.4.2)

### Fixed

- Update app.stub with correct Bootstrap 5 class ([#215](https://github.com/laravel/ui/pull/215))
- Fix bug where special characters can be used when generating throttle key ([#216](https://github.com/laravel/ui/pull/216))

## [v3.4.1 (2021-12-22)](https://github.com/laravel/ui/compare/v3.4.0...v3.4.1)

### Fixed
- Fix Bootstrap 5 text alignment ([#213](https://github.com/laravel/ui/pull/213))

- Fix Bootstrap 5 text alignment ([#213](https://github.com/laravel/ui/pull/213))

## [v3.4.0 (2021-11-30)](https://github.com/laravel/ui/compare/v3.3.3...v3.4.0)

### Changed
- Update library to Boostrap 5 ([#212](https://github.com/laravel/ui/pull/212))

- Update library to Boostrap 5 ([#212](https://github.com/laravel/ui/pull/212))

## [v3.3.3 (2021-11-21)](https://github.com/laravel/ui/compare/v3.3.2...v3.3.3)

### Added
- Laravel 9 Support ([08ea313](https://github.com/laravel/ui/commit/08ea313a35dfc89ff0cd9916ca0bcef9715d0ed6))

- Laravel 9 Support ([08ea313](https://github.com/laravel/ui/commit/08ea313a35dfc89ff0cd9916ca0bcef9715d0ed6))

## [v3.3.2 (2021-11-05)](https://github.com/laravel/ui/compare/v3.3.1...v3.3.2)

### Fixed
- Fix session issue ([9fbdf77](https://github.com/laravel/ui/commit/9fbdf7751119aa6b5047607266a7c0f6e0e24905))

- Fix session issue ([9fbdf77](https://github.com/laravel/ui/commit/9fbdf7751119aa6b5047607266a7c0f6e0e24905))

## [v3.3.1 (2021-11-02)](https://github.com/laravel/ui/compare/v3.3.0...v3.3.1)

### Fixed
- Set `password_confirmed_at` on login ([#208](https://github.com/laravel/ui/pull/208))

- Set `password_confirmed_at` on login ([#208](https://github.com/laravel/ui/pull/208))

## [v3.3.0 (2021-05-25)](https://github.com/laravel/ui/compare/v3.2.1...v3.3.0)

### Added
- Use new Password::defaults() feature ([#204](https://github.com/laravel/ui/pull/204))

- Use new Password::defaults() feature ([#204](https://github.com/laravel/ui/pull/204))

## [v3.2.1 (2021-04-27)](https://github.com/laravel/ui/compare/v3.2.0...v3.2.1)

### Changed

- Use trans helper instead of Lang Facade ([#201](https://github.com/laravel/ui/pull/201))
- Update NPM dependencies ([#203](https://github.com/laravel/ui/pull/203))


## [v3.2.0 (2021-01-06)](https://github.com/laravel/ui/compare/v3.1.0...v3.2.0)

### Changed
- Tweak stubs for Mix 6 ([#193](https://github.com/laravel/ui/pull/193))

- Tweak stubs for Mix 6 ([#193](https://github.com/laravel/ui/pull/193))

## [v3.1.0 (2020-11-03)](https://github.com/laravel/ui/compare/v3.0.0...v3.1.0)

### Added

- Added PHP 8 Support ([#178](https://github.com/laravel/ui/pull/178))

### Changed

- Add sourcemaps to webpack config ([#168](https://github.com/laravel/ui/pull/168))

### Fixed
- Wrap login link in app.stub with a route check ([#177](https://github.com/laravel/ui/pull/177))

- Wrap login link in app.stub with a route check ([#177](https://github.com/laravel/ui/pull/177))

## [v3.0.0 (2020-09-11)](https://github.com/laravel/ui/compare/v2.4.0...v3.0.0)

### Added

- Laravel 8 support ([#155](https://github.com/laravel/ui/pull/155))

### Fixed
- Fetch reset token explicitly ([#130](https://github.com/laravel/ui/pull/130))

- Fetch reset token explicitly ([#130](https://github.com/laravel/ui/pull/130))

## [v2.4.1 (2020-09-22)](https://github.com/laravel/ui/compare/v2.4.0...v2.4.1)

### Changed
- Revert "Add namespace check to Auth routes" ([#160](https://github.com/laravel/ui/pull/160))

- Revert "Add namespace check to Auth routes" ([#160](https://github.com/laravel/ui/pull/160))

## [v2.4.0 (2020-09-11)](https://github.com/laravel/ui/compare/v2.3.0...v2.4.0)

### Removed

- Remove Laravel 8 support ([#154](https://github.com/laravel/ui/pull/154))

### Fixed
- Fix Bootstrap preset ([#146](https://github.com/laravel/ui/pull/146))

- Fix Bootstrap preset ([#146](https://github.com/laravel/ui/pull/146))

## [v2.3.0 (2020-09-09)](https://github.com/laravel/ui/compare/v2.2.1...v2.3.0)

### Fixed
- Add namespace check to Auth routes ([#143](https://github.com/laravel/ui/pull/143))

- Add namespace check to Auth routes ([#143](https://github.com/laravel/ui/pull/143))

## [v2.2.1 (2020-09-08)](https://github.com/laravel/ui/compare/v2.2.0...v2.2.1)

### Fixed

- Use proper json responses ([#139](https://github.com/laravel/ui/pull/139))
- Ensure sass directory exists ([456daa3](https://github.com/laravel/ui/commit/456daa330a32483b0fa9794334e60af6b2db3bf6))


## [v2.2.0 (2020-08-25)](https://github.com/laravel/ui/compare/v2.1.0...v2.2.0)

### Added

- Laravel 8 support ([4a0db5b](https://github.com/laravel/ui/commit/4a0db5b2e5d3c032b0f213e847008d39c8c7ce45))

### Fixed
- Remove caret and replace `display: none` with `d-none` ([#135](https://github.com/laravel/ui/pull/135))

- Remove caret and replace `display: none` with `d-none` ([#135](https://github.com/laravel/ui/pull/135))

## [v2.1.0 (2020-06-30)](https://github.com/laravel/ui/compare/v2.0.3...v2.1.0)

### Added

- Allow for optional login and logout routes ([#113](https://github.com/laravel/ui/pull/113))

### Fixed
- Missed localizable strings ([#105](https://github.com/laravel/ui/pull/105))

- Missed localizable strings ([#105](https://github.com/laravel/ui/pull/105))

## [v2.0.3 (2020-04-29)](https://github.com/laravel/ui/compare/v2.0.2...v2.0.3)

### Fixed
- Fix confirm controller overwrite ([#100](https://github.com/laravel/ui/pull/100))

- Fix confirm controller overwrite ([#100](https://github.com/laravel/ui/pull/100))

## [v2.0.2 (2020-04-28)](https://github.com/laravel/ui/compare/v2.0.1...v2.0.2)

### Fixed
- Confirm controller overwrite ([#95](https://github.com/laravel/ui/pull/95))

- Confirm controller overwrite ([#95](https://github.com/laravel/ui/pull/95))

## [v2.0.1 (2020-03-03)](https://github.com/laravel/ui/compare/v2.0.0...v2.0.1)

### Fixed
- Make `auth` options empty by default ([47a0a1d](https://github.com/laravel/ui/commit/47a0a1dac76f5e73803c86e1f38b2c7e0ae7fa83))

- Make `auth` options empty by default ([47a0a1d](https://github.com/laravel/ui/commit/47a0a1dac76f5e73803c86e1f38b2c7e0ae7fa83))

## [v2.0.0 (2020-03-03)](https://github.com/laravel/ui/compare/v1.2.0...v2.0.0)

### Changed
- The UI package now contains all auth scaffolding from the laravel skeleton

- The UI package now contains all auth scaffolding from the laravel skeleton

## [v1.2.0 (2020-02-18)](https://github.com/laravel/ui/compare/v1.1.2...v1.2.0)

### Changed
- Use `sass-loader` v8 for Vue preset ([bb64fca](https://github.com/laravel/ui/commit/bb64fca681566ca94457d490a00f899516e75664))

- Use `sass-loader` v8 for Vue preset ([bb64fca](https://github.com/laravel/ui/commit/bb64fca681566ca94457d490a00f899516e75664))

## [v1.1.2 (2019-10-20)](https://github.com/laravel/ui/compare/v1.1.1...v1.1.2)

### Changed
- Removed Laravel 7.0 support ([0287d4ee](https://github.com/laravel/ui/commit/0287d4eee80aad718bdf7f90117cfe720c493064))

- Removed Laravel 7.0 support ([0287d4ee](https://github.com/laravel/ui/commit/0287d4eee80aad718bdf7f90117cfe720c493064))

## [v1.1.1 (2019-10-11)](https://github.com/laravel/ui/compare/v1.1.0...v1.1.1)

### Changed

- Change the specified time until re-authentication ([#37](https://github.com/laravel/ui/pull/37))

### Fixed
- Add `auth.passwords.confirm` to exported views ([#36](https://github.com/laravel/ui/pull/36))

- Add `auth.passwords.confirm` to exported views ([#36](https://github.com/laravel/ui/pull/36))

## [v1.1.0 (2019-10-08)](https://github.com/laravel/ui/compare/v1.0.1...v1.1.0)

### Added

- Add password confirmation screen ([#34](https://github.com/laravel/ui/pull/34))

### Changed

- Remove X-CSRF-TOKEN header from Axios instance ([#23](https://github.com/laravel/ui/pull/23))

### Fixed

- Replace tab to space ([#28](https://github.com/laravel/ui/pull/28))
- Add missing semicolon to avoid unnecessary diff ([#32](https://github.com/laravel/ui/pull/32))
- Update resolve-url-loader dependency constraint ([#33](https://github.com/laravel/ui/pull/33))


## [v1.0.1 (2019-09-02)](https://github.com/laravel/ui/compare/v1.0.0...v1.0.1)

### Added
- Add macro check on ui:auth command ([#16](https://github.com/laravel/ui/pull/16))

- Add macro check on ui:auth command ([#16](https://github.com/laravel/ui/pull/16))

## v1.0.0 (2019-08-13)

Expand Down
2 changes: 1 addition & 1 deletion auth-backend/AuthenticatesUsers.php
Expand Up @@ -84,7 +84,7 @@ protected function validateLogin(Request $request)
protected function attemptLogin(Request $request)
{
return $this->guard()->attempt(
$this->credentials($request), $request->filled('remember')
$this->credentials($request), $request->boolean('remember')
);
}

Expand Down
2 changes: 1 addition & 1 deletion auth-backend/ConfirmsPasswords.php
Expand Up @@ -55,7 +55,7 @@ protected function resetPasswordConfirmationTimeout(Request $request)
protected function rules()
{
return [
'password' => 'required|password',
'password' => 'required|current_password:web',
];
}

Expand Down
2 changes: 1 addition & 1 deletion auth-backend/ThrottlesLogins.php
Expand Up @@ -89,7 +89,7 @@ protected function fireLockoutEvent(Request $request)
*/
protected function throttleKey(Request $request)
{
return Str::lower($request->input($this->username())).'|'.$request->ip();
return Str::transliterate(Str::lower($request->input($this->username())).'|'.$request->ip());
}

/**
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -13,7 +13,7 @@
"php": "^7.3|^8.0",
"illuminate/console": "^8.42|^9.0",
"illuminate/filesystem": "^8.42|^9.0",
"illuminate/support": "^8.42|^9.0",
"illuminate/support": "^8.82|^9.0",
"illuminate/validation": "^8.42|^9.0"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/Auth/bootstrap-stubs/auth/login.stub
Expand Up @@ -12,7 +12,7 @@
@csrf

<div class="row mb-3">
<label for="email" class="col-md-4 col-form-label text-md-end">{{ __('E-Mail Address') }}</label>
<label for="email" class="col-md-4 col-form-label text-md-end">{{ __('Email Address') }}</label>

<div class="col-md-6">
<input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus>
Expand Down
2 changes: 1 addition & 1 deletion src/Auth/bootstrap-stubs/auth/passwords/email.stub
Expand Up @@ -18,7 +18,7 @@
@csrf

<div class="row mb-3">
<label for="email" class="col-md-4 col-form-label text-md-end">{{ __('E-Mail Address') }}</label>
<label for="email" class="col-md-4 col-form-label text-md-end">{{ __('Email Address') }}</label>

<div class="col-md-6">
<input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus>
Expand Down
2 changes: 1 addition & 1 deletion src/Auth/bootstrap-stubs/auth/passwords/reset.stub
Expand Up @@ -14,7 +14,7 @@
<input type="hidden" name="token" value="{{ $token }}">

<div class="row mb-3">
<label for="email" class="col-md-4 col-form-label text-md-end">{{ __('E-Mail Address') }}</label>
<label for="email" class="col-md-4 col-form-label text-md-end">{{ __('Email Address') }}</label>

<div class="col-md-6">
<input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ $email ?? old('email') }}" required autocomplete="email" autofocus>
Expand Down
2 changes: 1 addition & 1 deletion src/Auth/bootstrap-stubs/auth/register.stub
Expand Up @@ -26,7 +26,7 @@
</div>

<div class="row mb-3">
<label for="email" class="col-md-4 col-form-label text-md-end">{{ __('E-Mail Address') }}</label>
<label for="email" class="col-md-4 col-form-label text-md-end">{{ __('Email Address') }}</label>

<div class="col-md-6">
<input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email">
Expand Down
2 changes: 1 addition & 1 deletion src/Auth/bootstrap-stubs/layouts/app.stub
Expand Up @@ -54,7 +54,7 @@
{{ Auth::user()->name }}
</a>

<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
<div class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="{{ route('logout') }}"
onclick="event.preventDefault();
document.getElementById('logout-form').submit();">
Expand Down
Expand Up @@ -4,7 +4,7 @@
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreatePasswordResetsTable extends Migration
return new class extends Migration
{
/**
* Run the migrations.
Expand All @@ -29,4 +29,4 @@ public function down()
{
Schema::dropIfExists('password_resets');
}
}
};

0 comments on commit ed323a2

Please sign in to comment.