diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..edce430 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,43 @@ +name: tests + +on: + push: + pull_request: + schedule: + - cron: '0 0 * * *' + +jobs: + tests: + runs-on: ubuntu-20.04 + + strategy: + fail-fast: true + matrix: + php: [7.3, 7.4, 8.0, 8.1] + laravel: [^8.0, ^9.0] + exclude: + - php: 7.3 + laravel: ^9.0 + - php: 7.4 + laravel: ^9.0 + + name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + extensions: dom, curl, libxml, mbstring, redis, zip + coverage: none + + - name: Install dependencies + run: | + composer require "illuminate/contracts=${{ matrix.laravel }}" --no-update + composer update --prefer-dist --no-interaction --no-progress + + - name: Execute tests + run: vendor/bin/phpunit --verbose diff --git a/CHANGELOG.md b/CHANGELOG.md index ac17ca3..10fb42f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,24 @@ # Release Notes -## [Unreleased](https://github.com/laravel/ui/compare/v3.3.2...master) +## [Unreleased](https://github.com/laravel/ui/compare/v3.4.1...master) + + +## [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)) + + +## [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)) + + +## [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)) ## [v3.3.2 (2021-11-05)](https://github.com/laravel/ui/compare/v3.3.1...v3.3.2) diff --git a/README.md b/README.md index 197659a..91d43d0 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,12 @@ Latest Stable Version License -## This legacy package is a very simple authentication scaffolding built on the Bootstrap CSS framework. While it continues to work with the latest version of Laravel, you should consider using [Laravel Breeze](https://github.com/laravel/breeze) for new projects. Or, for something more robust, consider [Laravel Jetstream](https://github.com/laravel/jetstream). - ## Introduction While Laravel does not dictate which JavaScript or CSS pre-processors you use, it does provide a basic starting point using [Bootstrap](https://getbootstrap.com/), [React](https://reactjs.org/), and / or [Vue](https://vuejs.org/) that will be helpful for many applications. By default, Laravel uses [NPM](https://www.npmjs.org/) to install both of these frontend packages. +> This legacy package is a very simple authentication scaffolding built on the Bootstrap CSS framework. While it continues to work with the latest version of Laravel, you should consider using [Laravel Breeze](https://github.com/laravel/breeze) for new projects. Or, for something more robust, consider [Laravel Jetstream](https://github.com/laravel/jetstream). + ## Official Documentation ### Supported Versions diff --git a/composer.json b/composer.json index b8a57c0..1d63e95 100644 --- a/composer.json +++ b/composer.json @@ -16,6 +16,9 @@ "illuminate/support": "^8.42|^9.0", "illuminate/validation": "^8.42|^9.0" }, + "require-dev": { + "orchestra/testbench": "^6.23|^7.0" + }, "autoload": { "psr-4": { "Laravel\\Ui\\": "src/", diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 6529545..54fd7b7 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -17,4 +17,8 @@ ./tests + + + + diff --git a/src/Auth/bootstrap-stubs/auth/login.stub b/src/Auth/bootstrap-stubs/auth/login.stub index c12b97e..5b38c4b 100644 --- a/src/Auth/bootstrap-stubs/auth/login.stub +++ b/src/Auth/bootstrap-stubs/auth/login.stub @@ -11,8 +11,8 @@
@csrf -
- +
+
@@ -25,8 +25,8 @@
-
- +
+
@@ -39,7 +39,7 @@
-
+
@@ -51,7 +51,7 @@
-
+