TypeRocket v5 Pro - Plugin Changelog
v5.1.16
November 16th, 2022
- Add WordPress 6.1 requirement.
- Add TypoeRocket v6 collision protection.
- Fix bugs.
v5.1.15
October 26th, 2022
- Add WordPress 6.1 support.
- Update composer dependencies.
- Fix bugs.
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()
, andModel::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()
, andModel::sum()
. - Add
WPUser::whereCapabilityLike()
. - Add
Str::encoding()
,Str::length()
,Str::limit()
,Str::lower()
,Str::maxed()
,Str::min()
,Str::quiet()
, andStr::reverse()
. - Add encoding constants
Str::ASCII
,Str::LATIN1
, andStr::UTF8
. - Add
Data::value()
,Data::get()
. - Forward the
Value
class to theData
class.
v5.1.11
September 2nd, 2022
- Add ArrayAccessible and ArrayIterable.
- Add
Arr::first()
,Arr::last()
,Arr:exists()
. - Add
Data::map()
,Data::mapDeep()
, andStr::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
, andArr::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
andEagerLoader
. - Upgrade action scheduler to 3.5.
- Add
TEMPLATE_TYPE
to builder and matrix fields. - Add
Arr::filterNull()
method. - Add
Data::createMapIndexBy
method. - Add
Response
methodneedsBasicAuthentication()
. - Add
Str::explodeFromRight()
. - Add
Request
methodgetPassword()
andgetUsername
. - 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 inFile
class.
v5.1.8
August 18th, 2022
- Improve Log, Mail, and Storage with the ability to define driver with class instance, class name, or config name.
- Improve
make:plugin
template. - Update
config/logging.php
with newdrivers.file.options
setting. - Change routes run timing to priority
11
from10
. - 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.2 – v5.1.5
August 4th, 2022
- Add multiple database connections, you will need the new database config file.
- Bug fixes.
v5.1.1
August 3rd, 2022
- 🚨 Increased PHP required version to 7.4.
- 🚨 Increase WordPress required version to 6.0.
- 🚨 Update
WordPressMailDriver
so that it uses the corewp_mail
function. - 🚨 Services now load at the same point in time on all install types.
- 🚨 Enabled job and queue system default.
- Add site health info.
- Improve model doc blocks and add PHP 8.0 ArrayShapes.
- Improve internal comments.
- Remove previous PHP version checks.
- Remove x-frame-options from cookies config.
- Bug fixes.
v5.0.60
July 26th, 2022
- Add secure auth cookies service.
v5.0.59
July 25th, 2022
- Add jobs dispatch method.
v5.0.58
July 21st, 2022
- Add core updater icon.
v5.0.57
July 20th, 2022
- Fix core Queue and Job system bugs.
- Add localization to errors for Queue.
v5.0.56
July 19th, 2022
See https://github.com/TypeRocket/typerocket/blob/main/config/queue.php. If you are using config overrides you will want to add the new file to your config folder.
- 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.
v5.0.55
April, 21th 2022
- Fix bugs.
v5.0.54
April, 11th 2022
- Fix the timezone bug with
wp_timezone_string()
.
v5.0.53
April, 8th 2022
- Fix doc blocks.
- Add more field helper methods.
- Bug fixes.
v5.0.52
April, 7th 2022
- Add
#[\ReturnTypeWillChange]
for appliedJsonSerializable
methods for PHP 8.1 support. - Bypass user_login model exception in WPUser::update if
user_login
remains the same. - Add more DateTime functions.
- Add meta box and custom forms to the attachment edit screen.
- Bug fixes.
v5.0.51
March, 17th 2022
- Add Page Builder Plus extension: builder revisions, reusable blocks system, save component as a block, and more.
- Add table helper
exclude_search_select
. - Add timezone conversion helpers.
- Fix TypeRocket UI views bug when switching template engine to twig.
- Add new search and URL field method
setSearchConfig()
. The only option iskeepSearch
. Setting this option totrue
will keep the search results listed after an item is selected. - Add hooks for controller
onValidate
andonAction
. - Add new
TypeRocket\Utility\DateTime
class. - Add support for
URLSearchParams
towindow.typerocketHttp.send()
. - Bug fixes.
v5.0.50
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 usedelete()
the method will work as expected for most uses cases moving forward when the ID is numeric. There is also a newwp-config.php
flagTYPEROCKET_QUERY_DELETE_ANY
you can add to allow deletes to work on any ID value.
v5.0.49
December, 3rd 2021
- Fix bugs.
v5.0.48
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 orbool
instead of a model orint
. Create will return a model orwpdb::insert_id
. - Fix bugs.
v5.0.47
October, 1st 2021
- Add new base taxonomy models to the app folder.
- Fix bugs.
v5.0.46
September, 20th 2021
- Fix bugs.
v5.0.45
September, 16th 2021
- Add
Form::fileUpload()
field. - Add migration options
path
andwp_option
to migrate command. - Add subfield validation feature.
- Add
Arr:only()
andArr::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""
tonull
. - Add
Arr::isEmptyArray
. - Improve design.
- Fix bugs.
v5.0.44
September, 8th 2021
- Improve required validation.
- Add
Arr::indexBy
. - Add migration options
path
andwp_option
to migrate command.
v5.0.43
September, 3rd 2021
- Add weak validation rule by appending
?
to rule key (now allows blank strings). - Fix gallery field bug.
- Fix bugs and code cleanup.
v5.0.42
August, 17th 2021
- Add new
required:strong
validation option. This option trims the value before checking for emptiness. - Add the ability to set
full
andfield
on custom messages for validations. - Display the first failed validation rule as the error message instead of the last.
- Add SVG support to image fields when WordPress allows SVGs.
- Add weak validation rule by appending
?
to rule key. - Fix bugs and code cleanup.
v5.0.41
August, 13th 2021
- Add
appendRawOrderBy
to query and ORM. - Add
setResultsPaged()
toTable
.
v5.0.40
July, 19th 2021
- Add new
savePostNameAs
andsaveFieldAs
methods toPostType
class. - Flash errors when WP controllers throw exceptions.
- Block saving of post types when the status is
trash
. - Add HTTP
Fields
class support toForm
class. - Update reserve list for post types and taxonomies.
- Fix bugs.
v5.0.39
July, 1st 2021
- Change edit image link behavior.
v5.0.38
June, 28th 2021
- Add edit media button to image and gallery field.
- Fix minor migration bug.
v5.0.37
June, 22th 2021
- Fix bugs.
v5.0.36
May, 30th 2021
- Fix radio button field bug.
- Enhance timezone field.
- Fix galaxy CLI bug.
v5.0.35
May, 28th 2021
- Remove helper functions from core classes.
- Add WordPress timezone field.
- Add
includeIf()
toTachyonTemplateEngine
. - Add migration retry to
BasePlugin
. - Add hooks list to dev toolbar.
v5.0.34
May, 19th 2021
- Add filters
typerocket_component_options
andtyperocket_component_class
. - Add name to Views class.
- Add conditional field modes.
- Fix
MailgunMailDriver
bug. - Remove ability to have return/enter value in
textexpand
field. The intention of this field is to act as a text input field.
v5.0.33
May, 18th 2021
- Add
with_front
options to post types and taxonomy. - Update TypeRocket UI with new options.
- Add current template file to dev toolbar.
v5.0.32
May, 13th 2021
- Make default cache folder for views
views
instead of the defaultapp
folder. - Add migration exit code.
- Fix page views bug when a long string is used.
- Fix theme updater bug.
v5.0.31
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. - Update redactor to v3.4.11.
- Remove SEO scheme analysis tool because Google is dropping the tool.
- Improve table links system.
- Fix bugs.
v5.0.30
April, 28th 2021
- Minor improvements to the core WP models.
- Add
maybeBack()
to the redirect class. - Improve table links system.
- Fix bugs.
v5.0.29
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.28
April, 21th 2021
- Add model lookup from the registry in form class.
v5.0.27
April, 20th 2021
- Add
onAction
method to main controller class. - Update return value for
WPComment
andWPUser
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.26
April, 14th 2021
- Fix bugs.
- Improve
make:plugin
command.
v5.0.25
April, 14th 2021
- Improve views.
- Improve
make:plugin
command. - Improve migration and file system.
- Upgrade Galaxy CLI (if you are using a custom galaxy script be sure to update this file).
v5.0.24
- Add
make:plugin
command. - Show all registered migrations to dev tools.
- Improve migration and file system.
- Bug fixes.
v5.0.23
- Fix file spacing issues.
- Add
depreciated
errors to config.
v5.0.22
- Fix casting object type bug.
- Add localization to validators.
v5.0.21
- Add more
Migrate
class methods. - Add better console migration warnings.
v5.0.20
- Remove
CanQueryDB
trait class. - Allow migrations outside the galaxy console.
- Add better
Table
class errors. - Fix bugs.
v5.0.19
- Add
QueryCaster
utility class. - Fix bugs.
v5.0.18
- Add
setLabels()
to taxonomy class.
v5.0.17
- 🚨 [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 yourhelpers.php
file manually. - Bug fixes.
v5.0.16
- Bug fixes.
v5.0.15
- Bug fixes.
v5.0.14
- Add
first()
andlast()
methods to Results class. - Bug fixes.
v5.0.13
- Allow passing of misc data in a component’s template loop.
v5.0.12
- Add
TYPEROCKET_OVERRIDE_PATH
.
v5.0.11
- Fix minor bugs.
- Add
tr_dd
andtr_dump
.
v5.0.10
- Fixes TypeRocket free version compatibility issues.
v5.0.9
- Enhancements.
- Bug fixes.
v5.0.8
- Http class bug fixes.
v5.0.7
- Bug fixes.
v5.0.6
- Bug fixes.
v5.0.5
- Add composers.
- Bug fixes.
v5.0.4
- Add
make:rule
command. - Add
tr_route_template()
.
v5.0.3
- Fix the
Textexpand
field bug.
v5.0.2
- Fix mail bug.
v5.0.1
- Bug fixes.
v5.0.0
- Initial release.