Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion AGENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down
9 changes: 9 additions & 0 deletions docs/changes.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions docs/ja/changes.md
Original file line number Diff line number Diff line change
@@ -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

### 🚀 パフォーマンス改善
Expand Down
4 changes: 2 additions & 2 deletions fe-csv-import-export.php
Original file line number Diff line number Diff line change
Expand Up @@ -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+
Expand All @@ -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__ ) );
Expand Down
24 changes: 12 additions & 12 deletions includes/import/class-fe-csv-import-export-import-row-processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion test-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading