Releases: bordoni/fakerpress
Releases · bordoni/fakerpress
Release list
0.9.1
Patch release fixing two regressions reported on wp.org.
Fixes
- Restore date-type meta generation —
WP_Meta::meta_type_dateno longer fatals withClass "FakerPress\Provider\Chronos" not found. TheChronosimport 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_typesvalue was silently overwritten by the singular alias's default ofpost, so selecting "Page" still produced posts. (#210) — wp.org thread - Suppress the
Undefined property: stdClass::$termswarning emitted byWP_Post::tax_inputunder PHP 8.x when the taxonomy config does not include atermskey.
Tweak
- REST endpoint
POST /fakerpress/v1/posts/generatenow documentspost_types(array or comma-separated string) as the canonical parameter; the existingpost_typesingular alias is preserved for backwards compatibility.
Tests
- Regression coverage for
meta_type_date, sparsetax_inputconfigs, and every shape ofpost_typespayload (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
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_statusparameter to be passed through REST API - Fix - Map REST
comment_statusvalues to WordPresscomment_approvedformat - Fix - Several stability fixes for meta, term, and attachment generation
See the full changelog for details.
0.8.0
- Version - Update dependency
cakephp/chronosto3.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
- 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
0.7.0
- Version - Update dependency
fakerphp/fakerto1.24 - Version - Update dependency
lucatume/di52to0.4 - Tweak - Modified date handling from using
Carbonto useChronos. - 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
$minparam on Meta Value generation for PHP 8.1+. Props @kubiq
0.6.6
- 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
- Fix - Ensure meta generation for Users, Terms and Comments work since changes made on version
0.6.2. props @helgatheviking
Version: 0.6.4
- 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
- Fix - Prevent fatal errors because of malformed composer autoload files.