Skip to main content

TypeRocket Open - Plugin Changelog

v5.1.14

September 8th, 2022

  • Improve the model and query system.
  • Improve code comments and doc blocks.
  • Add queue sync mode.

v5.1.13

September 7th, 2022

  • Add Model::has(), Model::hasNo(), and Model::whereRelationship().
  • Add separate forms for taxonomy edit and add screens.
  • Fix bugs.

v5.1.12

September 2nd, 2022

  • Add Model::avg(), Model::max(), Model::min(), and Model::sum().
  • Add WPUser::whereCapabilityLike().
  • Add Str::encoding(), Str::length(), Str::limit(), Str::lower(), Str::maxed(), Str::min(), Str::quiet(), and Str::reverse().
  • Add encoding constants Str::ASCII, Str::LATIN1, and Str::UTF8.
  • Add Data::value(), Data::get().
  • Forward the Value class to the Data class.

v5.1.11

September 2nd, 2022

  • Add ArrayAccessible and ArrayIterable.
  • Add Arr::first(), Arr::last(), Arr:exists().
  • Add Data::map(), Data::mapDeep(), and Str::blank().
  • Improve Arr::has().
  • Improve the View title system with other SEO plugins.
  • Add typerocket_view_document_title filter hook.

v5.1.10

August 31st, 2022

  • Add Arr::isSequential, Arr::isAssociative, Arr::isAccessible, Arr::divide, Arr::partition, Arr::get, and Arr::has.
  • Add Data::nil.
  • Bug fixes.

v5.1.9

August 30th, 2022

  • 🚨 BREAKING – Signature changes! Add the ability to set the local_id on model relationships. Affected classes: Model and EagerLoader.
  • Upgrade action scheduler to 3.5.
  • Add TEMPLATE_TYPE to builder and matrix fields.
  • Add Arr::filterNull() method.
  • Add Data::createMapIndexBy method.
  • Add Response method needsBasicAuthentication().
  • Add Str::explodeFromRight().
  • Add Request method getPassword() and getUsername.
  • Improve extension and TypeRocket settings forms and templates.
  • Improve custom route redirect SEO with 301 redirects by replacing 302 redirects.
  • Account for Rank Math SEO’s super global $user_id injection bug.
  • Fix fopen bug in File class.

v5.1.8

August 18th, 2022

  • Change routes run timing to priority 11 from 10.
  • Improve paths config.

v5.1.7

August 16th, 2022

  • Improve nested form row design.

v5.1.6

August 6th, 2022

  • Improve ORM.
  • Bug fixes.

v5.1.3 – v5.1.5

August 4th, 2022

  • Bug fixes.

v5.1.2

August 3rd, 2022

  • Add multiple database connections, you will need the new database config file.
  • Bug fixes.

v5.1.1

August 3rd, 2022

  • Bug fixes.

v5.1.0

August 2nd, 2022

  • Change in PHP and WorDPress minimum version requirements.
  • Services now load at the same point in time on all install types.
  • Job and queue system added by default.
  • Improved mail driver core systems.
  • Improved doc blocks and PHP 8.1 support.
  • Bug fixes.

v5.0.38

July 26th, 2022

  • Improve Queue and Job system.
  • Add a secure-auth cookie system.
  • Fix minor bugs.

v5.0.37

July 25th, 2022

  • Add jobs dispatch method.

v5.0.36

July 21st, 2022

  • Update “Upgrade To TypeRocket Pro” removable dashboard meta box.

v5.0.35

July 20th, 2022

  • Add “Upgrade To TypeRocket Pro” removable dashboard meta box.

v5.0.34

July 20th, 2022

  • Add core Queue and Job system.
  • Add charset and collate migration template test
  • Fix PHP 8.1 type error bugs.
  • Fix PHP 8.0 null error.
  • Fix build buildUrlFromPattern() method.
  • Add charset and collate migration template tags.
  • Fix the timezone bug with wp_timezone_string().
  • Add more field helper methods.
  • Fix minor bugs.

v5.0.33

June, 13th 2022

  • Fix bugs

v5.0.32

April, 7th 2022

  • Add #[\ReturnTypeWillChange] for applied JsonSerializable methods for PHP 8.1 support.
  • Bypass user_login model exception in WPUser::update if user_login remains the same.
  • Add new TypeRocket\Utility\DateTime class.
  • Fix TypeRocket UI views bug when switching template engine to twig.
  • Add new search and URL field method setSearchConfig(). The only option is keepSearch. Setting this option to true will keep the search results listed after an item is selected.
  • Add hooks for controller onValidate and onAction.
  • Add support for URLSearchParams to window.typerocketHttp.send().
  • Add meta box and custom forms to the attachment edit screen.
  • Bug fixes.

v5.0.31

January, 26th 2022

  • Fix bugs.
  • Add the ability to have multiple GROUP BY columns.
  • Update the ORM delete() method. Note, when you get a list of models and then use delete() the method will work as expected for most uses cases moving forward when the ID is numeric. There is also a new wp-config.php flag TYPEROCKET_QUERY_DELETE_ANY you can add to allow deletes to work on any ID value.

v5.0.30

December, 3rd 2021

  • Fix bugs.

v5.0.29

November, 13th 2021

  • Suppress migration error when no migrations are found after running the migrate command.
  • Add PHP 7.3 cookie feature support.
  • Add PHP 8 support to class resolver.
  • Add saveAndGet() method to the model class.
  • Update how Model::save() works. You can now tell if an update or create was called when using save by checking the return type. Update will now return a model or bool instead of a model or int. Create will return a model or wpdb::insert_id.
  • Fix bugs.

v5.0.28

October, 1st 2021

v5.0.27

September, 20rd 2021

  • Fix migration bug.

v5.0.26

September, 16rd 2021

  • Add Form::fileUpload() field.
  • Add appendRawOrderBy to Query class.
  • Map model into appendRawOrderBy.
  • Add SVG support to image fields when WordPress allows SVGs.
  • Add weak validation rule by appending ? to rule key.
  • Improve weak validation with global ? capability.
  • Add new required:strong validation option. This option trims the value before checking for emptiness.
  • Add the ability to set full and field on custom messages for validations.
  • Display the first failed validation rule as the error message instead of the last.
  • Improve required validation.
  • Add Arr::indexBy.
  • Add migration options path and wp_option to migrate command.
  • Add subfield validation feature.
  • Add Arr:only() and Arr::pluck().
  • Add ArrayReplaceRecursiveValues trait all models.
  • Add Arr::replaceRecursivePreferNew.
  • Add DisplayPermissions to many places like fields, forms, and tables.
  • Add sanitization helpers.
  • Add HTML5 datetime-local validator.
  • Add new hide controls for repeater and matrix fields.
  • Fix major Model::getCast issues that was casting blank values like "0", 0, [], and "" to null.
  • Add Arr::isEmptyArray.
  • Improve design.
  • Fix bugs.

v5.0.25

September, 3rd 2021

  • Update TypeRocket core.
  • Fix bugs.

v5.0.24

July, 19th 2021

  • Add new savePostNameAs and saveFieldAs methods to PostType class.
  • Flash errors when WP controllers throw exceptions.
  • Block saving of post types when the status is trash.
  • Add HTTP Fields class support to Form class.
  • Update reserve list for post types and taxonomies.
  • Add edit media button to image field.
  • Add name to Views class.
  • Add filters typerocket_component_options and typerocket_component_class.
  • Fix bugs.

v5.0.23

May, 18th 2021

  • Add with_front options to post types and taxonomy.
  • Update TypeRocket UI with new options.

v5.0.22

May, 13th 2021

  • Make default cache folder for views views instead of the default app folder.
  • Add migration exit code.
  • Fix page views bug when a long string is used.

v5.0.21

April, 30th 2021

  • Add PHP class migrations.
  • Improve validation and field errors.
  • Add typerocket_controller_after_{type} and typerocket_model_after_{action}.
  • Add ENV support for CLI commands.
  • Add option to disable WP in Galaxy command using TYPEROCKET_GALAXY_LOAD_WP=no php galaxy.
  • Add support for database transactions in SQL migrations.
  • Add bulk delete warnings to models that do not allow them.
  • Minor improvements to the core WP models.
  • Add maybeBack() to the redirect class.

v5.0.20

April, 28th 2021

  • Improve redirects and core WP models.

v5.0.19

April, 26th 2021

  • Improve validation system.
  • Improve base controllers.
  • Improve error response system.
  • Add ResultsCollection class.
  • Allow policy additions from a TypeRocket plugin.

v5.0.18

April, 20th 2021

  • Add onAction method to main controller class.
  • Update return value for WPComment and WPUser create methods.
  • Allow relationship fields in post type columns without sorting.
  • Add new methods to Model class.
  • Fix WPComment not throwing error bug.
  • Fix label field bug.
  • Fix onDependencyInjection Model bug.
  • 🚨 IMPORTANT: The Query class now ` ticks SQL when compiling if they are not yet present, allowing you to use column names reserved as SQL keywords. This change may introduce errors, but it is unlikely.

v5.0.17

  • Improve views.
  • Improve migration and file system.
  • Upgrade Galaxy CLI (if you are using a custom galaxy script be sure to update this file).

v5.0.16

  • Fix casting object type bug.
  • Add localization to validators.

v5.0.15

  • Add more Migrate class methods.
  • Add better console migration warnings.
  • Remove CanQueryDB trait class.
  • Allow migrations outside the galaxy console.
  • Add better Table class errors.
  • Fix bugs.

v5.0.14

  • Add QueryCaster utility class.
  • Bug fixes.

v5.0.13

  • Bug fixes.

v5.0.12

  • 🚨 [IMPORTANT] For GET requests only. Previously TypeRocket redirected GET requests to the trailing slash version of the request URL. The TypeRocket custom routing system has been updated to detect if the WordPress rewrites have a trailing slash or not automatically. Routes will now automatically detect how best to redirect GET requests based on your permalink settings. This means your custom routes will look the same as the rest of WordPress. This update might impact how your WordPress project functions but is a patch version because breaking changes are not expected.
  • Add new helper tr_roles(). If you are using a composer install update your helpers.php file manually.
  • Bug fixes.

v5.0.11

  • Fix minor bugs.

v5.0.10

  • Fix minor bugs.

v5.0.9

  • Fix minor bugs.

v5.0.8

  • Fix minor bugs.

v5.0.7

  • Fix minor bugs.

v5.0.6

  • Fix minor bugs.
  • Add tr_dd and tr_dump.

5.0.5

  • Enhancements.
  • Bug fixes.

5.0.4

  • Bug fixes.

5.0.3

  • Bug fixes.

5.0.2

  • Add composers.
  • Add make:rule command.
  • Bug fixes.

5.0.1

  • Bug fixes.

5.0.0

  • First release.

By using our website you agree to our Cookie policy.