diff --git a/.gitattributes b/.gitattributes index 8e09d16..c247dfd 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,8 +1,8 @@ # Distribution files for git archive (release ZIP) # This file controls what is excluded from git archive. -# Note: For WordPress.org submission, source CSS/JS files are included -# (minified assets are provided by the GitHub release workflow only) +# Note: Source CSS/JS files are excluded from release ZIP +# (only minified assets are included) # Exclude development and build files composer.json export-ignore @@ -12,6 +12,11 @@ node_modules/ export-ignore package.json export-ignore package-lock.json export-ignore +# Exclude source JS/CSS files (only minified assets in release) +assets/js/*.js export-ignore +assets/js/**/*.js export-ignore +assets/css/*.css export-ignore + # Exclude development configuration phpcs.xml export-ignore phpcs.xml.dist export-ignore diff --git a/AGENT.md b/AGENT.md index 23d2de6..32d16da 100644 --- a/AGENT.md +++ b/AGENT.md @@ -8,7 +8,7 @@ **FE CSV Import & Export** is a WordPress plugin for CSV import/export. Supports custom post types, custom taxonomies, and custom fields. -- **Version**: 1.0.0 +- **Version**: 1.0.1 - **License**: GPL-2.0+ - **PHP**: >= 8.1 (recommended) - **Repository**: https://github.com/firstelementjp/fe-csv-import-export diff --git a/README.md b/README.md index f4875f1..b46e5eb 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ![FE CSV Import & Export Banner](https://firstelementjp.github.io/fe-csv-import-export/assets/images/img-sns-banner-80.jpg) -[![Version](https://img.shields.io/badge/version-1.0.0-green.svg)](https://github.com/firstelementjp/fe-csv-import-export/releases) +[![Version](https://img.shields.io/badge/version-1.0.1-green.svg)](https://github.com/firstelementjp/fe-csv-import-export/releases) [![License](https://img.shields.io/badge/License-GPLv2%2B-blue.svg)](https://www.gnu.org/licenses/gpl-2.0.html) [![WordPress](https://img.shields.io/badge/WordPress-6.6%2B-blue.svg)](https://wordpress.org/) [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/firstelementjp/fe-csv-import-export) diff --git a/docs/README.md b/docs/README.md index 2aa43de..4294f94 100644 --- a/docs/README.md +++ b/docs/README.md @@ -5,7 +5,7 @@ > CSV import/export for WordPress with localized admin UI, automatic batch processing, and developer extensibility. [![License](https://img.shields.io/badge/license-GPL--2.0%2B-blue.svg)](legal.md) -[![Version](https://img.shields.io/badge/version-1.0.0-green.svg)](https://github.com/firstelementjp/fe-csv-import-export/releases) +[![Version](https://img.shields.io/badge/version-1.0.1-green.svg)](https://github.com/firstelementjp/fe-csv-import-export/releases) [![WordPress](https://img.shields.io/badge/WordPress-6.6%2B-blue.svg)](https://wordpress.org/) FE CSV Import & Export is a WordPress plugin for importing and exporting post data as CSV from the admin area. @@ -29,11 +29,11 @@ FE CSV Import & Export is a WordPress plugin for importing and exporting post da ## 📥 Download -[Download fe-csv-import-export-1.0.zip](https://github.com/firstelementjp/fe-csv-import-export/releases/download/v1.0/fe-csv-import-export-1.0.zip){: .download-btn } +[Download fe-csv-import-export-1.0.1.zip](https://github.com/firstelementjp/fe-csv-import-export/releases/download/v1.0.1/fe-csv-import-export-1.0.1.zip){: .download-btn } ## 🚀 Quick Start -1. Download `fe-csv-import-export-1.0.0.zip` +1. Download `fe-csv-import-export-1.0.1.zip` 2. Upload and activate the plugin in WordPress 3. Open **Tools → FE CSV Import & Export** 4. Run a small test import or export first diff --git a/docs/changes.md b/docs/changes.md index 137ae0c..c360160 100644 --- a/docs/changes.md +++ b/docs/changes.md @@ -1,5 +1,14 @@ # 📋 Changelog +## [1.0.1] - 2026-07-09 + +### 🛠️ Bug Fixes + +- **Fixed README banner image accessibility** - Changed banner image URL from GitHub blob to GitHub Pages to ensure visibility for non-logged-in users. +- **Fixed memory exhaustion on PHP 7.4** - Export batch size calculation now caps batch size more conservatively for PHP 7.x and low-memory environments (≤256MB), preventing memory exhaustion during first export with custom fields. + +--- + ## [1.0.0] - 2026-06-02 ### 🚀 Performance Improvements diff --git a/docs/install.md b/docs/install.md index f0a11dc..72daeeb 100644 --- a/docs/install.md +++ b/docs/install.md @@ -10,7 +10,7 @@ ## Manual Installation -1. [Download latest version (v1.0.0)](https://github.com/firstelementjp/fe-csv-import-export/releases/download/v1.0.0/fe-csv-import-export-1.0.0.zip) +1. [Download latest version (v1.0.1)](https://github.com/firstelementjp/fe-csv-import-export/releases/download/v1.0.1/fe-csv-import-export-1.0.1.zip) 2. Extract the downloaded ZIP file 3. Upload `fe-csv-import-export` folder to `/wp-content/plugins/` 4. Navigate to **Plugins** in WordPress admin diff --git a/docs/ja/changes.md b/docs/ja/changes.md index 36f2467..565ad15 100644 --- a/docs/ja/changes.md +++ b/docs/ja/changes.md @@ -1,5 +1,14 @@ # 📋 変更履歴 +## [1.0.1] - 2026-07-09 + +### 🛠️ バグ修正 + +- **READMEバナー画像のアクセシビリティ修正** - GitHubにログインしていないユーザーでも画像が表示されるよう、バナー画像URLをGitHub blobからGitHub Pagesに変更しました +- **PHP 7.4でのメモリ枯渇修正** - エクスポートバッチサイズ計算をPHP 7.xおよび低メモリ環境(≤256MB)でより保守的に制限するように変更し、カスタムフィールドを含む初回エクスポート時のメモリ枯渇を防止しました + +--- + ## [0.9.9.4] - 2026-05-27 ### 🚀 パフォーマンス改善 diff --git a/fe-csv-import-export.php b/fe-csv-import-export.php index 29fd955..f5eb8b7 100644 --- a/fe-csv-import-export.php +++ b/fe-csv-import-export.php @@ -3,7 +3,7 @@ * Plugin Name: FE CSV Import & Export * Plugin URI: https://github.com/firstelementjp/fe-csv-import-export * Description: Simple yet powerful CSV import/export plugin for WordPress. Supports custom post types, custom taxonomies, and custom fields. - * Version: 1.0.0 + * Version: 1.0.1 * Author: FirstElement K.K., Daijiro Miyazawa * Author URI: https://www.firstelement.co.jp/ * License: GPL-2.0+ @@ -20,7 +20,7 @@ } // Define plugin constants. -define( 'FE_CSV_IMPORT_EXPORT_VERSION', '1.0.0' ); +define( 'FE_CSV_IMPORT_EXPORT_VERSION', '1.0.1' ); define( 'FE_CSV_IMPORT_EXPORT_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); define( 'FE_CSV_IMPORT_EXPORT_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); define( 'FE_CSV_IMPORT_EXPORT_BASENAME', plugin_basename( __FILE__ ) ); diff --git a/includes/import/class-fe-csv-import-export-import-row-processor.php b/includes/import/class-fe-csv-import-export-import-row-processor.php index 96712d6..c3f2451 100644 --- a/includes/import/class-fe-csv-import-export-import-row-processor.php +++ b/includes/import/class-fe-csv-import-export-import-row-processor.php @@ -134,12 +134,12 @@ private function append_error_detail( * This is a simplified API that avoids injecting the persisting callable. * * @since 0.9.0 - * @param wpdb $wpdb WordPress database handler. - * @param array $row_context Row context. - * @param array $context Context values for row processing. - * @param array $counters Counters (by reference). + * @param wpdb $wpdb WordPress database handler. + * @param array $row_context Row context. + * @param array $context Context values for row processing. + * @param array $counters Counters (by reference). * @param FE_CSV_Import_Export_Import_Persister $persister Persister utility. - * @param callable $handle_successful_row_import Success handler. + * @param callable $handle_successful_row_import Success handler. * @return void */ public function process_row_context_with_persister( @@ -174,14 +174,14 @@ public function process_row_context_with_persister( * Process one import row using a persister instance without injecting callables. * * @since 0.9.0 - * @param wpdb $wpdb WordPress database handler. - * @param bool $is_update Whether this row updates an existing post. - * @param int|null $post_id Post ID (by reference, updated on insert). - * @param array $post_fields_from_csv Post fields collected from CSV. - * @param array $context Context values for row processing. - * @param array $counters Counters (by reference). + * @param wpdb $wpdb WordPress database handler. + * @param bool $is_update Whether this row updates an existing post. + * @param int|null $post_id Post ID (by reference, updated on insert). + * @param array $post_fields_from_csv Post fields collected from CSV. + * @param array $context Context values for row processing. + * @param array $counters Counters (by reference). * @param FE_CSV_Import_Export_Import_Persister $persister Persister utility. - * @param callable $handle_successful_row_import Success handler. + * @param callable $handle_successful_row_import Success handler. * @return void */ public function process_single_import_row_with_persister_without_callbacks( diff --git a/package.json b/package.json index 4ab9861..9963e7b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fe-csv-import-export", - "version": "1.0.0", + "version": "1.0.1", "description": "FE CSV Import & Export - Simple CSV Management Without the Complexity.", "license": "GPL-2.0+", "engines": { diff --git a/readme.txt b/readme.txt index 852485e..1f16e2a 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: csv, import, export, custom post types, custom fields Requires at least: 6.6 Tested up to: 7.0 Requires PHP: 7.4 -Stable tag: 1.0.0 +Stable tag: 1.0.1 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html diff --git a/test-release.sh b/test-release.sh index 1ff7841..6fa1a4c 100755 --- a/test-release.sh +++ b/test-release.sh @@ -4,7 +4,7 @@ set -euo pipefail BRANCH="${1:-$(git rev-parse --abbrev-ref HEAD)}" RELEASE_DIR="test-release" -ZIP_NAME="fe-csv-import-export-1.0.0.zip" +ZIP_NAME="fe-csv-import-export-1.0.1.zip" GENERATED_MINIFIED_FILES=( "assets/css/fe-csv-import-export-style.min.css" "assets/js/export/fe-csv-import-export/ajax.min.js"