From 4d3a1552cbc88f1575350e525b398c203c2cd7e8 Mon Sep 17 00:00:00 2001 From: ousid Date: Mon, 7 Nov 2022 13:12:52 +0000 Subject: [PATCH 1/4] Update CHANGELOG --- CHANGELOG.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e47a6f..f9ccd38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ All notable changes to `laravel-csv` will be documented in this file. +## v1.1.1 - 2022-11-07 + +### What's Changed + +- Bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 by @dependabot in https://github.com/coderflexx/laravel-csv/pull/13 +- Update csv-importer.blade.php by @Globerada in https://github.com/coderflexx/laravel-csv/pull/12 + +### New Contributors + +- @Globerada made their first contribution in https://github.com/coderflexx/laravel-csv/pull/12 + +**Full Changelog**: https://github.com/coderflexx/laravel-csv/compare/v1.1.0...v1.1.1 + ## v1.1.0 - 2022-10-12 ### What's Changed From 4cf7d7f4ca23c29b14fd48ae24411837e6df7a72 Mon Sep 17 00:00:00 2001 From: Globerada Date: Mon, 7 Nov 2022 17:21:45 +0100 Subject: [PATCH 2/4] Update README.md imports() referenced in createNewImport. It is needed to add trait to user model. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 5b99f26..bbdfae0 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,8 @@ php artisan vendor:publish --tag="csv-migrations" php artisan migrate ``` +Add trait **HasCsvImports** to your User model. + Publish the config file with: ```bash From b9e1731f395e768971c0ded52ab328d7bc970049 Mon Sep 17 00:00:00 2001 From: Globerada Date: Mon, 7 Nov 2022 17:51:35 +0100 Subject: [PATCH 3/4] Update CsvImporter.php You have renamed to handle-imports the csv-imports from Codecourse. --- src/Http/Livewire/CsvImporter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/Livewire/CsvImporter.php b/src/Http/Livewire/CsvImporter.php index 27b022c..da9e62e 100644 --- a/src/Http/Livewire/CsvImporter.php +++ b/src/Http/Livewire/CsvImporter.php @@ -83,7 +83,7 @@ public function import() $this->resetExcept($this->exceptions); - $this->emitTo('csv-imports', 'imports.refresh'); + $this->emitTo('handle-imports', 'imports.refresh'); } public function toggle() From b4ad492db109943e504b288a891c2c415a2ebfdc Mon Sep 17 00:00:00 2001 From: Globerada Date: Mon, 7 Nov 2022 17:57:56 +0100 Subject: [PATCH 4/4] Update CsvImporter.php --- src/Http/Livewire/CsvImporter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/Livewire/CsvImporter.php b/src/Http/Livewire/CsvImporter.php index da9e62e..b627953 100644 --- a/src/Http/Livewire/CsvImporter.php +++ b/src/Http/Livewire/CsvImporter.php @@ -45,7 +45,7 @@ class CsvImporter extends Component /** @var array */ protected $exceptions = [ - 'mode', 'columnsToMap', 'open', + 'model', 'columnsToMap', 'open', 'columnLabels', 'requiredColumns', ]; pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy