Skip to content

Commit

Permalink
Laravel 10 specific release added 🔖
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulhaque committed Nov 13, 2023
1 parent 0a172a8 commit 07a483a
Show file tree
Hide file tree
Showing 7 changed files with 4,785 additions and 4,934 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
name: run-tests

on:
push:
branches: [master]
# pull_request:
# branches: [master]
push:
branches: [10.x]
# pull_request:
# branches: [master]

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.1]
laravel: [10.*]
stability: [prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.1]
laravel: [10.*]
stability: [prefer-stable]
include:
- laravel: 10.*
testbench: 8.*

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v2
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, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
coverage: none
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
coverage: none

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Execute tests
run: vendor/bin/phpunit
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Execute tests
run: vendor/bin/phpunit
148 changes: 3 additions & 145 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,149 +2,7 @@

All notable changes to `laravel-filepond` will be documented in this file.

## 1.12.15 - 2023-11-13
## 10.0.0 - 2023-11-14

- Fixed union type issue for older PHP versions #49. 🐛

## 1.12.14 - 2023-11-09

- Fixed single file upload as array #47. 🐛
- New test cases added for single file upload as array.
- Bumped minimal PHP version to 7.4.

## 1.12.13 - 2023-10-13

- Filepond null validation bug fixed. 🐛
- New test cases added for null validation.

## 1.12.12 - 2023-10-12

- Filepond file revert logic updated. ⬆️

## 1.12.11 - 2023-10-09

- Nested validation bug fixed #46. 🐛
- New test cases added for nested validation.

## 1.12.10 - 2023-10-06

- Added support for extending `Filepond` model to support #45. ✨
- Added support for filpond table rename to support #14. ✨
- Added Larevel Pint for code styling.

## 1.11.10 - 2023-07-12

- Added support for filepond restore endpoint. ✨

## 1.10.10 - 2023-05-29

- Added option to force skip file ownership check to solve #39.
- Added error message for unsupported filepond endpoints.

## 1.9.10 - 2023-02-23

- Added Laravel 10 support. ✨
- Removed deprecated method `validate()`.
- Readme updated to remove deprecated method.
- Test cases updated to support Laravel 10.

## 1.8.10 - 2022-06-01

- Multiple file uploads sometime won't move to location fixed.
- New test cases added for `moveTo()` method.

## 1.7.10 - 2022-05-31

- `validate()` method deprecation notice added.
- Test cases updated with `Rule::filepond()`.

## 1.7.9 - 2022-05-07

- `Rule::filepond($rules)` documentation added.
- Code cleanup and improvement.

## 1.7.8 - 2022-04-30

- Added custom `Rule::filepond()` to validate uploaded files. ✨
- Readme updated with new validation example.

## 1.6.8 - 2022-02-22

- Added option to `getDataURL()` from file. Know more about the format [here](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs).

## 1.5.8 - 2022-02-15

- Added Laravel 9 support.

## 1.4.8 - 2021-12-31

- Added support for chunk upload with resume capability. ✨
- Added option to change visibility when using third party storage.
- Updated quickstart example in readme.
- Updated `./filepond/config.php` to change url from one place.

## 1.3.8 - 2021-12-25

- Added option to override permanent storage disk during copying/moving file.

## 1.3.7 - 2021-12-24

- Added support for third party storage. ✨
- File submit response now contains file location and URL for better management.
- Code base restructure and performance improvement.

## 1.2.7 - 2021-10-31

- Fixed delete method call error for multiple upload.

## 1.2.6 - 2021-09-18

- Fixed install error in fresh laravel setup with no database connection config.

## 1.2.5 - 2021-08-05

- Added null value validation support for multiple file uploads using filepond.
- Readme updated with validation example.

## 1.2.4 - 2021-07-24

- Code refactor and performance improvement.
- Package footprint reduction.

## 1.2.3 - 2021-07-22

- Added null value validation support for filepond fields.

## 1.2.2 - 2021-07-21

- Added controller level validation to validate files before moving from temporary storage. ✨
- Addressed workaround where FilePond won't work when laravel debugbar is installed.
- Moved to service implementation for cleaner controller code.
- Fixed an issue where `vendor:publish` will create duplicate migrations.
- Added test cases for filepond revert route.
- Added test cases for `filepond:clear` command.
- Updated documentation for related changes.

## 1.1.2 - 2021-07-16

- Added option for server side validation in `./config/filepond.php` for temporary files.
- Updated documentation.
- Performance improvements.

## 1.0.2 - 2021-05-22

- Added support to show dynamic field name with validation message.
- Added test cases for filepond process route.
- Reduced package bundle size.

## 1.0.1 - 2021-05-21

- Multiple file uploads will be returned as array of objects as per Laravel standard.
- Fixed an issue where temporary storage will not be cleared upon running the command.
- Added test cases for `Filepond` model.

## 1.0.0 - 2021-05-20

- Supports FilePond process and revert routes.
- Added artisan command to clean up temporary storage.
- Added trait support for tracking user uploads.
- Moved to major versioning to support each Laravel release. ✨
- Removed unused dependencies to reduce conflict.
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,10 @@ Support the development with a :star: to let others know it worked for you.

## Installation

Install the package Laravel 8 and onwards.
Laravel 10 users install with.

```bash
composer require rahulhaque/laravel-filepond
```

Laravel 7 users use less than 1.x version. See [7.x branch](https://github.com/rahulhaque/laravel-filepond/tree/7.x) for documentation.

```bash
composer require rahulhaque/laravel-filepond "~0"
composer require rahulhaque/laravel-filepond:"^10"
```

Publish the configuration and migration files.
Expand Down
9 changes: 4 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@
}
],
"require": {
"php": "^7.4|^8.0|^8.1",
"illuminate/support": "^7.0|^8.0|^9.0|^10.0"
"php": "^8.1"
},
"require-dev": {
"laravel/pint": "^1.13",
"league/flysystem-aws-s3-v3": "^1.0|^3.0",
"orchestra/testbench": "^6.0|^7.0|^8.0",
"phpunit/phpunit": "^9.0|^10.0"
"league/flysystem-aws-s3-v3": "^3.0",
"orchestra/testbench": "^8.0",
"phpunit/phpunit": "^10.1"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 07a483a

Please sign in to comment.