Skip to content

Commit

Permalink
Merge pull request #177 from Gustavinho/release/2.4.1
Browse files Browse the repository at this point in the history
Release/2.4.1
  • Loading branch information
Gustavinho authored Jan 2, 2023
2 parents 0b0c792 + b7b1d94 commit 05cca77
Show file tree
Hide file tree
Showing 31 changed files with 12,793 additions and 2,610 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- dev
- release/**
- feature/**
- bug/**
- tests/**
pull_request:
branches:
Expand All @@ -24,15 +25,23 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [7.3, 7.4, 8.0]
laravel: [7.*, 8.*]
php: [7.3, 7.4, 8.0, 8.1]
laravel: [7.*, 8.*, 9.*]
stability: [prefer-stable]
include:
- laravel: 9.*
testbench: ^7.0
- laravel: 8.*
testbench: ^6.6
- laravel: 7.*
testbench: ^5.0

exclude:
- laravel: 7.*
php: 8.1
- laravel: 9.*
php: 7.3
- laravel: 9.*
php: 7.4
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - Testbench ${{ matrix.testbench }}

steps:
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# Changelog
## [2.4.1] - 2023-01-02
### Fixed
- Fixed a bug displaying error alerts as success
- Fixed a bug with XSS injections
- Fixed a bug using dynamic tailwindcss classes
- Fixed a bug resetting the value with the the inline editing
- Removed `doc` files from this repo
## [2.4.0] - 2021-09-29
### Added
- Inline editing component
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Laravel views](doc/laravel-views.png)
![Laravel views](https://laravelviews.com/img/docs/table.png)

# Laravel views

Expand Down Expand Up @@ -27,9 +27,15 @@ Here's the plan for what's coming:
- Add links as a UI helpers

## Upgrade guide
### From 2.4.0 to 2.4.1
**Publish blade componentes**

Some of the internal components have changed, if you have published these components before to customize them, you will not have them up to date, unfourtunately you need to publish them again with `php artisan vendor:publish --tag=views --provider='LaravelViews\LaravelViewsServiceProvider'` and customize them as you need.

### From 2.2 to 2.3
**Cached views**


The blade directives have changed, you need to clear the cached views with `php artisan view:clear`

**Public assets**
Expand Down
12 changes: 5 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,14 @@
}
},
"require-dev": {
"phpunit/phpunit": "7.0.*|8.5.*|9.5.*",
"orchestra/testbench": "4.*|5.*|6.*",
"phpunit/phpunit": "9.5.*",
"laravel/legacy-factories": "^1.1",
"spatie/laravel-ray": "^1.12",
"brianium/paratest": "^6.3",
"nunomaduro/collision": "^5.3",
"nunomaduro/larastan": "^0.7.6"
"nunomaduro/larastan": "^0.7.6",
"orchestra/testbench": "^7.0"
},
"scripts": {
"test": "./vendor/bin/testbench package:test --parallel --no-coverage",
"test": "./vendor/bin/phpunit",
"test:verbose": "composer run test -- --testdox",
"test-coverage": "vendor/bin/phpunit --coverage-html coverage",
"larastan": "./vendor/bin/phpstan analyse"
},
Expand Down
Loading

0 comments on commit 05cca77

Please sign in to comment.