Repository navigation
Cake5 - #12
Open
gaurav-raj-zoomrx wants to merge 7 commits into
Open
Cake5#12gaurav-raj-zoomrx wants to merge 7 commits into
gaurav-raj-zoomrx wants to merge 7 commits into
Conversation
…oalTS migrated tables." This reverts commit 36df973.
…back
Underscore-prefixed serialization view variables are removed in CakePHP 5.
This makes every special parameter (serialize, url, entities, include,
fieldsets, links, meta, jsonOptions) readable from BOTH forms:
viewBuilder()->setOption('serialize', ...) - preferred, Cake-5-compatible -
and the legacy $this->set('_serialize', ...), which keeps working unchanged.
Fully backward compatible on CakePHP 4.x: options arrive via the View
constructor's viewOptions and land in view config (View::__construct
setConfig), so getConfig() reads them; when no option is set behaviour is
byte-identical to before. This unblocks consumers migrating their set('_*')
call sites ahead of the CakePHP 5 switch.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- View::$viewVars is removed in Cake 5: all special-parameter reads go through the option/get() dual read; _dataToSerialize enumerates getVars() instead of diffing the viewVars array. - Cake\Core\Exception\Exception alias is removed: MissingViewVarException extends CakeException with the typed $_messageTemplate. - Constructor takes Cake 5's nullable-typed parameters; render() matches the Cake 5 parent signature. - Requires cakephp ^5.0, php >=8.2. neomerx/json-api 0.6.5 is unchanged - response documents stay byte-identical. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Owner
|
Hi there, as you might have noticed, this plugin has been archived for a while now. I'm not sure i want to archive this and maintain it further as it was not really something fully implemented anyway. |
This file contains hidden or 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
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.