All notable changes to the package will be documented in this file.
- Fix
certificate_pem
validation rule to also work with 76 character lines of base64
- Dispatch event upon registry cache if content has changed
- Ignore and deprecate
$debugLog
argument inBaseCategory::getGuzzleHandlerStack()
- Fix RuleParser issue with Rule expected to be a string, while a class or callback might be provided, when a Laravel application is loaded
- Update minimum PHP version to 8.1 and minimum Laravel version to 10.0
- Update dependencies accordingly
- Improve various return types + constructor safety accordingly
- Remove Provider Storage filesystem adapter + related code
- Remove deprecated HtmlField + related code
- Deprecate AttributeQuery classes
- Fix
certificate_pem
validation rule to also work with 76 character lines of base64
- Fix RuleParser issue with Rule expected to be a string, while a class or callback might be provided, when a Laravel application is loaded
- Add SystemInfo dataset to contain system/environment/runtime metadata e.g.,
outgoing_ips
and inject into all Provider instances in ProviderFactory (closes #8)
- Update OptionData rules allow empty label
- Add new Helper methods
- Helper::buildUrl()
- Helper::urlAppendQuery()
- Update OptionData rules allow empty label
- Add missing deprecation flag to Rules::toHtmlFields()
- Remove unnecessary FormFactory::createField() strtolower() to fix issues with
case sensitive
in:
rule arguments
- Update RuleParser
- Fix parseRule() returned arguments when rule arguments are missing
- Add new methods including getRuleArguments(), containsAnyRule() and getFieldPrefix()
- Update filterNestedItems() to support optionally also returning the rules of the parent
- Add Html Form classes which improve the semantic HTML field representation of
more complicated validation rule sets such as those containing variable length
arrays or nested/multi-assoc fields
- FormFactory
- Form
- FormElement
- FormGroup
- FormField
- Deprecate HtmlField
Update BaseCategory Guzzle stack
- Record a history of requests/responses in $this->guzzleHistory
- Add getLastGuzzleRequestDebug() which returns an array of debug information about the most recent request + response
- Add Helper::generateStrictPassword() for generating passwords adhering to strict rules
- Widen guzzlehttp/guzzle version constraint to allow v7
- Fix DataSet\Rules::toHtmlFields() to not return fields for NESTED_DATA_SET_RULE keys
- Update ProviderInterface to extend LogsDebugData so that a logger instance is always injected to every Provider
- Add console commands for inspecting and caching the provision registry
- Add HtmlField class for representing a set of validation rules by an input form field
- Add method to conveniently convert a DataSet\Rules instance to an array of HtmlField instances
- Add optional
icon
andlogo_url
values to Provider + Category AboutData - Update ProvisionResult to add support for destructor exception debug data
- Add getter and setter methods for Logger and Filesystem in ProviderFactory
- Various minor bugfixes and convenience methods added to internal classes
- Move custom validation rule classes to their own sub-directory/namespace
- Explicitly unset Provider instance when executing a ProviderJob to immediately trigger destructors
- Changes to various internal class method parameter types
- Fix spelling error in Upmind\ProvisionBase\Provider\Helper\Api\Response::getDefaultMessage()
- Update ProviderJob always return result with
execution_time
debug
- Implement international_phone validation rule workaround for new Nigeria 091 phone number format
- Add new
certificate_pem
validation rule
- Prevent type errors resulting from passing non-string values to preg_match in ValidationServiceProvider
- FIX (Issue #2): Implement international_phone validation rule workaround for new Zimbabwe, Ivory Coast & Morocco phone number formats
- FIX (Issue #1): Make Registry serialization compatible with PHP 7.4
- Explicitly require
psr/log:^1.1
- FIX: Bind provision Registry as a singleton in ProvisionServiceProvider
Initial public release