The changes of each release that this documentation covers, newest first. The source is CHANGELOG-5.0.md of the repository.
5.14.2 (2026-06-12)
Tools
- Zephir Parser v2.0.4
- Zephir 0.23.0 (development - 27535f802)
Changed
- Changed
Phalcon\Cli\Console::handle()to process module definitions the same way asPhalcon\Mvc\Application::handle(). The module is now resolved through the inheritedgetModule(), so an unregistered module throwsPhalcon\Application\Exceptions\ModuleNotRegistered(asConsole::getModule()already did) instead ofPhalcon\Cli\Console\Exceptions\ConsoleModuleNotRegistered.Closuremodule definitions are now supported and are invoked with the container, matching MVC. A definition that is neither an array nor aClosurethrows the newPhalcon\Cli\Console\Exceptions\InvalidModuleDefinitioninstead ofInvalidModuleDefinitionPath. #17107 - Changed
Phalcon\Config\Adapter\Ini::parseIniString()to usePhalcon\Config\Config::DEFAULT_PATH_DELIMITERfor the key nesting separator instead of a hardcoded.(no behavior change). #17134 - Changed
Phalcon\Config\Adapter\JsonandPhalcon\Config\Adapter\Phpto throwPhalcon\Config\Exceptions\CannotLoadConfigFilewhen the configuration file cannot be read, instead of failing inside the JSON decoder (Json) or with a fatalrequireerror (Php). All file based Config adapters now share the same failure contract. #17134 - Changed
Phalcon\Config\ConfigFactoryto resolve adapter-specific constructor arguments (modeforini,callbacksforyaml) through a single internal parameter map consulted by bothload()andnewInstance(), instead of two hardcoded switches.load()now also resolves theymladapter name / file extension to theyamladapter. #17134 - Consolidated the
allowEmptyhandling ofPhalcon\Filter\Validationinto the validator (Phalcon\Filter\Validation\AbstractValidator::isAllowEmpty()). The per-fieldallowEmptymap is also honored. #17124 - Moved the resolution of an array
attributeoption fromPhalcon\Filter\Validation\AbstractValidator::getOption()intoPhalcon\Filter\Validation\Validator\Uniqueness::getOption(). #17124
Added
- Added
Phalcon\Filter\Filter::getDefaultMapper(), for mapper services used also byPhalcon\Filter\FilterFactory::getServices(). #17124 - Added
Phalcon\Filter\Validation\Validator\File\Resolution\AspectRatio, validating that an uploaded image has an exact aspect ratio. Theratiooption uses the16x9format (per-field array form supported) and is compared with integer cross-multiplication, so the dimensions must match exactly: 1920x1080 matches16x9, 1366x768 does not. Also available through the compositePhalcon\Filter\Validation\Validator\Filevia theaspectRatioandmessageAspectRatiooptions. #17104 - Added
SessionUpdateTimestampHandlerInterfacesupport to thePhalcon\Sessionadapters (Noop,Stream,Redis,Libmemcached), enabling PHP’ssession.lazy_write(on by default): when the session data is unchanged at close, PHP now callsupdateTimestamp()instead ofwrite().Streamtouches the session file without rewriting its data;RedisandLibmemcacheddelegate towrite()to refresh the TTL. Withsession.use_strict_modeenabled, the newvalidateId()rejects uninitialized session ids. #17129 - Added a
stripPrefixoption (defaulttrue) to thePhalcon\Storage/Phalcon\Cacheadapters, controlling whether a leading prefix is stripped from incoming keys (the behavior introduced for #17089).Phalcon\Session\Adapter\RedisandPhalcon\Session\Adapter\Libmemcacheddisable it by default: session ids are externally generated, so an id that happens to start with the prefix text must not collide with another session. #17127 - Added an optional
Phalcon\Config\ConfigFactoryconstructor parameter toPhalcon\Config\Adapter\Grouped. The factory is created once and reused for every configuration fragment, so custom adapters registered on a supplied factory are now visible when loading grouped configurations. #17134 - Added dialect-specific operators to PHQL:
@@,@>,<@,&&,||,->,->>,#>,#>>. Each is parsed into a binary expression and emitted only by the dialects that support it (PostgreSQL: all nine; MySQL:->,->>; SQLite:||,->,->>); using an operator on a dialect that does not support it throwsPhalcon\Db\Exceptions\UnsupportedOperator. The jsonb existence operators (?,?|,?&,@?) and the~regex family are intentionally unsupported - use their function equivalents (e.g.jsonb_exists(),regexp_like()). #14954 #14579 - Added geometry value objects under
Phalcon\Db\Geometry(Point,LineString,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection) and read-side hydration of spatial columns. Whenorm.cast_on_hydrateis enabled, spatial column values (MySQL WKB / PostGIS EWKB) are decoded into these objects on model read; otherwise the raw value is returned unchanged. #17110 #14769 #13670 - Added opt-in session locking to
Phalcon\Session\Adapter\Redis, preventing concurrent requests from racing on the same session (stale reads / lost writes). When enabled with the newlockingEnabledconstructor option,read()acquires a per-session lock (SET NX EX, retried with pauses) andclose()/destroy()release it with a token-guarded delete, so an adapter can only remove a lock it still owns. A read that cannot acquire the lock throwsPhalcon\Session\Adapter\Exceptions\AdapterRuntimeError. Tunable via thelockExpiry(lock TTL in seconds, default30),lockRetries(maximum attempts, default100) andlockWaitTime(microseconds between attempts, default50000) options. Locking is off by default. #17126 - Added table comment support to the MySQL and PostgreSQL dialects. Comment values are single-quote escaped (the existing PostgreSQL column-comment emission is now escaped as well). SQLite has no native table comment and ignores the option. #15258
- Added the
Phalcon\Contracts\Filter\Sanitizerinterface and moving array recursion inPhalcon\Filter\Filter::sanitize(). #17124
Fixed
- Fixed
Phalcon\Config\Config::cloneEmpty()so thatfilter(),map(),sort()andwhere()no longer fail on adapter instances (Ini,Json,Php,Yaml,Grouped). The override clones the current instance and replaces its data instead of invoking the adapter constructor with the parent(array $data, ...)signature. #17134 - Fixed
Phalcon\Config\Config::merge()emptying the configuration before validating its argument. Invalid merge data still throwsPhalcon\Config\Exceptions\InvalidMergeData, but the current configuration now survives intact. #17134 - Fixed
Phalcon\Config\Config::setData()bypassing thePhalcon\Support\Collectionruntime type guard: atypepassed to the constructor is now enforced on leaf values at every nesting depth (arrays become nested Config objects, which validate their own leaves). Nested Config objects also inherit thestrictNullandtypeflags in addition toinsensitive. #17134 - Fixed
Phalcon\Http\Cookie::send()fataling when the cookie has a non-empty definition and no DI container is set. The session integration (service lookup, started check, and the_PHCOOKIE_key convention) is now consolidated in privategetStartedSession()/getSessionKey()helpers shared bydelete(),restore()andsend(). #17127 - Fixed
Phalcon\Mvc\Model::groupResult()declaring aPhalcon\Mvc\Model\ResultsetInterfacereturn type while returning a scalar (int,float,string, ornull) for non-grouped aggregate queries (count(),sum(),average(),maximum(),minimum()). The return type declaration has been removed (@return int|float|string|null|ResultsetInterface), so model subclasses can overridegroupResult()without risking aTypeError. #17114 - Fixed
Phalcon\Mvc\Model::save()andPhalcon\Mvc\Model::update()to run the record-existence check on the write connection instead of the read connection. On master-replica setups, replication lag could make the check miss a row already written to the master, causingsave()to attempt anINSERTinstead of anUPDATE, orupdate()to fail withRecord cannot be updated because it does not exist.create()has used the write connection since #14256. #17105 - Fixed
Phalcon\Session\BagcallinggetDI()on itsPhalcon\Session\ManagerInterfaceconstructor parameter - a method the interface does not declare - which fataled for any manager implementing only the interface. The container is now captured only when the manager provides one. #17127 - Fixed
Phalcon\Session\Manager::start()deleting valid session cookies whensession.sid_bits_per_characteris6: the cookie sanity check now accepts the full PHP session ID alphabet ([a-zA-Z0-9,-]) instead of alphanumerics only. #17127 - Fixed the Volt parser raising
Syntax error, unexpected token DEFAULTwhen thedefaultfilter (e.g.{{ value|default('text') }}) is used inside a{% switch %}block. The worddefaultis now treated as the{% default %}clause only when it directly follows the opening{%delimiter inside a switch; everywhere else it is parsed as a plain identifier, so the filter,{{ default }}and{% set default = ... %}all work inside switch-case blocks. #16003 - Fixed the
Phalcon\Storage/Phalcon\Cacheadapters to accept keys already carrying the adapter prefix, so keys returned bygetKeys()can be passed straight back toget(),has(),delete(),deleteMultiple(),set(),setForever(),increment()anddecrement().Phalcon\Storage\Adapter\AbstractAdapternow strips a leading prefix from incoming keys. #17089 - Fixed the alternative installation script (
build/install) to set the installedphalcon.soto mode0644aftermake install. The PHP build system installs shared extensions with theinstalldefault mode0755; shared objects only need read permission. #17113
Removed
- Removed
Phalcon\Cli\Console\Exceptions\ConsoleModuleNotRegisteredandPhalcon\Cli\Console\Exceptions\InvalidModuleDefinitionPath, superseded byPhalcon\Application\Exceptions\ModuleNotRegisteredandPhalcon\Cli\Console\Exceptions\InvalidModuleDefinition. #17107
5.14.1 (2026-06-08)
Tools
- Zephir Parser v2.0.4
- Zephir 0.23.0 (development - bae82f7bd)
Changed
- Consolidated the
Phalcon\Authdual-container handling (newPhalcon\Container\Containervs legacyPhalcon\Di\Di) behind a single internalPhalcon\Auth\Internal\ContainerResolver. #17088 [doc] - Renamed the private
Phalcon\Events\Managerdispatch hot-loop helper torunQueue(). #17006 [doc] - Reworked the
Phalcon\Authaccess gates into Specification-style policies.Phalcon\Contracts\Auth\Access\Access::isAllowed()now receives the current identity and the request context:isAllowed(Guard $guard, string $actionName, array $context = []), where context carrieshandler(controller / task / Micro component name),module(MVC module, when present), andparams(dispatcher or route parameters). #17088 [doc] Phalcon\Auth\Manager::access()now resolves gates throughPhalcon\Auth\Access\AccessLocatorfrom the container instead of constructing them directly. #17088 [doc]
Added
- Added
Phalcon\Auth\Access\Acl- an ACL-backed access gate that incorporates the role-based authorization of the old Firewall component (#14630) into the Auth layer. The gate checks the authenticated user’s role against aPhalcon\Acl\Adapter\AdapterInterface: the ACL component is thehandlercontext key (prefixed withmoduleand a configurable separator when present), the ACL access is the action name, andparamsare passed through to callable ACL rules. Unauthenticated requests resolve to a configurable guest role (defaultguest); authenticated users supply their role viaPhalcon\Acl\RoleAwareInterface. #17088 [doc] - Added
Phalcon\Auth\Micro\AuthMicroListenerto enforce the active Auth access gate onPhalcon\Mvc\Microroute execution (attach to themicroevent space).#17088 [doc] - Added
Phalcon\Events\Manager::dispatch(object $event, string|array|null $name = null, ?object $source = null)for object/class-based event dispatch built on Phalcon’s ownPhalcon\Contracts\Events\Stoppable. Listeners are routed by an explicit name (a string, or a[class, method]array) or by the event’s class name and receive the event object. #17006 [doc] - Added
beforeBindandafterBindhook methods toPhalcon\Forms\Form. When defined on a form subclass,beforeBind(array $data, ?object $entity)runs at the start ofbind()(returningfalsecancels the bind) andafterBind(?object $entity)runs after the data has been assigned. Both also fire whenbind()is reached throughisValid(). #14598 [doc] - Added a
syncoption to many-to-many (hasManyToMany) relations and a chainablePhalcon\Mvc\Model::setSync()method to synchronize related records on save. When enabled, saving deletes the intermediate rows for records no longer present in the assigned array (add/update/delete), instead of only appending. #17071 [doc] - Added a
trace()method toPhalcon\Logger\Loggertogether with a newTRACElog level (value9, labeltrace). #17047 [doc] - Added a
{% verbatim %}/{% endverbatim %}tag to Volt. Its body is emitted exactly as written, without being parsed by Volt, so{{ ... }},{% ... %},{# ... #}and constructs such as<?xml ... ?>or client-side templates (Handlebars, Mustache, Angular) pass through untouched. #17085 [doc] - Added support for
JOINclauses in PHQLUPDATEstatements (e.g.UPDATE Invoices INNER JOIN Customers ON ... SET ... WHERE Customers.cst_id = :id:). The join is used to filter the records to update; the statement still targets a single model. #16984 [doc]
Fixed
- Fixed PHQL parser cache to use string-keyed lookups (
zend_hash_str_find/zend_hash_str_update) instead of integer keys derived fromzend_inline_hash_func, eliminating hash collisions that caused different PHQL queries to return identical cached ASTs #14791 - Fixed
Phalcon\Annotations\Readerfailing to parse a docblock when an annotation argument is a string literal containing a parenthesis (e.g.@SomeAnnotation(key='value(')). The docblock pre-scan that locates each@Annotation(...)span counted every(/), including those inside quoted values, so an unbalanced parenthesis in a string consumed the rest of the comment and produced a “Scanning error”. #16084 - Fixed
Phalcon\Di\Injectable::__get()to no longer cache resolved services as dynamic object properties. Services accessed via magic properties (e.g.$this->request) are now re-resolved through the container on each access, so replacing or updating a service in the container is reflected in controllers, views, and other injectable classes. Properties already declared on the class continue to be populated. #17052 - Fixed
Phalcon\Encryption\Crypt::decrypt()to verify the HMAC tag with the constant-timehash_equals()instead of the identity operator, removing an observable timing discrepancy in the tag comparison (CWE-208, CWE-347) . The tag is now also verified before the decrypted text is unpadded, and truncated tags are rejected by the unequal-length path ofhash_equals(). #17090 [doc] - Fixed
Phalcon\Mvc\Model\Query\Builder::orderBy()when the array syntax is used with complex PHQL expressions. Previously any array item containing a space was split as a simplecolumn directionpair, corrupting expressions such asCASE WHEN inv_status_flag = 1 THEN 0 ELSE 1 END ASC. The builder now only treats a trailingASC/DESCas the direction (autoescaping a simple column) and preserves complex expressions verbatim. #17077 - Fixed
Phalcon\Mvc\Model\Query(PHQL) parsing of identifiers whose name begins with theNOTkeyword. Columns, tables, and aliases such asnotice_idwere truncated toice_id(the leadingnotwas dropped), causing the database to report the column as unknown - most visibly inPhalcon\Mvc\Model\Query\Builderjoin conditions built viacreateBuilder(). The scanner’s re2c backtracking marker shared the token-start pointer, so theNOT BETWEENrule advanced it pastnot; escaped identifiers containing internal escapes (e.g.[col\[0\]]) were corrupted by the same root cause. #16831 #17087 - Fixed the compilation failure (
'name_zv' undeclared) inPhalcon\Container\Container::callableGet()andcallableNew(). Both closures captured the typedstring nameparameter directly viause (name). #17078 - Fixed the build from emitting a warning for
RedisClusternot being present at compile time. #2589 #16977
Removed
- Removed the unfinished
{% raw %}/{% endraw %}Volt tag. It never produced output (compilation threwUnknownVoltStatement) and its body was parsed rather than emitted literally. Use{% verbatim %}instead. #17085
5.14.0 (2026-06-04)
Tools
- Zephir Parser v2.0.3
- Zephir 0.22.0 (development - 9d2def774)
Changed
- Alignment with v6; docblocks; sorting; return types; minor fixes (image watermark opacity calc, serializer/helpers, readonly-becoming-mutable, ACL local access). #17055
- Changed return types to
-> <static>or-> <self>in various components. The change is a covariant narrowing on implementation methods and does not touch any interface contracts, so userland classes that implement Phalcon interfaces and return the interface type continue to work unchanged. #17035 - Internal performance work across
Autoload,Dispatcher,Annotations,Db,Mvc\Model,Mvc\Model\Query,Tag,Assets,Acl\Adapter\Memory,Http\Request,Encryption\Crypt. Behavior preserved. #17049 - Moved CI tools/scripts in
resources/removed unused ones #17066 - Moved docker in
resources/#17066 - Refactored docker images (more flexible less cruft) #17066
- Reorganization of quality tool config files (in
resources/) #17066 Phalcon\Autoload\Loadergetters (getDirectories,getExtensions,getFiles) return arrays keyed by the value string instead of by a SHA256 hash of it; iteration order and contents are unchanged. #17049 [doc]Phalcon\Mvc\Router::handle()internal optimizations: O(1) hash lookup for literal-URI routes; per-HTTP-method buckets; hot-loop reads; PCRE patterns chunked; per-route metadata cache deduplicated by route id. #17012 [doc]Phalcon\Mvc\Router\Route::getCompiledHostName()now uses cache for hostname/converters. #17012 [doc]
Added
- Added a new dependency-injection container under
Phalcon\Container, with its contracts underPhalcon\Contracts\Container. It adds:Phalcon\Container\Container/Phalcon\Container\ContainerFactory- the container and its factory, configured throughPhalcon\Contracts\Container\Service\Providerproviders (Phalcon\Container\Provider\Web,Phalcon\Container\Provider\Cli).Phalcon\Container\Definition\ServiceDefinition- fluent service definitions with autowiring, factories, extenders, tags, aliases, and configurable service lifetimes (Phalcon\Container\Definition\ServiceLifetime).Phalcon\Container\Resolver\Resolver- reflection-based constructor / method / parameter autowiring, plus thePhalcon\Container\Resolver\Lazy\*family for lazy resolution (Get,GetCall,NewInstance,Call,Env,CsEnv,ArrayValues, etc.).Phalcon\Container\Exceptions\*- granular, per-cause exceptions (ServiceNotFound,CircularAliasFound,FrozenDefinition,CannotResolveParameter,NoProcessorFound, etc.). #16897 [doc]
- Added a new authentication and authorization layer under
Phalcon\Auth, with its contracts underPhalcon\Contracts\Auth. Built on top ofPhalcon\Container, it adds:Phalcon\Auth\Manager/Phalcon\Auth\ManagerFactory- the central manager that wires guards and access gates together, and its factory.Phalcon\Auth\AuthUser- a lightweight user value object returned by array-backed adapters when no application model class is configured.- Guards under
Phalcon\Auth\Guard-SessionandToken(withAbstractGuardandUserRemember), resolved viaPhalcon\Auth\Guard\GuardLocatorand configured throughPhalcon\Auth\Guard\Config\*(AbstractGuardConfig,SessionGuardConfig,TokenGuardConfig). - Adapters under
Phalcon\Auth\Adapter-Memory,Model, andStreamuser providers (withAbstractAdapterandAbstractArrayAdapter), resolved viaPhalcon\Auth\Adapter\AdapterLocatorand configured throughPhalcon\Auth\Adapter\Config\*(AbstractAdapterConfig,MemoryAdapterConfig,ModelAdapterConfig,StreamAdapterConfig). - Access gates under
Phalcon\Auth\Access-AuthandGuest(withAbstractAccess), resolved viaPhalcon\Auth\Access\AccessLocator. - Dispatcher listeners
Phalcon\Auth\Mvc\AuthDispatcherListenerandPhalcon\Auth\Cli\AuthDispatcherListener(withPhalcon\Auth\AbstractAuthDispatcherListener) to guard MVC and CLI dispatch. Phalcon\Auth\Exceptionplus granularPhalcon\Auth\Exceptions\*(AccessDenied,ConfigRequiresNonEmptyValue,DataMustContainIdKey,DoesNotImplement,FileCannotRead,FileDoesNotContainJson,FileDoesNotExist,FileNotValidJson).- Contracts under
Phalcon\Contracts\Auth-Manager,AuthUser,AuthRemember,RememberToken,Access\Access,Adapter\Adapter,Adapter\AdapterConfig,Adapter\RememberAdapter,Guard\Guard,Guard\GuardConfig,Guard\GuardStateful,Guard\BasicAuth. Phalcon\Support\AbstractLocator- the shared service-locator base extended by the guard, adapter, and access locators. #16273 [doc]
- Added granular exception classes across the framework. Every namespace that previously surfaced failures through a single umbrella
Phalcon\<Namespace>\Exception(or its sub-namespace counterpart) now ships per-cause classes under a siblingExceptions/folder. Each new class extends the existing per-namespace parent socatch (Phalcon\<Namespace>\Exception $e)continues to work unchanged. New classes:Phalcon\Acl\ExceptionsAccessRuleNotFoundCircularInheritanceErrorElementNotFoundForbiddenWildcardInvalidAccessListInvalidComponentImplementationInvalidRoleImplementationInvalidRoleTypeMissingFunctionParametersParameterTypeMismatchRoleNotFoundException
Phalcon\Annotations\ExceptionsAnnotationNotFoundAnnotationsDirectoryNotWritableCannotReadAnnotationDataUnknownAnnotationExpression
Phalcon\Application\ExceptionsModuleNotRegistered
Phalcon\Assets\ExceptionsAssetSourceTargetCollisionCannotReadAssetCollectionNotFoundInvalidAssetSourcePathInvalidAssetTargetPathInvalidFilterInvalidTargetPathTargetPathIsDirectory
Phalcon\Autoload\ExceptionsLoaderDirectoriesNotArrayLoaderMethodNotCallable
Phalcon\Cache\ExceptionCacheKeysNotIterableInvalidCacheKey
Phalcon\Cli\Console\ExceptionsConsoleModuleNotRegisteredContainerRequiredInvalidModuleDefinitionPathModuleDefinitionPathNotFound
Phalcon\Cli\Router\ExceptionsBeforeMatchNotCallableInvalidRoutePathsRouterArgumentsInvalidType
Phalcon\Config\ExceptionsCannotLoadConfigFileConfigNotArrayOrObjectGroupedAdapterRequiresArrayInvalidMergeDataMissingConfigOptionMissingFileExtensionMissingYamlExtension
Phalcon\DataMapper\Pdo\ExceptionDriverNotSupportedUnknownDriverMethodUnknownQueryMethod
Phalcon\Db\ExceptionsCannotInsertWithoutDataCannotPrepareStatementCheckExpressionRequiredColumnTypeRejectsAutoIncrementColumnTypeRejectsScaleColumnTypeRequiredConflictTargetColumnRequiredConflictUpdateColumnRequiredForeignKeyColumnsRequiredGeneratedAutoIncrementConflictGeneratedDefaultConflictIncompleteBindTypesInvalidBindParameterInvalidCheckExpressionInvalidGenerationExpressionInvalidGroupByExpressionInvalidIndexColumnsInvalidIndexDirectionsInvalidIndexWhereInvalidListExpressionInvalidOrderByExpressionInvalidSqlExpressionInvalidSqlExpressionTypeInvalidUnaryExpressionInvalidWhereConditionsMatchedParameterNotFoundMaterializedViewsNotSupportedMissingDefinitionKeyMissingForeignKeyChecksMissingSqliteDatabaseMysqlOnConflictNotSupportedNestedTransactionChangeBlockedNoActiveTransactionReferencedColumnCountMismatchReferencedColumnsRequiredReferencedTableRequiredReturningNotSupportedReturningRequiresColumnSavepointsNotSupportedSqliteAlterCheckNotSupportedSqliteAlterColumnNotSupportedSqliteAlterForeignKeyNotSupportedSqliteAlterPrimaryKeyNotSupportedSqliteDropCheckNotSupportedSqliteDropForeignKeyNotSupportedSqliteDropPrimaryKeyNotSupportedTableMustHaveColumnUnrecognizedDataTypeUpdateFieldCountMismatch
Phalcon\Di\ExceptionsAliasAlreadyInUseAliasNameMustBeStringArgumentTypeRequiredCallArgumentsMustBeArrayCircularAliasReferenceContainerRequiredDefinitionMustBeArrayForReadDefinitionMustBeArrayForUpdateMethodCallMustBeArrayMethodNameRequiredMissingClassNameParameterMissingParameterKeyPropertyInjectionRequiresInstancePropertyMustBeArrayPropertyNameRequiredPropertyValueRequiredServiceCannotBeResolvedSetterInjectionRequiresInstanceSetterParametersMustBeArrayUnknownServiceType
Phalcon\Dispatcher\ExceptionsForwardInInitializeForbidden
Phalcon\Encryption\Crypt\ExceptionDecryptionFailedEmptyDecryptionKeyEmptyEncryptionKeyEncryptionFailedInvalidPaddingSizeIvLengthCalculationFailedMissingAuthDataMissingOpensslExtensionRandomBytesGenerationFailedUnsupportedAlgorithm
Phalcon\Encryption\Security\ExceptionsInvalidRandomInputUnknownHashAlgorithm
Phalcon\Encryption\Security\JWT\ExceptionsEmptyPassphraseInvalidAudienceInvalidAudienceTypeInvalidClaimsInvalidExpirationTimeInvalidHeaderInvalidNotBeforeMalformedJwtStringMissingJwtTypHeaderUnsupportedHmacAlgorithmWeakPassphrase
Phalcon\Events\ExceptionsEventNotCancelableInvalidEventHandlerInvalidEventSourceInvalidEventTypeInvalidSubscriberConfigurationNoListenersForEvent
Phalcon\Filter\ExceptionsFilterNotRegistered
Phalcon\Filter\Validation\ExceptionsFieldNotPrintableFilterServiceUnavailableInvalidAllowedTypesInvalidCallbackReturnInvalidDomainOptionInvalidFieldTypeInvalidFilterServiceInvalidStrictOptionInvalidValidationDataInvalidValidatorInvalidValidatorScopeMissingMbstringNoDataToValidateNoValidatorsNoValidatorsInCompositeUniquenessConversionMustBeArrayUniquenessModelRequiredUniquenessOnlyForPhalconModelValidationEntityNotObject
Phalcon\Flash\ExceptionsEscaperServiceUnavailableFlashMessageNotStringOrArraySessionServiceUnavailable
Phalcon\Forms\ExceptionsElementNotInFormFormElementNameRequiredFormNotInLocatorFormNotRegisteredInvalidEntityInvalidFilterTypeInvalidJsonSchemaJsonSchemaNotArrayNoFormElementsSchemaEntryMissingKeySchemaEntryNotArrayUnknownFormElementTypeYamlExtensionRequiredYamlSchemaNotArray
Phalcon\Html\ExceptionsAttributeNotRenderableFriendlyTitleConversionFailedInvalidResultsetValueServiceNotRegisteredUsingRequiresTwoValues
Phalcon\Http\Cookie\ExceptionsCookieKeyTooShortCryptInterfaceRequiredCryptServiceUnavailableFilterServiceUnavailable
Phalcon\Http\Request\ExceptionsFilterServiceUnavailableInvalidHostInvalidHttpMethodMissingFiltersSanitizerNotFound
Phalcon\Http\Response\ExceptionsNonStandardStatusCodeRequiresMessageResponseAlreadySentResponseServiceUnavailableUrlServiceUnavailable
Phalcon\Image\ExceptionsCompositeFailedExtensionNotLoadedImageLoadFailedMissingDimensionsMissingHeightMissingWidthResizeFailedResourceTypeErrorTextRenderingFailedUnsupportedImageTypeVersionMismatch
Phalcon\Logger\Adapter\ExceptionsFileOpenFailedInvalidStreamModeSyslogOpenFailed
Phalcon\Logger\ExceptionsAdapterNotFoundDeserializationFailedNoAdaptersConfiguredSerializationFailedTransactionAlreadyActiveTransactionNotActive
Phalcon\Messages\ExceptionsMessageNotObjectMessagesNotIterable
Phalcon\Mvc\Application\ExceptionsContainerRequiredInvalidModuleDefinitionModuleDefinitionPathNotFound
Phalcon\Mvc\Dispatcher\ExceptionsResponseServiceUnavailable
Phalcon\Mvc\Micro\ExceptionsContainerRequiredErrorHandlerNotCallableHandlerNotCallableInvalidRegisteredHandlerLazyHandlerNotFoundMissingCollectionMainHandlerNoHandlersToMountNoMatchedRouteHandlerNotFoundHandlerNotCallableResponseHandlerNotCallable
Phalcon\Mvc\Model\Behavior\ExceptionsMissingRequiredOption
Phalcon\Mvc\Model\ExceptionsBelongsToRequiresObjectBindTypeNotDefinedCannotResolveAttributeColumnNotInMapColumnNotInTableColumnsColumnNotInTableMapCorruptColumnTypeCursorIsImmutableDataTypeNotDefinedHandlerMustImplementBindableIdentityNotInColumnMapIdentityNotInTableColumnsIndexNotInCursorIndexNotInRowInvalidConnectionServiceInvalidContainerInvalidDumpResultKeyInvalidFindParametersInvalidGetModelNameReturnInvalidModelNameInvalidModelsManagerServiceInvalidModelsMetadataServiceInvalidResultsetCacheServiceInvalidReturnedRecordInvalidSerializationDataManagerOrmServicesUnavailableMethodNotFoundMissingMethodNameMissingModelClassNameModelCouldNotLoadModelOrmServicesUnavailablePrimaryKeyAttributeNotSetPrimaryKeyRequiredPropertyNotAccessibleRecordCannotRefreshRecordNotPersistedReferencedFieldsMismatchRelationAliasMustBeStringRelationNotDefinedRelationRequiresObjectOrArrayResultsetColumnNotInMapRowIsImmutableSnapshotsDisabledStaticMethodRequiresOneArgumentUnknownRelationTypeUpdateSnapshotDisabled
Phalcon\Mvc\Model\MetaData\ExceptionsCannotObtainTableColumnsColumnMapNotArrayContainerRequiredCorruptedMetaDataInvalidContainerInvalidMetaDataForModelMetaDataDirectoryNotWritableMetaDataStrategyFailedNoAnnotationsForClassNoPropertyAnnotationsForClassTableNotInDatabase
Phalcon\Mvc\Model\Query\ExceptionsAmbiguousColumnAmbiguousJoinRelationBindParameterNotInPlaceholdersBindTypeRequiresArrayBindValueRequiredColumnNotInDomainColumnNotInSelectedModelsCorruptedAstCorruptedDeleteAstCorruptedInsertAstCorruptedSelectAstCorruptedUpdateAstDeleteMultipleNotSupportedDuplicateAliasEmptyArrayPlaceholderValueInsertColumnCountMismatchInvalidCachedResultsetInvalidCachingOptionsInvalidColumnDefinitionInvalidInjectedManagerInvalidInjectedMetadataInvalidQueryCacheServiceInvalidResultsetClassJoinAliasAlreadyUsedJoinFieldCountMismatchMissingCacheKeyMissingMetaDataMissingModelAttributeMissingModelsManagerMixedDatabaseSystemsModelSourceNotFoundModelsListNotLoadedMultipleSqlStatementsNotSupportedNoModelForAliasPhqlColumnNotInMapReadConnectionMissingRelationshipNotFoundResultsetClassNotFoundResultsetNonCacheableUnknownBindTypeUnknownColumnTypeUnknownJoinTypeUnknownModelOrAliasUnknownPhqlExpressionUnknownPhqlExpressionTypeUnknownPhqlStatementUpdateMultipleNotSupportedWriteConnectionMissing
Phalcon\Mvc\Model\Query\Exceptions\BuilderBuilderColumnNotInMapBuilderConditionInvalidModelRequiredNoPrimaryKeyOperatorNotAvailable
Phalcon\Mvc\Router\ExceptionsAnnotationsServiceUnavailableBeforeMatchNotCallableConfigKeyMustBeArrayEmptyGroupOfRoutesGroupRoutesMustBeArrayInvalidCallbackParameterInvalidConfigSourceInvalidNotFoundPathsInvalidRoutePathsInvalidRoutePositionInvalidRouterFactoryConfigMissingGroupRouteKeyMissingRouteConfigKeyRequestServiceUnavailableUnknownHttpMethodWrongPathsKey
Phalcon\Mvc\Url\ExceptionsMissingRouteNameRouteNotFoundRouterServiceUnavailable
Phalcon\Mvc\View\Engine\Volt\ExceptionsCannotOpenCompiledFileCorruptedStatementCorruptedStatementWithDataInvalidCompilationPrefixInvalidExtensionInvalidHaystackInvalidIntermediateRepresentationInvalidOptionTypeInvalidPathClosureReturnInvalidPathTypeInvalidStatementInvalidUserFilterDefinitionInvalidUserFunctionDefinitionMacroAlreadyDefinedMacroNotFoundMbstringRequiredTemplateFileNotFoundTemplateFileNotOpenableTemplatePathCollisionUnknownVoltExpressionUnknownVoltFilterUnknownVoltFilterTypeUnknownVoltStatementVoltDirectoryNotWritable
Phalcon\Mvc\View\ExceptionsInvalidEngineRegistrationInvalidViewsDirTypeSimpleViewNotFoundSimpleViewServicesUnavailableViewNotFoundViewServicesUnavailableViewsDirItemMustBeString
Phalcon\Paginator\ExceptionsBuilderModelNotDefinedInvalidBuilderInstanceInvalidCursorColumnInvalidLimitMissingColumnsForHavingMissingRequiredParameterPaginatorDataNotArray
Phalcon\Session\Adapter\ExceptionsAdapterRuntimeErrorInvalidSavePathSavePathUnavailable
Phalcon\Session\ExceptionsInvalidSessionAdapterInvalidSessionNameSessionAlreadyStartedSessionModificationDenied
Phalcon\Storage\ExceptionsAuthenticationFailedClusterConnectionFailedConnectionFailedDatabaseSelectionFailedInvalidConfigurationStorageError
Phalcon\Storage\Serializer\ExceptionsInvalidSerializationInputInvalidUnserializationInput
Phalcon\Support\Collection\ExceptionsInvalidValueTypeReadOnlyViolation
Phalcon\Support\Debug\ExceptionsRequestHaltedRuntimeWarning
Phalcon\Support\Helper\Json\ExceptionsJsonDecodeErrorJsonEncodeError
Phalcon\Support\Helper\Str\ExceptionsInsufficientArgumentsInvalidReplaceFormatSyntaxError
Phalcon\Time\Clock\ExceptionsInvalidModifier
Phalcon\Translate\ExceptionsFileOpenErrorImmutableObjectInterpolatorNotRegisteredInvalidDataTypeKeyNotFoundMissingContentMissingGettextExtensionMissingRequiredParameterTranslatorNotRegistered#17019
- Added
Phalcon\Events\Manager::fire()beforeFire()/afterFire()extension seams toManager::fire(). #17065 [doc] - Added opt-in memory caps for long-running workers (Swoole / RoadRunner / queue consumers). Default
0preserves the original unbounded behavior: #17049Phalcon\Db\Profiler::setMaxProfiles(int)/getMaxProfiles()[doc]Phalcon\Logger\Adapter\AbstractAdapter::setQueueLimit(int)/getQueueLimit()[doc]Phalcon\Events\Manager::setMethodExistsCacheLimit(int)/getMethodExistsCacheLimit()[doc]Phalcon\Annotations\Adapter\AbstractAdapter::setAnnotationsLimit(int)/getAnnotationsLimit()[doc]Phalcon\Storage\Adapter\Memory::setMaxItems(int)/getMaxItems()[doc]
- Added
Phalcon\Mvc\Router\Route::setRouteId(string $routeId)- setter intended for restoring cached routes #17012 [doc] - Added
Phalcon\Mvc\Router::buildDispatcherDump()/Phalcon\Mvc\Router::loadDispatcherFromArray(array $dump)- used to build/load the routes #17012 [doc] - Added
Phalcon\Mvc\Router::dumpDispatcher(string $path)/Phalcon\Mvc\Router::loadDispatcher(string $path)- file-shaped helpers that write/read routes #17012 [doc] - Added
Phalcon\Mvc\Router::useCache()- to use aPhalcon\Cacheadapter to store routes #17012 [doc]
Fixed
- Fixed
$this->eventsManagerresolving tonullinsidePhalcon\Mvc\Controllermethods #17060 [doc] - Fixed
Phalcon\Events\EventandPhalcon\Events\Manager::fire()being declaredfinalin 5.13.0 (#17006), which prevented subclassing the events manager. #17065 [doc] - Fixed
Phalcon\Forms\Form::clear()leaving a previously-boundnullfield value in the data array instead of unsetting it before reassigning the element default #17042 [doc] - Fixed
Phalcon\Mvc\Model::getChangedFields()/hasChanged()flagging every null-valued column of a freshly-loaded row as changed #17042 [doc] - Fixed
Phalcon\Mvc\Model::getUpdatedFields()flagging unchanged null-valued columns as updated #17042 [doc] - Fixed
Phalcon\Mvc\Model\Row::offsetGet()/offsetExists()throwingThe index does not exist in the rowwhen accessing a column whose value isnull#17041 [doc] - Fixed
Phalcon\Mvc\Router::handle()falling back to a default catch-all route instead of matching an HTTP-method-constrained route attached afterward. #17062 [doc] - Fixed
Phalcon\Mvc\View::getContent()throwingTypeErrorafterView::start().start()was assigning$this->content = null#17041 [doc] - Fixed
Phalcon\Mvc\View\Engine\Volt\Compileremitting invalid PHP when a double-quoted Volt string contained literal single quotes (e.g."send_ga('Link', ...)"). Only un-escaped single quotes are now escaped, so the'Let\'s Encrypt'case from #17002 is preserved #17046 [doc] - Fixed warning in
Phalcon\Auth\ManagerFactoryemitted in tests (random commit but had to be fixed) #17066
Removed
- Removed unused
Phalcon\Contracts\Container\Service\Lifetime#17066 - Reverted the
Phalcon\Mvc\Model\Query::executeUpdate()named-placeholder substitution introduced for #16976. The substitution path was triggering a use-after-free in the model update flow under PostgreSQL (#17042). Issue #16976 is reopened and will be addressed with a different approach. [doc]