CakePHP Changelogs

Version 3.0.0

  • 09eb238 Update version number to 3.0.0
  • 6f6f17f Adding new required versions to split packages
  • 6e0b799 Fix minor CS issue.
  • e68eba1 Fix missing _joinData for sparse belongsToMany data.
  • 58debc9 Avoiding circular object refereces in SmptTransport
  • e9f8bd9 Make autoload an option and only include truthy options.
  • dd2e3a3 Remove optional parameter.
  • 6cdd95a Don't allow allow one() to do queries.
  • 55e8d69 Implement assertRedirectContains()
  • bf45a46 Add and use Table::aliasField() where it makes sense.
  • 137b04f Fixing issue when parsing dates and not using UTC as timezone.
  • 5722c37 Simplifies a test
  • 898a3ab Gives the ability to fieldset to have html attributes
  • 705f5ae I hate PSR-2 :D
  • 5b658bd Another PSR-2 d'oh
  • 848532b Fixing doc block
  • 6b03427 Implementing Collection::through()
  • fdea42f Fix issue with memcache and domains starting with letter "u"
  • 519b616 PSR-2 opening brace
  • 2bba254 Allow newEntity() to update existing entities.
  • b0f37f6 Add tests from 6df7bf9c2161d600c0d4da6712cd68932171e9c8 to 3.0
  • f878f3a Using better assertions in test case
  • 14fa5da Correcting marshaling using table alias when searching for associated data by id
  • 2cf9727 Don't replace array data for custom types.
  • 85d76ef "--dev" is now default option for "composer install"
  • 4a0955d Convert indentation to spaces for composer.json files
  • 3f648b2 Add Router::reload() to config/bootstrap.php
  • c076456 Fixing some more PHPCS issues in last commit
  • 266f6d2 Avoiding table field name collisions while searching for associated data by primary key
  • a20b319 Optimizing code for better performance.
  • d5e7584 Avoid side effects in Router.php
  • 3b600d7 Avoid side effects in Inflector.php
  • 6e5f1fc Fix CS error
  • 00e056c Change 'Route::persistParams()` to protected.
  • 554b94e Improved tests for testOneBelongsToManyJoinDataAssociatedWithIds: testing also the _joinData and User data
  • 96ac320 Fixed PHPCS issues
  • 7468434 Cast arrays into scalar values safely.
  • 9cf0530 Fixed a bug which was not possible to pass id and _joinData when marshalling a belongsToMany relation
  • 7b5cfed Fix PHPCS error.
  • d88c70f Add test fixture file.
  • 7f62d57 Restore 'persist' option for routes.
  • d363a75 Quick solution for casting result primary keys to the correct type
  • d267b5a Yet another typo fixed
  • 11a2d19 fixing typo
  • 6585b64 Update MarshallerTest.php
  • be7abf7 Fix PHPCS doc errors.
  • b1041c6 Fix cells not being able to render plugin views.
  • 9382a06 Only marking an association property as dirty if it changed
  • b9bd613 psr-foo
  • 7698656 Allowing cloned entities to be saved after marked as new
  • 688e408 Allow joint table records to be not deleted.
  • a3d81a4 Don't hide warnings in phpcs build on travis
  • 944caaa Fix CS errors in tests
  • 82b3caf Fix CS error in I18n, Network, Routing, Utility, View packages.
  • 0339ad1 Fix CS error in Collection, Database, Error, Shell, TestSuite, Validation packages
  • 17dddcc Fix CS errors in Console, Controller, Core, Database, Event, ORM packages.
  • c08e3d2 Fixing code style
  • 7019aa6 Made Router::prefix() accept options
  • 757ed51 Fixed return statements in LoadTask and UnloadTask
  • f942e6e Add additional assertions for saving joinData.
  • dde22d7 Added multiple tests for regular expressions for the Unload Task
  • 2fc0d14 fixing cs error
  • 23fd927 Fixed issue where query would be executed twice if used inside a collection
  • 56634c7 Read content type in a more compatible way.
  • f50650b Fix time related test
  • 7fcb551 Fixed code conventions for tests to load shell and unload shell
  • 27f07f5 convention fix UnloadTask
  • d09733b Prevent custom finder options from being overwritten by default options
  • 0b9a140 Fix case sensitivity errors on associations
  • 41fa40d When using system tmp dir, add subfolder to avoid permission issues
  • 6534182 Fixed Unload Task for Plugin Shell. Plugins with breaked lines can now be unloaded.
  • 9b7cf6d Fixed issues by comments
  • c644474 Add tests for #6046
  • 7f7472c added cakephp coding standards and added Regex for unloading
  • 0bcd72c Allow Cell name containing "Cell"
  • fe728d7 Fix trailing space.
  • c2a6f42 Convert PluginAssetsShell to AssetsTask.
  • f1dffee Removed author tag from plugin shell and the tasks load, unload
  • fec52c9 Added plugin shell: load and unload
  • c98bf91 Add plugin shell.
  • 0064e25 Add missing docblock
  • 9e93209 Fix example code
  • 92ead72 Tests upgraded to accept the parameter ReturnPath
  • dba663d Fix PHPCS build.
  • 0c2e1a4 Order the columns reflected from SQLServer
  • b7f2505 Fixing CS error
  • a176a69 Making postgres tests pass
  • 8545b87 Testing the important things and not specific behavior of the database servers
  • 22e377f Making test more resillient to different database servers
  • 6617d6f Move composite key tests into CompositeKeys test suite.
  • 3365feb Attempt to fix the SQLServer build.
  • 1325d41 Implementing DISTINCT ON for SQLServer
  • c7e51ca Updating reference of strategies to self
  • 7d3771f Removing unneeded classes
  • 24df08d Cleaning up tests
  • d3905cb Removing method for validStategy, cleaning up QueryTest
  • c95ba79 Updating providers for association strategy tests
  • cedecc7 Adding explicit test for BTM strategy failure
  • 6dca290 Adding 'select' as a strategy for HasOne / BelongsTo
  • 240a9cb Don't drop table if it already exists.
  • 4728826 HHVM nightly is core-dumping again skip it for now.
  • 5e93b99 Fixing cs errors
  • b8bc62f Fixing association type for testBelongsToEager
  • da95589 Fixing BelongsTo strategies / test
  • c71df6a Adding ability for subclasses of Association to lock down possible strategies
  • a5885a9 Add test.
  • 08173c7 Restore IDs in SiteAuthors fixture.
  • 75d6db8 Remove specific IDs from fixture.
  • 4912fc2 Fix autoIncrement reflection in SQLServer
  • 8c69ebf Fix PHPCS.
  • 8b18ed2 Add test helper for skipping sqlserver & sqlite tests.
  • ae1560a Fix composite primary key reflection in postgres.
  • c1a6afa Fix mixed indentation.
  • cd4f232 Don't flag composite keys as autoIncrement in SQLite.
  • 4d1150e Fix composite primary key support when inserting data.
  • ee4d309 Reset EagerLoader when cloning a query.
  • 6a63e1a Update TreeBehavior.php
  • fec1aac Add direct reference to request instance in component.
  • 399ca8c Added parameter returnPath in header.
  • 023d368 Update docblock
  • 192e3f5 Fix PHPCS errors.
  • 277cf7d Fix casing in docblock tags.
  • 0c892e9 Fix incorrect level field name usage.
  • 4007e29 Use EventManager::on() instead of deprecated EventManaged::attach()
  • 58ffc08 Un-skipping test that passes in SQLServer
  • 5f51f3a Fix CS warnings in function docblocks
  • 5579c2a Fix grammar
  • 8d47787 Trigger afterDeleteCommit for non-atomic deletes too for primary table.
  • 3ee2e90 Trigger afterSaveCommit for non-atomic saves too for primary table.
  • d2320d9 Add info about new events to docblock
  • 1d38a31 Removing bad test, it was always skipped before and was left broken
  • f53cdbf Skip Memcached and Redis tests when servers are not running.
  • 4dbf9ee Allow default listeners to not also log scoped ones.
  • 461d514 Fix error page when datasource config is missing.
  • 855503a Make union not supporting order by a flag.
  • bd72597 Fix incorrectly named test.
  • e4d6aab Fix PHPCS error.
  • a764fcf Accurately derive the reference name
  • b151008 Rename model to referenceName
  • 84bb942 Rewinding only once the iterator for Collection::nest()
  • 5f76960 YYYY is week-year, we want day-year
  • 37fe4d4 Added test to prove #5982
  • 62cfe3c Consolidate model/alias shuffling
  • bc82948 Another missed 'model' use
  • 5b34706 Use the model key if set
  • 34dca57 Add allowEmptyTranslations
  • 4cf6965 Adapt to fit expected implementation
  • 0375a64 Revert "Merge pull request #5822 from patrickconroy/3.0-translate-fieldconditions"
  • 203ac14 Not returning false in function that is meant to return void
  • bafd922 Add afterDeleteCommit event.
  • 4bceba7 Allow PHP 7.0 to fail
  • 711c47b Close the cursor after checking the count.
  • 4d0bbe4 Exclude features from count queries with eagerloader features.
  • 4da4e5b Add PHP7 to travis build
  • cb230e6 Fix typo
  • 451dc35 Use Connection::isTransaction() instead of _primary flag.
  • e2eeb3f Add Connection::inTransaction() to check if a transaction is running.
  • 3b0c4b9 Add tests for afterSaveCommit
  • 90845c4 Add '_primary' flag to save options.
  • 5025c80 Add Model.afterSaveCommit event.
  • f94b743 Fix missing () in unioned queries.
  • 0297538 Fix words with WWW in them being autolinked.
  • 782322b Use NumberFormatter at the top of file
  • 8490c9d Improve support for unioned queries on MySQL.
  • 4d93f7f Decimal validate based on Intl not setlocale
  • b8e44d5 Why not both
  • 340ad7b Test with a variable name that would break when pluralized
  • 3fcbe7f Remove fields from count() queries when associations are contained.
  • 94667c2 Remove unnecessary configure::write
  • 7f23941 Correct code styling error
  • 5f2cdc5 Add new test plugin to isolate autoload test from autoload with bootstrap test
  • e93158b Load bootstrap after adding plugin to autoloader
  • 3974c38 Test to prove that autoload is in incorrect order
  • 5c8095a Exclude `._ids` postfixed fieldnames from pluralization
  • 14dfc65 Fix duplicate column errors in IsUnique rules.
  • 1952f85 Allow retrieving entity from EntityContext.
  • 188862b Don't do unnecessary checks
  • 2da0157 Add support for recognizing errors on belongsToMany selects
  • 8cf081f Add magic options support for belongsToMany selects
  • 30994b2 Set a default value for "rows" attribute of textarea
  • ab71c5f Rename parameters.
  • ee53006 Fix scope option not working in validateUnique.
  • 10a7dca Add test showing flash element is used from theme.
  • 5624d3e Allow any inflector method to be used when creating resource routes.
  • fbf1031 Implement a map option for resources().
  • 426937b Add assertion for number of results.
  • 3b2680c Guard against missing new entities.
  • f64b556 Rename option "idField" to "keyField".
  • 29af963 @return void for docblock
  • 2e482bd Session::write lied about its return (value)
  • a01fe7d Correctly marshall _joinData when it is not accessible
  • d26d198 Cast values before iterating.
  • 528055a Fix boolean type marshalling.
  • 8364de8 Source is not alias
  • 4911a53 Add the registry alias to debug table debug info
  • 4e9dfb3 Adding test to compare Entity sources
  • fad068d Wrap long lines and fix incorrect assertions.
  • 5540126 Add/modify a test for self-joined tables
  • 0688433 Always use the association alias as a registry key
  • 93106cd Check the association table
  • ce81f62 Add some more test coverage for association aliases
  • 66a3e8e Adding test that's currently failing
  • ae5e750 Add plugin examples
  • 697d76a Ensure table in options not overriden
  • 0800e9e Ensure auto-models have the right table
  • f6cc721 Add a test for auto-tables with an alias
  • 394ade2 Construct engines before getting groups.
  • 6b7ec11 Give a little more info than "borken"
  • 2091c68 Note that Validation::notEmpty() is to be avoided.
  • 74c76d4 Add one more test for a reported problem
  • 4fe588a phpcs fixes
  • 1cb55a0 class name is never false now
  • 3571fdc Set the class name if not already set
  • 1eca423 Strict typing sure would be nice
  • c10e029 Ensure the stored name is not plugin prefixed
  • 917c43f And, add the other permutation too
  • 67410cd Add explicit test for #3425
  • 49465ec Make ExistsIn rule work with nullable columns.
  • fe74732 Add isNullable to Schema\Table.
  • 0252876 Using Number::formatter to init NumberFormatter
  • b8070ae Avoid triggering callbacks.
  • f044137 Fixing entity source after recent changes
  • a949c20 Simplifying how the translation table is handled
  • dea0be4 Fix CS
  • 4ecc852 Make FloatType locale aware
  • 4a46424 Include a locale aware parser from string to float
  • 424b2d3 Made Cake\Database\Type\DateTimeType::marshal handle timezones
  • 0b65594 Fixes ambiguous column error in ExistsIn, fixes #5877
  • deca637 Using correct package name
  • 35a7038 Remove dead code in ORM.
  • 7e3a7ce i18n is a suggest, not requirement for the ORM.
  • e5f6814 The table registry needs to pass the same option
  • 7f048d0 Rename repositoryAlias to registryAlias
  • acaee79 Don't accept negative moves
  • fe554bb Don't inflect the alias
  • c7d2172 Adjust tests
  • a23e59f Add RepositoryAlias
  • 5a3a48b It's only necessary to override abstract methods
  • 95fe4ce Flatten/simplify
  • 4b83af4 Use the class name as a table alias
  • d7c6100 Remove nesting
  • 3fac8f9 Remove debug code
  • 07cde44 Better example test
  • 9d1e8a3 Demonstrate that there isn't alias-confusion
  • 6b02321 oops
  • f9de012 Add a test demonstrating current behavior
  • b79cc70 Flatten the code
  • d3aae7e Whitespace fix
  • eced506 add a more comprehensive plugin-delete test
  • f2a61e2 Make testRemove meaningful
  • f4d258d Add a few more asserts
  • 18907a4 Add convirmatory exists test
  • fd701cc Add a test for overlapping aliases
  • 91e8016 Add a test for load model being plugin-prefixed
  • 8a6e2e1 Make load model more precise
  • b86b7e1 The plugin alias should not be ignored
  • 54073e4 Prevent negative offsets
  • 848e185 Better node-to-hole logic
  • dc76982 Use some better named variables to aide readability
  • 9c5cbc9 Use "static" instead of "self" to allow overriding.
  • d8bd066 Whitelist the ORM package as a subtree split.
  • a7e9a17 Add README and composer.json for the ORM package.
  • c3b2f8b Single-step moveUp
  • aadb2e6 Single-step moveDown
  • c461b22 Adjust all tests to use assertMpttValues
  • 8a746ac Remove assertTreeNumbers
  • 585795f Actually, that can be a lot simpler
  • 24a1791 Update docs and variable names
  • 19b6676 It's the Inflector test case jim
  • 49ea7dd Remove cruft from CacheHelper.
  • 11c03e0 Make underscore and dasherize consistent
  • f79325f Fix bad whitespace
  • 55cbcd5 Correct doc blocks
  • c7983b2 Update moveUp too
  • 9272711 Fix attributes extraction for datetime selects.
  • d3afee6 Accurately set the lft and rght fields as you go
  • 40a6634 Fix for HTML attributes being ignored for individual datetime selects.
  • 5273dae Correct humanize
  • 56a0b6d Use consistent method logic
  • 9a0e755 Allow directly specifying the separator for camelize
  • 77bd88d Consolidate underscore, dasherize and humanize
  • 3397cd0 Stricter tests for configuring Tables with Validator(s)
  • bc6a55a Rename default validation constant to read better
  • 3739ca1 Move 'default' validation set name to a constant
  • 8e54bd3 Add test coverage for configuring Tables with Validators
  • 4c729a1 First argument to Table::validator() should be 'default'
  • f01f8fe Remove numeric index support when configuring Tables with validators
  • a110839 Allow configuring Table objects with Validator(s)
  • 719bc22 add test case for redirecting in IntegrationTestCaseTest
Back

Changelogs