CakePHP Changelogs

Version 3.0.0-alpha2

  • 9054d64 Update version number to 3.0.0-alpha2
  • 9f2503d fixing a couple CS issues
  • 456474c Fixing an issue where using getters on a Entity field would keep modifying the field over and over. This comes at a cost of dropping the indirect modification feature when using getters in entities.
  • 0d66b61 Added fix for #3873
  • 32c6966 fix bake controller
  • 6866d3a Fix 2.6 merge errors.
  • bf13b61 Fix CS errors.
  • 13210fa Fix reading array values from associated entities.
  • dc7fcb9 Remove duplicate call to bakeTest.
  • 7818b37 Remove getAjaxVersion().
  • 01a910d Skip test when localhost doesn't respond (like on appveyor).
  • b4d4a9a more typos
  • ac1d2b9 typos correction
  • 5daf002 Fix more file permission related problems on windows.
  • c45868e Lower times to resolve windows issues.
  • 7b0179b Fix failing more tests on windows.
  • 2fffc88 Fix failing tests in ErrorHandler and Folder on windows.
  • 0528600 typos
  • b7fccea typos
  • de876f0 Changing the empty conditions list approach as not all drivers were happy
  • c4b80d2 Clarify error message.
  • 360aa14 Simplify view path generation.
  • a084fce Correct order of themed plugin paths.
  • a30633b Make Entity::isNew() only support true/false
  • 469a590 Fix CS in SmtpTransportTest
  • 815ad1c Remove remaining cake_dev domain
  • 99d6932 Fix project baking
  • d196633 Casting expression as it errors out in postgres
  • aad8944 Fix: Blackholed request when POSTing to a URL with space
  • 7397d6f Fix grammar and phpcs error.
  • 29b2a87 Fix phpcs error.
  • 76bce3d Fix PHPCS errors.
  • f15a6f5 Translating IS operator to the best possible operator depending on value
  • d227e15 Making `IN` conditions accept an empty array
  • 8946693 Remove output buffer cleaning as it causes all the tests to fail.
  • 0b2427d Remove more cake_dev domain references.
  • 38fc6b7 Remove 'cake_dev' domain.
  • 868cbfc Fix incorrect @since tag.
  • ffc092b Allow string values for templates option.
  • 65e633f Make create() and end() manage the template stack automatically.
  • e85e241 Add push/pop onto StringTemplate
  • ee77157 Empty the buffered content stack when rendering error pages.
  • df8294d Add custom error page for missing cell errors.
  • ad401ec Raise a cell specific error when views are missing.
  • e64e01a Allow Cell::render() method to work with relative directories.
  • bad2e1e Rename Associations class to AssociationCollection
  • 0f7e7ea Rename Cookies class to CookieCollection
  • da8d54c Ensure that the driver schema dialects use is connected.
  • 08de917 Fix accidental typo in SQL file.
  • 6e777a5 Mocking _sendHeader instead of send()
  • d98abc5 Added test case for CakeResponse::send() and ajaxLogin
  • b619728 Fixed sending of headers when ajaxLogin is set
  • 130ad7e Tests that callable is not a string
  • 7b0db0b 3.0 - Fix issue where conditions that are valid global methods get treated as callables
  • 1434e79 Typo fix
  • 79dc624 Add removeSubcommand in ConsoleOptionParser
  • 9b8e640 Add indexes to db_acl.sql in skel directory.
  • b129ce5 Update db_acl.sql to use correct column names.
  • 02b8bce Fix cs error introduced after resolving merge conflict with master to 2.6
  • cec7d5d Added NetBeans project folder to .gitignore
  • 9f49d17 Don't generate `COMMENT ''` in MySQL when creating tables.
  • a3e45b3 Use plugin prefixes when generating models in prefixes.
  • ac9af7e Update version number to 2.5.3
  • 0d14bf7 Update doc blocks.
  • c20cca8 Singularize names in 'New' links in bake templates
  • 66c2b25 Remove dead code in test stub.
  • 3ca8d40 Add note about identifier quoting in pdo error template.
  • 409fbb1 Fix build failures.
  • 38efb07 Remove CacheHelper and related features.
  • 7fa7452 Remove x flag on FormHelper.
  • 0dfce1a Add `.` to the list of allowed characters.
  • d31f519 Fixes #4019
  • 661ddf8 Added failing test to prove #4019
  • ce495e5 Fixes #4009
  • 57c9ba3 Fix error where multiple files at would be handled incorrectly.
  • 1d84bbc Start namespaces with \ in docblocks.
  • b37cba1 Tests now work fine with phpunit 4.
  • 5777254 Fix CS error.
  • 6ae765c Fix cell paths in plugins not being able to use relative paths.
  • 78fb9b5 Added *.mo and .idea to .gitignore
  • 960ba0c Adding support for using callables in join conditions
  • 28ec1c4 When specifying Session as a component and using Session flash messages, you end up with 'Paginator, Session, Session' which doesn't make sense. Added an array_unique to remove any duplicated components.
  • 18c5b30 Adding tests for innerJoin and rightJoin
  • f3941b9 Fixing code and adding test for leftJoin
  • 8a2805f Fix post data that interleaves with FILES not being handled.
  • 20d54fe Adding leftJoin, rightJoin and innerJoin methods to the Query class
  • f03bf80 Add some more exception message checks
  • bf7d01a Make SMTP auth reply code checks work properly.
  • 672bdc9 Removed non-existent "3.0-windows-ci" branch
  • 1b44f4b Allowing Query::newExpr() to wrap any passed string or array as a shorthad for writing raw sql
  • 45725b8 Fix $_FILES parsing
  • 96a1f36 Fix ViewTask not correctly handling plugin models.
  • 9829646 Remove registry clear calls.
  • 892157b Updated from registry
  • 68aec8a Revert
  • 867e801 Throwing errors correctly now Ref #4000
  • c2020da Make `connect()` invoke authentication, make tests more explicit, add more tests.
  • 66b1ba8 Simplify tests, fix CS, remove `autoDisconnect` option.
  • b47f91c Add context support to the I18n class which resolves cakephp/cakephp#2063
  • ce126ed Fix doc block and use a more generic error message.
  • abf65aa Add missing h()
  • 6911d4e Fix error where checkboxes could not be unchecked.
  • 9fc8ed7 Improve getting namespaced class name.
  • 1879c3f Add support for persistent SMTP connections.
  • fcec8ef Check for directory traversal in layout paths.
  • 0c7720e Enforce that relative paths are contained within the template paths.
  • 31ed8c3 Fix relative path resolution in View.
  • abeccff Fix incorrect doc block.
  • 88ecbab Fix PHPCS error.
  • b0e39c1 Remove the header matching from Route::parse()
  • 476cae0 Add a more helpful error message when the transport is undefined.
  • 4733a8e The `.` character is a valid part of an email address.
  • 80066a2 Rename [method] to _method.
  • 8d58d93 Make the error message better for fixture errors
  • 293a627 Throw exception if flash key value is not an array.
  • 09a7020 Fix spacing to conform to coding standards
  • 260c4db Fix PHPCS warnings.
  • 0eaf650 Test for new HEAD function inside HttpSocket
  • 0476d8e Quick fix for undefined variable.
  • 7b4c523 Update CONTRIBUTING.md
  • 4b499f6 Remove Router::resourceMap() and update internals of mapResources()
  • 0273d9f Account for HTTP method when matching routes.
  • 799da32 Fix typos.
  • a2a4b26 Internal cleanup and additional tests added.
  • 0254eb3 Fix path to Config/routes.php and update tests.
  • c673b81 Remove unused directories.
  • b17ba29 Remove reference to defunct named params from docblock.
  • ca93bbc Fix CS
  • c50e730 Use default flash element.
  • 42e77f8 Remove \ and replace with use.
  • 5b40e2d Add the actions and only options to resources().
  • 540e861 Doble slashes completly removed
  • 6eaa4f9 Restore original tabs and spaces in code
  • bfe0db5 Set exception code in flash params.
  • 1824d3b Remove double backslashes in MemcachedEngine
  • 31f656b Fix error where routes would be incorrectly parsed.
  • 6b796b7 Move test from FormHelper into SelectBox widget test.
  • 6189cc1 Add doc block for cakephp/cakephp#3960
  • 12c2755 Not baking tables with array-valued primary key where there is only, one key, as in most cases it is just a hassle for end users
  • 84a83fa Using an array primaryKey value in TreeBehaviorTests to confirm that it is not a problem
  • 8f8b15d Make MemcachedEngine more friendly without php extension
  • ace30fd Fix a race condition problem
  • 4492cdc Extracting the primaryKey reading code into a new function to prevent errors
  • 6488669 Fix Inflector use in WincacheEngine, XcacheEngine
  • 1d0c013 Fixed more typos
  • eb03ec9 Fixed some typos in docblocks
  • 111c833 Improving docblocks by including the new fieldList feature
  • 84a1d32 Implemented marshalling with fieldList on merging _joinData
  • 69fbcc4 Implemented marshalling with fieldList for _joinData
  • 86c10b3 Adding test for fieldList when mergind associations
  • 8adcacf Implemented fieldList for marshalling associations
  • 627fd4d Adding a test for Marshaller::many() and fieldList
  • f0f52b4 Add error message when a table has no primary key.
  • 03c2a8b Unify datetime column default values between MySQL and Postgres.
  • 48e457e Fix case sensitive issue in table alias.
  • a414484 Fix links for associated records.
  • 818f924 Added test for fieldList in Marshaller::many()
  • 00b9d09 Implementing the fieldList option in the merge() method
  • f62cad5 Initial implementation of fieldList in Marshaller::one()
  • f49408c Allow having prefix specific layouts.
  • 20a8f2d Fix incorrect path indexing for greedy routes.
  • d5710e4 Fix tests in Win
  • 2782301 Make validation failure rule errors more descriptive.
  • b52a308 Allow translations of 0.
  • 5489813 Move tests to the class they belong with.
  • 752eb41 Fix typo.
  • 9dfe876 Add tests for belongsTo and null property values.
  • bd497e4 Fix PHPCS warnings.
  • 22ed2f8 Changing argument name
  • 06f6810 fixes _tests_ directory
  • c9f2fe9 All Marshaller tests finally fixed :)
  • bd6a5ee correct reference to tests directory
  • 4bf5f10 More marshaller tests fixed
  • eaa62ee Fixed more Marshaller tests
  • f63da3c Initialize Time::$defaultLocale to 'en_US' during tests.
  • 453b598 Fix failing test.
  • 5e4abbe Cleanup deprecated code.
  • 49da430 fix the related test
  • c02f322 replace /Test/ by /tests/
  • a34ab37 replace Test/TestCase by tests/TestCase for Bake
  • 65a09c0 replace Test/TestCase by tests/TestCase for Bake
  • a098d96 Remove flaky test that was of questionable value.
  • 53259cb Deprecate $confirmMessage argument.
  • e12e44d Expand test for FormHelper.
  • 2c36545 Use foreach instead of array_filter.
  • 1a58b76 A micro optimization of h()
  • 79be5e6 Update Model.php
  • 42cdf10 Implement path based error reading.
  • a3b5d1b Fix new coding standards errors.
  • ca85456 Don't allow PHPCS to fail anymore.
  • a0fec85 Fix remaining PHPCS errors.
  • 6eeb55c Fix RouteBuilder::scope()
  • e268e0b Remove deprecations.
  • ac0053d Added a shorthand stackTrace() method
  • 3d22390 Add tests for Entity::errors() being able to read data with a path.
  • aea75b9 Fixing some broken tests
  • 0c1fc36 Fix an infinite recursion caused by missing plugin
  • 3410911 Don't hydrate empty association entities.
  • c5ae11b Starting to move marshalling associated methods in Table to use $options
  • b1df652 Renamig $include to $options in Marshaller
  • da2af6d Add test for associated objects being null
  • 270296d Removed unused "safe mode"
  • a8dac57 Removing extra whitespace
  • fbed75a Make hasOne associations default to LEFT joins.
  • 5d027ff Fix a few more doc block errors.
  • c321a8f Hash::nest() should throw an exception instead of returning an empty array
  • a1defb4 Fix API doc errors in ORM/
  • 061b5d6 Fix API doc errors for Database/
  • 2d71a81 Fix API doc errors in Console/ and TestSuite/
  • 244aa06 Fix API doc errors in Datasource/
  • 2ae1fd9 Correct typo.
  • 0bb77f0 Added a shorthand stackTrace() method
  • a490652 Add docblock info about options for DefaultPasswordHasher.
  • 6711eb8 Remove hardcoded view class.
  • 4e4c125 Allow passing options to password_hash().
  • f981c7c Add test for added cases in RouteCollection::_getNames()
  • 7cb51d7 Fix docs and add missing test coverage.
  • 72ee388 Fix doc block errors.
  • a1ad72f Remove unused method.
  • ae65898 Add tests for Route::staticPath().
  • 12c5f5b Fix failing tests around prefixes.
  • 0dcfaff Stop inflecting prefix.
  • d0f2362 Further cleanup and test expansion.
  • 407388a Remove sprintf() calls.
  • 839282c Only sort routes when new paths are added.
  • 78a4a81 First pass at splitting up the Router internals.
  • 2b2fa97 Remove blowfish hash generation support from Security::hash().
  • b3dfad6 Correct pattern matching.
  • b27487a Fixing test
  • 5cde784 Fix CS.
  • 1e961a8 increases time window in CSRF token expiry tests to 2 seconds
  • d9e314f Removed whitespace
  • b49c55f Added test for _initializeSchema
  • 178c587 Adding a new method Table::_initializeSchema that users can override
  • 669e5c9 Making Table::columnType() a setter too
  • 9fa7afa fixes #3887 CSRF reusable token expires
  • 8c6b741 Change default value for Security::$hasType to 'sha1'.
  • 5c37808 Cleanup Security::hash().
  • d0e1b2e Remove deprecated tag for Security::hash().
  • a3aa82c Removing extra line in test
  • 0c1b25b Update bake templates.
  • 7ad59c9 Don't pass validaiton preferences down to associations in Table::save()
  • 9d64ac6 Remove "default" option from HtmlHelper::link().
  • 9b20a21 Adding failing tests for ticket #3873
  • 009138b Fix CS
  • c854e1f correct cs
  • f888be3 Correct use statements.
  • 156265f Document 'default' option.
  • 8d197e4 Remove $confirmMessage param.
  • f97ddb1 Remove param $confirmMessage.
  • a266a94 minor optimisation, refs comments on 81875cfeb1b8e5c414cf9de3c96dd2dde50150bc
  • 831b2e9 Move test into class where the problem/feature was.
  • d0e251f Add missing template.
  • 3936cce Disallow hexadecimal input with inList.
  • 1988e89 Add an upper bound to the POST data SecurityComponent will consider.
  • 765be87 Overwrite the schemaName property if it is not defined in the class.
  • 8bfebd6 Fix for failing test "Whitespace found at end of line"
  • 4f559f5 Fixed failing test for CakeResponse::sharable + spacing
  • b31fb19 Ensure ConsoleErrorHandler exits with code 1 for exceptions with string codes.
  • e410501 Fix CS errors.
  • 566e768 Remove default routes.
  • 9633eb6 Make fallback routes use InflectedRoute.
  • 974ca85 Correct doc blocks according to cs guidelines. Remove superfluous empty lines.
  • 9d9453a Add a simple oneliner way to add fallback routes to a scope.
  • 65d14c7 Remove mention of Role/default as it doesn't exist.
  • 3a06e1f Update code examples to be consistent with other docs.
  • cee56ea Make PHPCS build passing again.
  • 33a5b6e Fix additional missing API doc tags.
  • c5eab69 Add routes.php generation to plugin bake.
  • 72ea665 Add missing -composer option.
  • 1164c0b Fix for CakeResponse::sharable() header to include private caches
  • 99d8d42 Add missing new.
  • 1b8f9da Fix APC related errors.
  • bf45ba3 Improve missing route error page a bit.
  • 185c92f Add info on how to replace the error template.
  • 92db5ff Fix whitespace.
  • 8be90f5 Make MissingRouteException a 404.
  • e26daf5 Add an error template for missing routes.
  • a9ba33d Throw exceptions when routes result in an error.
  • ac16ff1 Add a new exception class for routing errors.
  • d5bce53 Fix handle unknown error in MailTransport
  • c0416b7 Update TupleComparisonTest.php
  • 02844f7 Fixed comment
  • 6895042 Added test case for closures in QueryExpression.
  • 184bbd4 Allow to use closure in QueryExpression
  • 56022b6 Rename option "ssl" to "_ssl" for consitency with other options.
  • 1ea269a Remove BC mapping of "ext" to "_ext".
  • c1e7d43 Fix url option key.
  • 9b60b7d Fix docblock errors.
  • 06bdf75 Fix 'IntlDateFormatter' typos in Time
  • 99df987 Fix 'either' typo in Time
  • 06cc54c Automatically quoting strings passed to isNull and isNotNull
  • 8cfa53d Remove broken database related features for i18n shell.
  • ee0eb63 Re-implementing UnaryExpression to make it more simple Allowing isNull and isNotNull to accept ExpressionInterface
  • adcf9ab Fix failing test.
  • dc34d80 Relax email validation rules even more.
  • d905965 Remove dead code.
  • 1686edf Revert "No truncate when drop table."
  • 7ec52a4 Index routes by key parameters for faster reverse routing.
  • 9d17b38 Fix plugin scopes not correctly setting their params.
  • b1a3ab9 Added unit test for CakeRequest::setInput
  • 6bf0b22 Add setInput function to CakeRequest
  • b50ef5f Move special casing for redirect routes into RedirectRoute.
  • 156cdc2 Removed unused test file.
  • 607200f Add pluralization rule for "stadia".
  • 74c7273 Fix error in Router::redirect().
  • 982b696 Sort routes when scopes are connected.
  • 7ce2f45 Add a small optimization for reverse routing.
  • 41a97c2 Raise exceptions when scopes and routes have conflicting parameters
  • 48c7998 Tidy up and simplify travis.yml file.
  • 9172124 Fix more doc block errors in lib/
  • 849a04f Add lazy reading of cookie data.
  • 733a610 More coding standard fixes
  • 6623a8a Adhering to CakePHP coding standards
  • f9aa954 Changed Event names back, added view type getter
  • 5e72b75 Fix failing tests and issue where / would be incorrectly handled.
  • b55ccd5 Remove RouteCollection
  • 170e6ff Fixing fixture file
  • e400c62 Adding fileinfo to windows ci server
  • 1dc05d5 Running all tests in appveyor
  • e05a967 Router::parseExtensions() only works at the top of the routes.
  • 42fb1a4 Remove Router::defaultRouteClass()
  • ac4f411 Add ability to inject route instances.
  • b34d43c Start fixing up the few failing router tests.
  • a1ae31e Fix identifier typos
  • 0da3c4c Update doc blocks for cakephp/cakephp#3532
  • c768756 Fix tests on windows
  • 954f7d0 Adding a small docblock
  • 08502e3 Allowing releases to be done to facebook using OTP tokens
  • 5b5d537 Avoiding ambiguos column erros when saving, fixes #3803
  • c468679 Make SessionHelper more accepting of bad data.
  • 53e85d7 Correctly generate classnames for plugins as well.
  • 8588c6d Add missing className option to generated associations.
  • 6b8c16a Fixed plugin autoloader baking
  • 73dcb2c cs correction
  • 1a89a3c Exiting with 1 when Exception::getCode() returns non-integer values.
  • f03b40e Start integrating Router + new route collections.
  • bcc20c4 Add Router::prefix() and Router::plugin()
  • 7cef19f Changed `View::element()` to have an appropriately named event
  • 1b2fc58 Rename resource() to resources().
  • 4d9e65e Update doc blocks based on feedback.
  • a40fa5c Add test for #3754
  • 239af03 Raise an exception when Hash::get() receives invalid parameters
  • 9663880 Add tests for resource().
  • 655bbe9 Add tests for match().
  • 66314da Add test for parse().
  • 3a59514 Add tests for plugin() method.
  • f0af8f8 Add basic tests for Router::scope().
  • 67d9b42 Add ability to set Router::scopes() and use prefix()
  • b7f87e9 Add tests for redirect().
  • 353324a Start adding tests for ScopedRouteCollection
  • 88c0791 Add ScopedRouteCollection
  • 3e5cb58 Micro optimize Route.
  • b3507b1 Update doc blocks regarding return $this
  • 0570990 Fix composer app issues with cake.php
  • 8f9589f Fix typo
  • 26fe126 Mark App::pluginPath as deprecated and don't use it anymore.
  • b4bcd74 Whitelist more URL-y characters in digest parsing.
  • ad678e3 improving acl perfomance
  • 59c3b73 Skip autoloaders for APCIterator
  • 9a1a965 Update isAbsolute() to recognize stream wrapper paths.
  • ffe8119 Remove else.
  • e683616 Apply patch from 'biesbjerg' to ApcEngine
  • bb15271 improving acl perfomance by adding indexes on acl tables and reorganization joins in getting acl node function
  • d81d568 make coredispatcher fully BC again
  • ad4dbdc Fix HttpSocket test to actually reset protocols for correct test. Modify HttpSocket so that Https with non-passed in protocol doesn't set it to tcp and fail test.
  • 460cc29 Remove unneeded comment out line that I just saw in compare view on GH
  • 3615315 Fix coding standard violations
  • 86923e3 Modify CakeSocket and HttpSocket so that the "protocol" parameter can be used to specify which protocol to use for creating sockets. These are protcols in the php "[a-z]://" wrapper sense. I also modified the test for these two files respectively to accomodate these new changes. Unrelated to this bug, I added a "head" function inside of HttpSocket to go along with the GET/POST/PUT/DELETE/PATCH combination that's already present. Came in handy for me for deciding if I wanted to hit a resource with HttpSocket or not.
  • c273ed8 MySQL DbdSource alter field support 'after'
  • a3509a7 Supporting regex on dispatcher "for" condition
Back

Changelogs