-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.0.11 #11742
Merged
Merged
2.0.11 #11742
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using ```is_callable``` we can overload ```__call``` on Controllers, and catch generic action methods on controllers. Use case: Errors controllers where we want to define generic error actions CMS where we want to use __call to check for the content instead using a beforeException as a plugin etc...
Adds a prepareSave event to model saving.
Updates change log
Update documentation in phalcon/mvc/model/metadata/redis.zep
Retrieving ondelete and onupdate key constraints in the MySQL adapter
…ngly and threw in a unit test to boot.
Dispatcher does not set last handler
…dd unit tests to verify the default log level is applied across multiple logs.
[2.0.x] setLogLevel method to Multiple Logger
…s to verify the fix.
[2.0.x] Issue #11286 - Model property visibility and setter functionality
Fexed Gettext::prepareOptions visiblity
If currentColumn is missing use column parametr. prevent: ERROR: RuntimeException Object ( [message:protected] => Trying to call method getname on a non-object ... )
Port from: fix modifyColumn #11437
Removed _processed property from Annotations Router
Removed unnecessary gc from Mongo cache.
Use is_callable instead of method_exists on Dispatcher
Adds a date validator
Fixed Beanstalk::put doc
Http\Response is now DRYer
Fixed Mvc\Model\Transaction::isManaged()
Fixed incorrect detection of column type with enums (fixes #11505)
The fetchOne method used in the model.zep in the model's exists method returns an object if the pdo connection has a default return type set to object. The model exists method expects the return to be an associative array. If the model get an object in the altered method it will throw a notice and assume the row does not yet exit. It will later on atempt an instert when a update is actually needed. This fix insures that the model always gets an associative array in the exists method.
Fix notice in _exists method of model
ModelsManager::getHasOneAndHasMany() always returns an array.
Fix Phalcon\Mvc\View\Engine\Volt::callMacro
"temporal" -> "temporary"
[2.0.x] Fix undefined method call ::getConnectionService
params and matches are bind to each route, they should not suvive a loop, which may interfere in next loop
Reset variables(params and matches) between loops in Router::handle()
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.