Skip to content

Releases: bordoni/fakerpress

0.9.1

Choose a tag to compare

@bordoni bordoni released this 22 May 21:37
0.9.1
528789f

Patch release fixing two regressions reported on wp.org.

Fixes

  • Restore date-type meta generationWP_Meta::meta_type_date no longer fatals with Class "FakerPress\Provider\Chronos" not found. The Chronos import was missing from the provider file. (#209) — wp.org thread
  • Honour the selected post type(s) on the Posts generator. The admin form's plural post_types value was silently overwritten by the singular alias's default of post, so selecting "Page" still produced posts. (#210) — wp.org thread
  • Suppress the Undefined property: stdClass::$terms warning emitted by WP_Post::tax_input under PHP 8.x when the taxonomy config does not include a terms key.

Tweak

  • REST endpoint POST /fakerpress/v1/posts/generate now documents post_types (array or comma-separated string) as the canonical parameter; the existing post_type singular alias is preserved for backwards compatibility.

Tests

  • Regression coverage for meta_type_date, sparse tax_input configs, and every shape of post_types payload (CSV, array, singular alias, plural-wins-over-default).

Full changelog: 0.9.0...0.9.1
Milestone: https://github.com/bordoni/fakerpress/milestone/10

0.9.0

Choose a tag to compare

@bordoni bordoni released this 09 Mar 06:23
0.9.0
6bb272f

What's New

  • Feature - Complete REST API implementation replacing legacy AJAX system
  • Feature - Add comprehensive REST API endpoints for all modules (Posts, Users, Terms, Comments, Attachments)
  • Feature - Implement attachment generation with support for multiple image providers (Placehold.co, Lorem Picsum)
  • Feature - Add batching support for large data generation requests
  • Feature - Include OpenAPI documentation at /wp-json/fakerpress/v1/docs
  • Feature - Add attachment admin interface with customizable image dimensions and content options
  • Feature - Include automatic attribution for all generated images
  • Enhancement - Modernize JavaScript to ES6 with proper module structure
  • Enhancement - Implement proper REST authentication with wp_rest nonce verification
  • Enhancement - Add standardized error handling and validation across all endpoints
  • Fix - Translate REST API parameter names to module format for Posts, Terms, Users, and Comments
  • Fix - Allow post_status parameter to be passed through REST API
  • Fix - Map REST comment_status values to WordPress comment_approved format
  • Fix - Several stability fixes for meta, term, and attachment generation

See the full changelog for details.

0.8.0

Choose a tag to compare

@bordoni bordoni released this 21 May 01:31
0.8.0
d8c38ba
  • Version - Update dependency cakephp/chronos to 3.1.0
  • Version - Update PHP min version to 8.1+
  • Fix - Resolve PHP 8.4+ problems specially arounnd incompatibility with Chronos and notices.

Full Changelog: 0.7.2...0.8.0

0.7.2

Choose a tag to compare

@bordoni bordoni released this 21 May 01:31
0.7.2
  • Fix - Resolve all fatals related to compatibility with version of Faker 1.24+.
  • Fix - Resolve some incompatibilities with WP Script build tools.

Full Changelog: 0.7.1...0.7.2

0.7.1

Choose a tag to compare

@bordoni bordoni released this 21 May 01:30
0.7.1
1709e42

What's Changed

  • Move the registration of the menus to avoid problems with _load_textdomain_just_in_time() notices. by @bordoni in #184

Full Changelog: 0.7.0...0.7.1

0.7.0

Choose a tag to compare

@bordoni bordoni released this 17 May 23:58
0.7.0
ab08f67
  • Version - Update dependency fakerphp/faker to 1.24
  • Version - Update dependency lucatume/di52 to 0.4
  • Tweak - Modified date handling from using Carbon to use Chronos.
  • Fix - Improved password for the randomized Users created, prevents weird scenarios with faked users allowing brute-force login. Props @rinatkhaziev
  • Fix - Prevent fatals related to $min param on Meta Value generation for PHP 8.1+. Props @kubiq

0.6.6

Choose a tag to compare

@bordoni bordoni released this 26 Apr 13:14
0.6.6
c3072f5
  • Fix - Prevent notices related to deprecated usage of Faker methods that were being called as properties.
  • Fix - Prevent fatals related to bad typecasting of Faker methods used for meta generation. props @helgatheviking

0.6.5

Choose a tag to compare

@bordoni bordoni released this 26 Apr 04:52
0.6.5
efa0bbd
  • Fix - Ensure meta generation for Users, Terms and Comments work since changes made on version 0.6.2. props @helgatheviking

Version: 0.6.4

Choose a tag to compare

@bordoni bordoni released this 22 Apr 02:54
0.6.4
52b50dc
  • Fix - Ensure that Faker is also included via Strauss, to prevent conflicts with other plugins.
  • Fix - Resolve Fatal where trying to create posts, comments or terms would fail because of missing classes.

Version: 0.6.3

Choose a tag to compare

@bordoni bordoni released this 21 Apr 11:35
0.6.3
68d9a97
  • Fix - Prevent fatal errors because of malformed composer autoload files.