CakePHP Changelogs

Version 3.0.0-RC2

  • 8fab489 Update version number to 3.0.0-RC2
  • 46a3f9c Add note about GITHUB_TOKEN.
  • 8028762 fixed hierarchy of namespace in plugin namespace
  • d1daf29 Fix CS error
  • ed5b3de Correct all the assert orders
  • 1726479 Allow setting level (depth) of tree nodes on save.
  • b21ae49 PluginAssetsShell tests no longer fail on hhvm.
  • 99c018a Fix CS error
  • 95731b5 Fixing error in travis.yml
  • 54cb6b3 Fixing last faling test in HHVM.
  • 27a6ce9 HHVM has a bug aroudn assigning by referece I did not want to investigate.
  • a89bf35 Add accessor for protected properties of ValidationRule
  • 95fe338 Update events to use new methods.
  • 3b49033 Add stricter array typehint.
  • 3807a2b Fix doc blocks
  • 1c0bfa8 Lazily setting locale name to translators.
  • c9109bb Note deprecated behavior.
  • 74b97c7 Fix PHPCS errors.
  • 87c13a6 Fixing dockblock plugin path
  • e93732d Updating FlashComponent::__call() docblock
  • edc9e7f Breaking out model for conditions
  • 4fe1b11 Changing param name
  • 2feec24 Removing debug code
  • 42f28c3 Using Group By instead of Distinct as it has less shortcomings
  • 58e69c5 Including __call() test for plugin option
  • 39fef4c Fix errors in SQLServer 2008
  • d6b6e05 Adding tests for FlashComponent::__call
  • e49ba8b Including option for plugin name in __call()
  • 0a3c419 add missing backtick
  • 10e23f4 Add assertResponseSuccess() to also cover 3xx.
  • 5c399ca Fixing CS error
  • b8fbe9b Changing key to conditions + adding test
  • 11719e9 Fix empty options not being set for single datetime inputs.
  • 4c9d704 Fix empty date/times being marshalled incorrectly.
  • f3642fb Tighten up tests.
  • 94d9c5a Fix docblock indentation in basics.php
  • 7798a68 Also adjust component.
  • 2d52679 Merge string key based arrays with + operator.
  • b31995c An attempt to fix errors in SQL server
  • 50d03a1 Adding reference to the issue that was fixed
  • 39abf18 Starting to get fieldConditions in place for i18n
  • b5e284a Add convenience methods for asserting response body empty / notEmpty.
  • 176d21a Fix CS error
  • 4098e56 Enhance RulesProvider to conditionally include context.
  • e2836e3 Typo typo
  • 98641b9 TimeHelper checking against !isset instead of empty and added test case for null date
  • 84e8981 Add a basic compareWith validator for comparing two fields.
  • c77063c Fix tests for 3.x
  • 0a7effa Correct HTML uppercasing in doc blocks.
  • 592b03c Adjust type hint and documentation.
  • 68a1055 Add affordances for allowEmpty() and file uploads.
  • 89d3ed7 TimeHelper returns invalid if date is null
  • 5bff03a Indent docblock.
  • 7347657 Prefix name keys used by core with underscore.
  • 8a35df4 Reorder select parts in query compiler fixes #5769
  • 67a6988 Fix docblock example.
  • b625cb7 Allow specifying name for application rules.
  • 05372b5 Allow empty date fields.
  • efdcef5 Fixate the sort for an association.
  • 4980ee8 Fix PHPCS errors.
  • a5f07bd Fixed eagerloading with matching and contain involving belongsTo associations
  • 8bf4c4f Update Configure.php
  • 21fce4f Use string keys for presence and not empty failure messages.
  • 6aeb2ee Now going back to the SELECT strategy so it can be fixed as well
  • 1748bb7 Postgres and SQL Server require an order clause for subqueries having a distinct
  • 3e8f150 Initial fix for conflict between contain and matching.
  • e3eca5e Don't include duplicate keys when eagerly loading
  • 8a78dd5 Use interface instead of scalar check.
  • b00d244 Update Text class in Utility README, closes #5792
  • 0eb161d Deprecate attach/detach
  • 30c834c Translate messages only if I18n package is available.
  • e905309 Add test for rendering custom exception.
  • 439648a Make getLevel() accept an entity.
  • 295b641 Fix paginate model loading
  • ab9d76d Change method for translate string.
  • 19aeb8d Change method for translate string.
  • 8a07ac0 Add `host` to RedisEngineTest::testConfig()
  • 23b3852 Add `host` and `port` to MemcachedEngineTest::testConfig()
  • 9dbbea0 close cursor before skipping the tests
  • 75726a5 Fixing mistake in test query
  • fa90a48 Fixing doc block
  • 32d99b2 Subquery strategy was duplicating results in some cases after recent changes.
  • 1097eef Added fix for the subquery strategy using the wrong alias when comparing.
  • 8d0f6fa Add support for `host` and `port` params in MemcachedEngine
  • 76d5e03 Add support for `host` param in RedisEngine
  • b680b4a Fix PHPCS errors.
  • d889e90 Fix time validation for array data.
  • 5510adf phpcs fixes.
  • 78e9979 Adding a method to get the depth of a tree node to the TreeBehavior.
  • 62b7b08 Change method existsIn and isUnique, for translate message.
  • 9624cc8 Coding standards applied
  • 191e1af Fix bad behavior with `MyExceptionIsStrange`
  • 8af4839 Conditional truncating for method name
  • e236933 Fix CS error.
  • 10e8c98 Start EventManager::off()
  • 112a990 Add EventManager::on()
  • 977482b Fix resource routing not allowing generation.
  • 8683362 Adding missing use statement
  • 15730af Skip test on SqlServer
  • 4302028 Restore lost $options on SqlServer prepare.
  • f858672 Fix PSR-2 class declaration in Event README
  • bf95aa1 Fix method PSR-2 braces in docblock code examples
  • 137cf5c Fix docblock
  • 0a25531 Remove the "optional" as this is pretty clear anyway.
  • 875e10f Removing unnecessary condition to set the status on redirect
  • 0775be0 Better example for redirect response code
  • 3cddfdc Set 302 as default argument for redirects.
  • 8b153b4 Importing missing use statement
  • 47061bd Fixing fatal error that was triggeend when querying with a false contain
  • 32a937e Adding failing test for query throwing fatal error
  • 7e0cfa9 Reduce scope of changes in previous commit.
  • 4c7af86 Fixed issue of list() using same variable for PHP-7
  • 9284fc9 Fixed typo
  • 1bd236e remove falsy badge
  • affd04b Fix first() failing on unbuffered queries.
  • 50d2c8f Initial value for Collection::reduce is now optional
  • 756cbf6 Also apply to interface
  • 8375689 Cleanup: Harden method signatures and correct doc blocks.
  • 9af8c7a Fix CS
  • b9db56d Make use of modifiable $options from beforeMarshal
  • 80cf816 Update tests
  • 6e7ad12 Add docblock for checkExisting
  • 558c97e Add support for disabling of the existing check on save
  • 47185ce Return `$default` url as expected
  • 46ea013 Fix empty datetime inputs.
  • dee3130 fix psr2 cs
  • ca0da3c Make beforeMarhal $options an ArrayObject.
  • 93dd509 Simplifying some code in PaginatorHelper.php
  • 683a316 Add documentation and event mapping for beforeMarshal event.
  • 053bb05 Use a relative path to the plugins file
  • 9633d64 Update docblocks and readme to not use the file extension in load() and dump()
  • 5255b67 Move the plugins.php file to the vendor folder
  • e737864 Added Model.beforeMarshal test for associations
  • e586503 Fixing the title of a doc block in PaginatorHelper.php.
  • 30aa5fb phpcs fixes in PaginatorHelper.php.
  • 96b656a I hate PSR-2 :D
  • 17dd323 Adding the ability of using a callable for Collection::extract()
  • c1738bb Using the correct marker
  • c00f5ed Investigating travis weirdness
  • 3ec1969 missing call
  • 34f9745 test case
  • 36ef021 I had removed the wrong assertion before
  • 3007563 Updated test: assertions for nested properties
  • c87168b Remove query as an argument to result formatter methods.
  • d0cbb90 fix typos and CS
  • 505a1bb Removing test until I can figure out what is wrong with travis
  • d06b115 Fixing CS error
  • 9b9caad Adding doc blocks
  • 4e9b633 Fixing some CS errors and relaxing test
  • 02906c9 Adding locale aware parsing to the TimeType class
  • 903bd21 Adding locale aware marshaller to DateType
  • e3ec6dd Adding parseTime to the Time class
  • ecb3c2d Fixing and adding tests for locale aware date marshalling
  • 58735c3 Update Shell.php
  • eb2bfdc Draft code for using localized date parsing in DateTimeType
  • 1c933d6 Added Time::parseDate()
  • 5197779 Added Time::parseiDateTime() as an alternative to DateTime::createFromFormat()
  • e9ffd52 Add tests proving using meta('icon') with theme works as expected.
  • 9368c62 Fix typos
  • 8917e56 Fix failing tests
  • 395de81 Make beforeFind triggered by associations use ArrayObject too
  • eea4544 Ensure that the callbacks are invoked as expected
  • 0e2a3bc Fix table callback argument types
  • ffb0dae Fixing i18n when two Tables have the same name
  • fd554a6 Added Model.beforeMarshal event.
  • a21a68d Fixing a typo that I thought I fixed
  • b904d75 One more typo.
  • 820e2e7 Fixing typo
  • 002ad6a Setting translationTable on the class to make it easier to work with
  • d63e326 Updating test for underscores instead of dashes
  • 6f46952 Removing setters for prperties in EagerLoadable, fixing indentation
  • 3998513 Only destroy active sessions.
  • 5099ba1 Remove unused argument.
  • ab14066 Doc block updates.
  • 0d511f2 Fixing CS errors
  • 4356088 Adding doc blocks to EagerLoadable
  • 8f7ca46 Cleaning up the code and fixing some doc blocks
  • 76ce333 Refactoring code so strategies are only corrected at the end
  • 9969273 Making sure contain and matching clashes are always resolved, fixes #5584
  • 63a7531 Fixed another test by fixing a mistake in previous commits
  • 1afec41 Fixed EagerLoader tests
  • f268292 Fixing most of the failing test
  • 58903d8 Starting to use an object for representing an eagerloadable
  • fb021b4 Add missing doc block.
  • 38f4d73 Fix tests
  • 7eea389 Plugin::loadAll() should also read the config file.
  • 29205f1 Fix RequestHandler AJAX handling.
  • 1884d7b Update PhpConfig::dump() to generate file which returns array.
  • cb5fa8a Inflecting slug with dash instead of underscore
  • 2b1a4ed Fixing existing translations
  • c79a924 Allowing i18n to be extracted as a component
  • c3962ba Update php config files to return array insetad of setting $config var.
  • a2e4131 Fix a few mistakes.
  • 97cecae Add tests for Plugin path config.
  • bdeafe8 Remove sample config file from cakephp tests.
  • b60cd1f Use Configure to load plugin paths.
  • 28462ca Fix errors when validateUnique is used with scope.
  • c636777 Fix a few small formatting flubs.
  • 8ce041d Remove doc block for SessionComponent.
  • fd4c30d Fix fatal errors when cascaded deletes are used with MySQL.
  • bde57f8 Couple fixes for i18n readme
  • 22bb289 Changing "integer" to "int" in the doc blocks of the PaginatorHelper.
  • b4dd7a0 Fixing the PaginatorHelper, passed wrong argument.
  • b23435c Update copyright statements in docblocks
  • edb2396 Bump copyright year in license
  • 46ae690 Use notice free test.
  • 2b28ea0 Allow simple check on existent for assertRedirect()
  • 20e75d4 Also fix the opposite method.
  • 666010e Fix assertResponseContains and add assertResponseEquals.
  • 60e80e9 Effing PSR2
  • 0f4565e Add InstanceConfigTrait::configShallow() for non-recursive merge of config.
  • a9bc1d7 Strawman for vendor plugins.
  • 06526cc Fix PHPCS errors.
  • 7491653 Fix line length and output examples.
  • 9e9d280 Tweak wording in README.
  • d890ba3 Fixed typos
  • 9b0e66d Adding a suggests section to I18n's composer.json file
  • 951598c Adding a composer.json and a README to I18n
  • 5b24ff2 Making Cache optional in I18n by allowing the instance to be cached
  • c4f1794 Fixed CS error
  • a4d96ec Fix partial path being set for non existent paths
  • c3d8e23 Corrected casing
  • 58eda68 Adding test to disprove #5584
  • ed4894e Improved doc block
  • f55808d 3.0 RC1: Get Date String errors
  • 5114ffe Port fixes from #5616 to 3.0.
  • ef490bb Fixing CS errors
  • f5862c1 Skipping a test for drivers that do not support native unbuffered results
  • 628cd0e Add shallow merge ability to InstanceConfigTrait::config()
  • 3029e2f Adding un-buffered results to SqlServer
  • 1c66e3d Fix CS errors
  • f78a131 Fix const docblock indentation
  • 9b3ac45 Using buffering in TreeBehavior::recover()
  • 74e90e1 Fixed ResultSet when using unbuffered results
  • 23943c1 Creating a more accurate test for unbuffered queries
  • a303ab4 Implemented real non-buffered Database statements.
  • 9542949 Remove invalid usage example.
  • 71d3692 Replace our custom code fence with markdown standard fence.
  • 585522d Allow null values to be marshalled when using fieldList
  • 6b902c5 Test to show that marshalling a null value with fieldlist fails
  • a81d97e Minor docblock fix
  • bcab995 update links to the book
  • 21b0149 remove unused use statements
  • dbfbcba update exception class
  • e670f75 Add email serializer
  • b38b993 Started refactoring PaginatorHelper::numbers() into many smaller methods.
  • 6ce5609 Moving bufferResults from the ORM to Database Query
  • 3d32968 Dealing with the creation of i18n field tables elsewhere
  • b4f6dcf Fixing psr-2 stuff
  • 8e1ddcd Fixing psr-2 and removing extra breaks
  • 1faac3e Adding tests for custom i18n tables
  • 0e46864 Fixing broken tests.
  • e0961e7 Cloning references to field tables from main I18n
  • de95b22 cs
  • 8b0567b Fix issue with trim line ending and test content.
  • b0fcaae Use Text class.
  • 8769a37 Forward port fix for wordwrap and newlines (#5582).
  • 1e7251e Set entity source on create empty entity.
  • 4e6cb44 Fix meridian tests failing around TZ offset issues.
  • 2fef70b Correct criterion inflection
  • fe69c61 Fix notice error when invalid fixture types are used.
  • 7e4e0d5 Fixing test that relied to wrong sortBy behavior
  • eace3a3 Fix PHPCS errors.
  • e72e36f cs fixes
  • ee8106b For consistency passing the inner iterator to extractors make more sense.
  • a70e205 Using _unwrap in all methods where the collection passes itself
  • 2db5ae4 Consolidating common code
  • 83644ea Add fixture for failing test
  • a9aff86 Speeding up each() by unwrapping uneeded nested collections first
  • 9ee1eab Speeding up conversion of collections to arrays
  • 6b9920d Optimizing Collection::sort()
  • 2bea4c1 Allowing specifying Table when translating
  • 5c90686 Fix fixture manager vendor/plugin edge case
  • 2833f4d Fix CS error
  • f936fe3 Fix #5581
  • 5261b27 Add test to prove #5581
  • c987d69 Remove extraneous argument to sprintf call.
  • 587de14 Fix for error caused by belongsToMany query with a formatter on the join query.
  • c4b2862 Add a test proving that formaters on a belongsToMany join cause an error
  • f7d0cef Fix CS error
  • 9def3ca Forcing ymd pattern in validation when an array is passed
  • c83a192 Show specific error message in exception if json_decode() fails.
  • c3fd5ab Throw exception if json file is empty or result of decoding is not array.
  • f63f6be fix cs errors
  • 8fcf95d Fixing array to string conversion for dates. Adding tests
  • 73f8b6d Accepting date arrays for validation as that is what typically is sent
  • cc36f19 Throw an exception if json decoding fails.
  • 1662f2e Implemented Collection::toList() to avoid confusion when getting results
  • 9d4893f Add JsonConfig configure engine.
  • 4efaa89 Fix tests.
  • fe545c5 Make code DRYer.
  • 4d75585 Create FileConfigTrait to avoid duplicate code in file based config engines.
  • 6221bbc Update docblock.
  • a02af9f Fix documentation and add exception for foreignKey in contain
  • 1e6fb0f Conditionally renew.
  • 001b811 Allow clear() to empty complete session without renewing it automatically.
  • 346296b Skipping a test in HHVM as SSL is not implemented for sockets Weakening one of the assertions as HHVM does not return the same exception for badly constructed translation messages
  • d408bfd Forward port #5544 to 3.0.
  • 7728e35 Adding redis-server to the travis services
  • c7b1013 Renamed String class to Text
  • 97c2cd5 Better sasl detection in tests
  • 684a32d Skipping another test for a feature that is missing in hhvm
  • 20efddf Fixed Debugger and ErrorHandler tests in HHVM
  • 6109d89 HHVM produces valid XML ouput for CommandListShell, although not the same
  • d0012fe Making all tests pass in HHVM. Reflection when using traits is still wonky
  • 8b3dc9f Skipping a couple tests for unimplmented functionality in HHVM
  • 69f2e3b Removing automatic setting of `url_rewriter.tags` Session config
  • 17eaaf6 Updating tests that pass for Memcached in HHVM
  • 026ea94 Refactoring to make all ORM tests pass on HHVM for SQlite
  • 78ac76f Fixed some broken tests in HHVM for different behavior in SplFixedArray
Back

Changelogs