CakePHP Changelogs

Version 3.4.0-beta1

  • d04f88a Update version number to 3.4.0-beta1
  • 03435ee Fixed ambiguous exception in Cake\Database\Connection
  • 7963286 Static analysis with PHPStan
  • 035c944 Fix return type to be as expected and documented.
  • 6a6dfaf Adjust return typehint as per review.
  • 473af0b Do not return void methods.
  • 796a12d Add back $name and __construct() to Type classes.
  • 4d81ebc Fix CS
  • 440e53a Remove deprecated method usage in tests.
  • 9df5f57 Remove deprecated method usage in tests. Make typehinting possible which reveals coding errors.
  • 256b2e0 Start fixing up ViewBuilder API. Also fixed a few wrong doc blocks.
  • 3244db9 Fix tests.
  • d42104a Adjust the doc blocks instead.
  • 2312ab8 Fix some more doc blocks and smells. Enable further clickability in IDE.
  • d15d47c Fix lying doc block
  • 2f0133b Use self instead of $this for IDE compatibility.
  • 153cbde Fix CS
  • 8ba7371 Enable further clickability in IDE.
  • b0eb42d Fix more FQCN docblocks.
  • c91bd63 Enable further clickability in IDE.
  • 64eb8fa Add missing annotations to AuthComponent and bail early.
  • 814b51c Use FQCN for property annotations.
  • 4740108 Fix up tests and typehints.
  • c0a50db Add backwards compatibility shim for Response.
  • 3ac9235 Move Response to Http package.
  • 9920e50 Making it BC for now.
  • 6e1c256 Fix CS.
  • 09c45b6 Implement necessary ExceptionRendererInterface for clean code.
  • 4703815 Fixing a few code smells detected by phpstan.
  • 07eb87d Don't populate Controller::$helpers in RequestHandler.
  • 32ff8c5 Update docblock
  • 3092400 Fix docblocks
  • 7c2f0c1 Fix typo
  • b98f1a1 Declare missing property
  • 8264ef1 Fix docblocks
  • 98e8aaa Use func_get_arg(0) instead of argument $viewFile.
  • 360364a Declare properties.
  • 8c72dec Don't statically call an instance method.
  • 04a0d57 Fix docblock
  • 8d8993e Fix docblock
  • 3b94086 Fix docblocks
  • 6041a0c Remove extra params in constructor call for ValidCount.
  • 2bca058 Fix method name casing.
  • 6c9eb4e Move property declaration to parent class.
  • e288580 Fix docblocks
  • 5f3f16a Add call to parent::__construct()
  • 6944fab Add abstract method SerializedView::_serialized().
  • b69b189 Get rid of unnecessary property assignment.
  • 1f53eb6 Using variadic instead of call_user_func_array
  • 1ab2eff Using variadic on some methods
  • 3364aef Add translation to publically visible error message.
  • 3d63012 Fix PHPCS.
  • 361fb24 Add doc block for withFile().
  • 966cb03 Better assertions around content-transfer-encoding.
  • 2480c6b Don't mutate the response when setting a file.
  • 4cafa1e Extract duplicate code into a helper.
  • 539304b Fix file() not actually emitting files.
  • 5be9f45 Add test for withDownload()
  • 549b65c Rough implementation of withFile() & withDownload())
  • 116b8fe Uncomment a bunch of skipped cors cases.
  • 720fb86 Update doc block for withCookie()
  • 36b067c Add withCookie() & getCookie()
  • 803f00e Use correct string.
  • fc2d1f4 Refactor to use helper method + test coverage.
  • f4f8100 Move default renderer check to getRenderer().
  • 40b39d1 Move default into class so simpler ::class syntax can be used.
  • 92e001a Add IntegrationTestCase::_getBodyAsString()
  • 21d2fa3 Fix PHPCS errors.
  • 986efd0 Add withSharedMaxAge()
  • 4f75c34 Implement withCache()
  • f2f195f Implement withMustRevalidate()
  • 25532d7 Remove unnecessary transformation in ErrorHandlerMiddleware
  • a894960 Fix PHPCS errors.
  • c4bfdbb Implement withMaxAge()
  • 681a387 Implement withSharable()
  • 9d7c22f Implement withNotModified()
  • 46fe19a Implement withEtag()
  • 7cff856 Add withVary() and incomplete tests for other methods.
  • 6eb08ce Use PSR7 interface method instead of deprecated one.
  • 5a26e4c Dont lie when not modifying bootstrap
  • 27dc4bf Add test for cli.
  • da3dec0 Adjust tests.
  • 35d6df5 Allow loading and unloading plugins for bootstrap_cli
  • 4709d06 Defensive check before trying to access empty string.
  • f22ec68 Add withCharset() immutable helper.
  • 5326287 Add withDisabledCache() header macro.
  • f4d7d35 Add withLength() immutable helper
  • bcfc7f7 Stricter treatment of end() returning false.
  • 0736f23 Fix undocumented false return value that was most likely an oversight.
  • 177136c Use less strictness where necessary.
  • f36de8a Remove some cloaking for stricter null checks and fix a doc block.
  • 55b5291 Remove mock that wasn't necessary.
  • 5cbf03b Fix PHPCS errors.
  • 5ec7c0e Don't emit response bodies for 204 and 304 responses.
  • 09b3f0f Fix clearing content-type when status is 204/304
  • ab4a471 Remove response from CookieComponent.
  • 163716b PR review changes
  • 9e43757 Fix failing tests.
  • fd50f0a Fix inverted condition.
  • a7cf173 Fix phpcs errors.
  • 078f675 added transaction helper
  • 5ff002e Fix a number of header related issues and clean up tests.
  • ea0e454 Add deprecation notices to a few methods
  • 06f7a6b Add withLocation()
  • 8cf3966 Fix tests.
  • e7510d8 Adjustments as per review.
  • c7d4415 Update documentation
  • 080b958 Fix CS.
  • e88d442 Rename as per review.
  • 2417f01 Fix typo.
  • 97f008a Split combined into separate getter setter for cleaner API.
  • 8e7b79b Get request/response from the controller.
  • 8b07eba Clean up property usage.
  • e6d4ea5 Deprecate request/response on Component.
  • f3b0c18 Switching alias with the new class name.
  • 8eb4ecf Split up more $this|other mixed methods into separate getter/setter methods.
  • fd98169 Don't use mixed
  • 979a498 Fix PHPCS errors.
  • 5061c01 Update doc blocks for request methods and make getParam simpler.
  • 3e6954c Add getCookie() and replace cookie()
  • e7c2469 Implement getData()
  • cf2a2f9 Implement getQuery() and deprecate query()
  • b92686d Implement getParam()
  • d39336f Fix PHPCS errors.
  • cb913ea Remove alias loading that isn't necessary.
  • 469d827 Convert to using ::class in RouteBuilder tests.
  • 223152e Clean up ServerResponse usage to be consistent.
  • 8faf63b Deprecate Transformers.
  • b6f8e65 Fix PHPCS error.
  • ef090d0 Remove the ResponseTransformer from use.
  • 9f358c6 Add lib ICU min. requirement
  • bfc9325 fixes changes requested via comments
  • cd745a5 replaces fieldList with fields
  • 1601aa1 adds setOutputMask/outputMask
  • 7fb4ae4 Fix up example in doc block.
  • 50aef1c Add version to deprecations
  • 14fd7bb Change variable names in the example method body too.
  • 09da3b0 Fix integration test.
  • 703260a Rename Schema/Table to Schema/TableSchema via class_alias()
  • 7234c1f Rename Table to Schema for consistency and less confusion.
  • 580e4a6 Autodetect content-types for email attachments.
  • a8fa835 Rename nonceExpires to nonceLifetime
  • c1680b2 Implement more robust nonce handling in Digest authentication.
  • 21cddeb Update doc block
  • 7313afb Adding getter/setter for through option
  • eb61dd8 Remove unused use.
  • ca4684e Define relations as fluent interface via explicit getter/setter, resolves #8757
  • 318d7c1 Fix tabs/spaces.
  • b89bbea Fix PHPCS error.
  • cb4bfe4 Fix PHPCS errors.
  • 24294fa Update Controller::redirect() as well.
  • 549cb20 Use PSR7 response methods where possible.
  • be11856 First round of Response deprecations.
  • ab684b6 Allow help to also display 0 as short type and fix some cloaking nonstrict checks.
  • 7c23c08 Fix up doblocks to be of more concrete type arrays
  • 9fdcd13 Fix travis ci.
  • f122c78 Fix CS
  • 14ef75f Fix logic issue of required after optional arguments.
  • 5d4757c New test without $params.
  • f07504e Tests update.
  • b6d3426 New check for a valid callback.
  • 577c3dc New check for a valid callback.
  • 24c74f9 adds configurable masking of array/object properties
  • ee010dd Reduce duplication in tests.
  • 6942799 Fix typo.
  • e52cb7a Fix doc blocks for auto complete
  • 9297587 Adding $params argument to prefix() method of RouteBuilder.
  • 8db9305 changes, see comments in pr
  • a55d555 improvements for paginator helper
  • 4fc472d9 Don't eagerly call callback responses.
  • 0c0f32f Fixing return of values seen as empty in Response.php
  • 605f350 Adding more tests for the response class.
  • 1c640b6 Adding tests for the new response class methods.
  • b159192 Adjust test.
  • 0aebf87 Simplify Auth flash to be consistent with default Flash error type.
  • 86354fa Fix wording.
  • 0b9fcb3 Extract method for easier extension/overwriting.
  • bfaa799 Also adjust current page count.
  • e238143 Localize paginator numbers.
  • 7d316f0 docblocks
  • ea96290 truthy, falsey tests, docblocks
  • f71b823 Fix redirect to login with non GET requests and remembering location.
  • c69383a Fixing a bug in the stream (re-)creation
  • 76d9359 Refactoring the stream creation in Response.php
  • f5c2adc phpcs fix
  • 6f15732 Added the stream object to the Response class
  • ae1527d Change the default form field type to text not textarea.
  • 0a3f52e Small changes to selectloader
  • f06a893 PHPCS..
  • 526e964 Add missing try/catch and refactor duplicate code.
  • 7c5135e Adding the PSR7 interface to the Response object
  • e748972 Coding standard fixes.
  • 25acb4a Started implementing the PSR7 response interface
  • abd13e5 CS fixes
  • dbbf698 Adding doc blocks
  • ed38b1c Deleting unused traits and adding a file missed in previous commit
  • 1707f0c Migrated BelongsToMany to use the new SelectLoader
  • 4955a51 Migrated HasMany to use the new SelectLoader
  • d66a254 Migrating BelongsTo to use the new SelectLoader class
  • c35c908 Strating to refactor SelectableAssociationTrait into a separate class
  • 30e118c Refactor tests to use a provider.
  • e646773 Add support for PSR7 file objects in Validation methods.
  • 0b15661 Move tests for Http\Client.
  • 243fb15 Fix failing test.
  • a4b78b3 Fix use ordering.
  • 49722a8 Move request to http package.
  • 3a40262 Don't use ArrayAccess in tests either.
  • b99e139 Convert use of func_get_args() to ... operator.
  • 50e8b21 Update request usage in View classes.
  • 420508b Update call sites of request in Helpers.
  • adf76ee boolish -> boolean
  • 30d63d1 param hinting
  • 61608ca improve doc blocks
  • 2f5962e improve doc blocks
  • b4aed24 Use fewer empty calls.
  • 912bebf allow value lists for boolean, truthy, falsey to actually be replaced/changed/removed
  • cecd991 add truthy and falsey validation rules, make boolean validation rule consistent in handling boolish values as truthy and falsey now do
  • 1377aa8 Move read operations to use un-deprecated APIs in components.
  • 4101795 Don't use deprecated APIs internally.
  • 6972897 Fix PHPCS error.
  • 7b8b439 Don't use deprecated method in test.
  • 45ca5d0 Use instances of Network\Request everywhere.
  • 3f8274d Fix insecure login redirection
  • 7c593cb Remove failing test.
  • 17fcc70 rename to chunkWithKeys
  • 572bfff Change chunk to chunks
  • a4cbd70 Preserve keys option on Collection::chunk
  • 06c36eb 3.x HTTP 306 is deprecated and should not be used
  • df0d378 Finish implementing withUri() and the PSR7 interface.
  • 4ae820d Address code review comments.
  • 1d39a9d Fix PHPCS errors.
  • 4e1b066 Fix doc block.
  • 6a5d9b2 Use new methods internally & deprecated part of header()
  • 7e83776 Implement getHeaders() and hasHeader()
  • dcedc0ce Implement withAddedHeader
  • f6393f3 Implement withoutHeader
  • 95d9b06 Extract common code into a helper method.
  • cea85d7 Implement withHeader()
  • 6501fd9 Start implementing getHeader() and getHeaderLine()
  • 1b7bb0a Add requestTarget implementation.
  • 2a8d9ab Allow complex urls for login action.
  • 14f960a Add description.
  • ecb3d33 Use a class constant for easier extandability.
  • 59fec3d Use a class constant for easier extandability.
  • 123af93 Fix phpcs errors.
  • 46b06a0 PHPCS errors.
  • 1dae2c1 Add tests for Uri object being correct.
  • 81fc2f8 Remove TODO.
  • e1feed3 Make the session an attribute as well.
  • f334cd2 Remove old URL handling code.
  • bc19b3a Implement withUri() and tests for getUri() as well.
  • dd584fe Add getUri() method.
  • 61c4267 Add in uri property.
  • 2a6cb81 Fix failing tests in Http package.
  • dbc5d41 Start refactoring URL handling to use PSR7 implementation.
  • 1605646 PHPCS.
  • a1e5181 Implement protocolVersion methods.
  • 49e7e62 Fix PHPCS.
  • e9f7c41 Fix tests that relied on protected methods.
  • ffa464d Adding test for host url redirect.
  • 169ee49 Add PSR7 body methods.
  • 0010c72 Refactor input() tests to not rely on protected methods
  • cf8ba17 Add result type casting for simple column aliases.
  • 4fc0c09 Cover objects in constructor case.
  • cfadb8f Login redirect fix for tab safe re-login using query string.
  • 7222b45 Fix PHPCS errors.
  • 96630e2 Add accessor for reading individual files.
  • 7f43e3d Implement withUploadedFiles
  • be47f25 Add getUploadedFiles and tests.
  • 07741a3 Update Request file processing to use objects.
  • 7910ce9 Refactor file processing to make adding PSR7 files easier.
  • 56fb4ad Fix typo.
  • 9881530 Fix PHPCS errors.
  • f795822 Implement parsed body methods.
  • 7aafb67 Add cookie and environment methods for PSR7 interface.
  • 83dbcd8 Add validation for the HTTP method.
  • 149c9ba Implement PSR7 flavour for method & query data.
  • 1ffdf32 Deprecate properties that will become attributes in the future.
  • 4beec44 Consolidate the emulated property definitions.
  • 9115eb1 mark __get and __set as deprecated
  • 4dfd141 Fix PHPCS errors.
  • bd46657 Add emulation for public properties.
  • 20e8d3c Add initial implementation of attributes.
  • 6f3c028 fix SecurityComponentTest, does not use event data for test
  • 44fca0e fix phpcs
  • 6e64ec5 fix phpcs
  • fbc1343 fixes some phpcs and removes deprecated warnings
  • 6f0ee46 fix phpcs
  • 783d09f missed one data read
  • 9e06527 fix usage of data and result on some event objects
  • 246682d fix assert on _data property
  • fc5e8a9 adds Event type hinting to unit tests
  • 61fe5ce fixed reading data property on tests
  • 9ada469 adds methods for Events with deprecate warnings for data property
  • 2381612 De-duplicate tests.
  • 8c395d6 Rename valuesSources to valueSources
  • f5bf476 Re-add query() getting all parameters.
  • 2b84d3b Use static instead of self as IDEs deal with it better.
  • e311da6 blank line in before closing return statement
  • f7d1ddd made source context pass through to next source if no value found for context source
  • 4eecbfe fixed default/schemaDefault null-case scenario (isset not ==! null), added tests for that
  • 2150a24 Implement setter for param() that supports immutable objects.
  • ce6cf6a Implement withData()
  • 9ed5925 Deprecate public properties that have accessor methods.
  • 477e756 Deprecate the ArrayAccess interface methods.
  • cb979eb typo durch
  • 8fd01a1 typo docblock
  • 41677c7 fix docblock
  • 39d53a9 reset value Sources via end(), split up tests, extend tests for filtering of invalid sources and form end() resetting
  • 375a4e4 make FormHelper::create() not overwrite existing valuesSources configurations, added tests
  • 95ea387 php7.1-beta3 is segfaulting :(
  • 83add78 remove specific php5.5 code
  • 732fd56 target PHP 5.6
  • 7e75a77 Bump PHP version to 5.6 for 3.4.
  • 2f157af fix failing tests for previous commit
  • d991ded use html entity elipsis in html content
  • 7bc0d4e use ellipsis character in pagination helper
  • 432c451 use fqcn in doc block
  • a7a7773 public > protected
  • da47cd4 make fallback loader just a special name loader
  • 3965f76 fix code style
  • 6700abb rename methods and properties
  • de8a33c comply with php <7
  • ddabfa7 add ability to set a custom fallback translator
  • 88e2665 Update version file for start of 3.4.0-dev
  • 6bcd8a1 set context as default valueSource even before constructor or create() are being run
  • c31b83e remove consumed option, declare correct return types
  • 87bcbac remove empty line
  • b37f531 declare instance variable, add docblocks
  • 48bd343 remove default values for vanilla behaivor
  • 4bbd72e use methods instead of array access to allow dot notation while assuming there is never null within $this->data->post[]/query[]
  • 9b49d5a make stickler as quite as possible for the time being :E
  • f41fdbc placeholder docblocks
  • e9e5277 stickler-ci
  • 521c42f allow to specify the source of injected form field values
Back

Changelogs