CakePHP Changelogs

Version 3.0.0-beta1

  • ec65de0 Update version number to 3.0.0-beta1
  • 5d53868 Fix failing test.
  • 684d556 Adding a test case for using a custom finder for associations
  • 52c2674 Add missing type to api docs.
  • 04bb238 fix test
  • 431088d Better typehinting.
  • 0e009ab Remove a bunch of dead code.
  • 5f5afb7 Fix issue where Router::extensions() would not be correct.
  • c89dc17 Rename Route::parseExtensions() to Route::extensions()
  • 817cc77 Fix issue where RouterBuilder::scope() would not allow 2 arguments.
  • b82a09f Using Association::find() in Association::attachTo()
  • 06f727e Renamed option in CounterCache from finderType to finder
  • a106f21 Try and fix the release package uploading issues.
  • 190f10f Adding some doc blocks
  • 94fef9f Using th edefault finder method in Association
  • 3f2b62a Fix short echo CS in view bake templates
  • fb45363 Starting to add the new finder method in Association
  • 3497a49 Add tests for postgres + sqlserver schema.table names.
  • bbc2a63 Remove extra newline in table bake when no associations
  • 5319e3c cascadeCallbacks() doc updated
  • 709cbab Added cascadeCallbacks accessor/mutator test
  • 9085ebb Added cascadeCallbacks accessor/mutator
  • 2d86edc removes confusing language
  • bd0daa5 Enable CakePHP ORM to accept PostgreSQL and SQL Server schema.
  • 67eb9a9 Deleted @property reference to removed AclComponent
  • ceb7a24 Do not generate a primary key input field in baked forms as that is not required anymore.
  • ce53fe8 Unskip a few test cases.
  • 22d2e32 Unskip test.
  • a3d7d2a Fix callable arrays being mishandled by ValidationRule.
  • 34065e4 Making sure the session is started before the id is regenerated
  • e9dd234 Fix failing tests on windows.
  • 2818ee6 flash component bugfix
  • e57de08 Exceptions need to be instances.
  • b2ed6a2 Fix 0/'0' not being patched properly.
  • 89bb1fa Executing multiple init commands rather than using PDO::MYSQL_ATTR_INIT_COMMAND. PDO::MYSQL_ATTR_INIT_COMMAND does not support multiple commands as reported in https://bugs.php.net/bug.php?id=48859
  • 4f0d501 Fix testcase.
  • f2d1bb3 Testing namespaces should be under autoload-dev.
  • f56739c Update missing_behavior.ctp
  • ca50734 Fix typo in Behavior doc block
  • f7597d4 Re-add SQL to Query exports.
  • bcd672f Fix missing property definition.
  • 16c8417 Fix failing tests.
  • af6208c Automatically decompress gzip response bodies when possible.
  • 0c55ad8 Remove SQL from debug output for a query object.
  • 9f18e54 Fix bake templates so they use current i18n markers.
  • d459aa7 Fix up patch not being supported by edit in baked controllers.
  • c77b351 BelongsTo associations are safe to bake even for composite keys
  • 16e6dc8 Temporary hack for #4313
  • 9af768b Avoiding a call to session_regenerate_id() when there is no id
  • d047509 Add some white space to error logs for better readability.
  • 2d94b3d Update docblock.
  • c6a735b Allow string extensions to be provided to RouteBuilder::extensions()
  • 0400a63 Forward port fixes for #4294 from 1.3 to 2.x
  • 07937d5 Correct typo.
  • 8a4fdc4 Fix failing tests.
  • 7f4aa7c Fix typo.
  • 63e6d38 Mark fields as not dirty when they are unset.
  • e10a52f Improve docblock formatting.
  • 1a962df fix test
  • fc9b288 Add Shell::param()
  • 5ae00e9 Fix typo
  • 646fe4e Fixed typos
  • e9456c2 Adding tests for serializing a query to json
  • 44ef9db Making Query json serializable
  • 0c1a7fe add MissingDatasourceException test
  • edc6490 Removed Vendor folder from plugin baking task, updated test
  • 6e1b8f3 Added missing folders to plugin baking task, updated test
  • 54b8c1d remove missing_database.ctp
  • 32775a6 Move tests path under "autoload-dev".
  • 05d8a19 Add a null caching engine.
  • 2fc00df Make schema internal methods consistent.
  • 7f2d356 Add collation to reflected schema values.
  • 623fe8b Add hook to describe table options when reflecting a table.
  • ecadccc Close cursors that are done.
  • d3f43ab Make session cookie path setting a bit DRYer.
  • 2936f6d Update docblock.
  • df3148a Avoid unnecessary Hash::merge() call.
  • 47f88fa Remove App::objects().
  • a02794a Remove App::objects() call.
  • 3c00ea4 Don't use pass by ref variables.
  • 65cacbc Don't use App::objects() in command shell tools.
  • 3f10889 Remove reliance on App::objects() from Plugin::loadAll()
  • c052437 Hopefully fixed SQL server this time
  • 4b9ee0d Figuring out what SQL is offending SQL Server
  • 688082d trying to trigger a SQL server build error
  • bc68b86 Rename "cookie_path" to "cookiePath" for consistency.
  • 266818a Update docblock.
  • be8db3d Fix docblock
  • f6590bd Add "cookie_path" as shorthand for php.ini's "session.cookie_path" config.
  • 22c374c Use EntityTrait->has() where possible.
  • 3f0bd20 Expand has() so we can check multiple properties at once.
  • c069653 More correctly fix issue where new entities would trigger an exists() query.
  • 67d7db0 Tidy up docblock.
  • 14db1a5 Fix missing behavior class name
  • 15a8e71 Use Plugin::classPath() instead of hardcoded "src" in path.
  • ec84c26 Set default cookie path to app's base path instead of "/".
  • df9c6ed Moved logo below badges.
  • 6e9bb5a Fix exists() being called on every save() operation.
  • 02fae33 fixing test
  • cbde006 fix Database driver message template
  • 5c41beb add test for missing datasource template to be rendered
  • 7930a43 Fixed typo
  • 5927ea0 Fixes #4253
  • 98ca880 Split out Integer and Float type converters.
  • 2a0f351 Remove namespace from baked routes file.
  • 808d499 Added ConventionsTrait::_pluginNamespace().
  • c70db96 Make Date/DateTime/Time types convert '' to null.
  • 821a7df Improving doc block
  • 205ee0a Avoid prefixing translation files with vendor name for vendor namespaced plugins.
  • 1280fe0 Revert backslash to forward slash in vendor namespaced plugin names.
  • a8bb23f Trying to speed up a bit appveyor builds
  • a69f371 Altering test in hope of making SQL server happy
  • 0651182 Revert "Fixing tests in SQL Server"
  • 2dc3782 Adding a shortcut collection method
  • 5c19699 Fixing tests in SQL Server
  • 0cf9921 Added support to Comparison expression for using Expressions as the field
  • 7e3ff13 several template correction
  • 6185092 Fix failing postgres tests
  • b39e57e Fix code style errors
  • fd14ac0 Fix test case class name.
  • 1acb8db And forgot the continue statement
  • aae658d Forgot to take into account $value of ExpressionInterface
  • 83e09d8 Defrost the CakeExpression snow flake by replacing the rather unique way it dealt with types with the same technique used in other Expression classes.
  • 5c69ac5 All CakeSchema doc blocks conform to coding standards.
  • 98788a0 Rename UrlHelper::url() to UrlHelper::build().
  • fc852b9 Style tweak.
  • 1285a05 Added additional 3.0 doc link.
  • 813357f Adds a link to the README for people like me that don't spot the CONTRIBUTING.md file in root folder.
  • 8051888 Same fix for the view template
  • 10ae8e0 Avoiding notices in bake templates
  • 4a0f42e Doc block capitalization corrections as requested.
  • fe2846f Move blank primary key filtering to the marshaller.
  • 3bbd1ba fix folder and error message for missing component
  • 8179495 fix folder in missing plugin
  • b1a733e fix missing helper view
  • 5bf16ed Not setting the cookie timeout, it is better if the user can control this setting
  • 5cc3ef0 Automatically set the value type for the case statement
  • 6d9aeff Fix typo in comment.
  • 90a7016 Fix entity saving when '' is used as a primary key value.
  • 2efa483 Fix camelizing of vendor namespaced plugin names.
  • cf7b129 Fixed CS error
  • 39ad738 Fix translation file loading for vendor namespaced plugins.
  • a978901 Remove usage of purged method Plugin::namespace().
  • 9aca863 Remove plugin namespace aliasing and shortening.
  • 555d941 Use backslash in plugin name when loading.
  • c68ec84 Fix failing tests and PHPCS errors.
  • 68ee2f8 Remove TestCase type hint in FixtureManager.
  • 62bd823 Doh, actaully add UrlHelper to repo.
  • 6cd3dca Update helpers to use UrlHelper.
  • 6a3fd97 Move all url generation methods from Helper to UrlHelper.
  • 80381bc Use Request::env() instead of overriding globals.
  • df28a0d Minor optimization.
  • 8bec213 Update .travis.yml
  • ae76e5e Remove redudant usage forms for Router::url().
  • 7d8d2f2 Code sniff fix.
  • d1ec92f Alternate fix to delete queries with aliases.
  • 3334bfa Slim down travis build matrix
  • 9b9600f CakeSchema naming fallback.
  • 543e520 Corrects logic to only apply default filename in **all** cases where none provided.
  • 4413c8d Fixing more time related tests
  • 553d794 Fixing failing tests and making timeAgoInWords() actaully locale aware
  • 6358208 Figures it'd be a missing paren.
  • be9be48 More predictable default for CakeShema class naming.
  • f93029b SchemaShell always uses --file param when present.
  • 21c5b0d Unalign doc block
  • b8c00d4 Fix failing test on SqlServer
  • 820f522 Add integration test for the CaseExpression
  • c053eb4 Add doc block for QueryExpression::addCase
  • 3b138e9 Numerics should be treated the same as strings when compiling the sql
  • fe536e0 Change from QueryExpression to ExpressionInterface in docs
  • d212505 Allow for multiple "WHEN" parts
  • 7572b8e Fix copy-paste error
  • 369d15d Add case expression class for simple SQL case statements
  • 0d6f202 Fix deleting with aliased conditions.
  • 6ebfd74 Fix routes not matching without trailing /
  • 120bd37 Be forward compatible to PHP 7's "Uniform Variable Syntax"
  • 08de821 Update docblock.
  • c75c7a7 Refactor code to allow passing url fragmenent for named routes.
  • 94bda33 Optimized Time::i18nFormat() for when it is run multiple times
  • f16fe0f Allow specifying route name when using url array.
  • 0ae87e3 Add tests for url generated with named route.
  • 084651d Making sure the Cache::remember() funciton is not hit more than once
  • 907656f Add test case for aliased vendor namespaced plugin.
  • 7fb656e Update travis config to speed up builds.
  • b8d4eda Fixes argument order
  • 22ac3e1 Fixed CS error
  • 717e6b0 Update docs - add missing option.
  • 876cb57 Add Query import to generated table class files.
  • a8fbd1e change where() to use IN statement
  • 16c157f Fix exception in date time widget
  • acf02ff Make PHPCS happy
  • 40ce297 Fix undefined variable error.
  • cb45821 Fix reversed arguments in error message.
  • 6888361 Add templates option to numbers()
  • 75207a0 Fix corrupted global state.
  • 4da6fbd Keep the former methods around.
  • 22e551a Default to en_US
  • ddcb3ce Rename remaining tests
  • 49e9220 Update tests for new assert order.
  • ad1d9ea Fixing more sprintf problems and always showing the port in Server shell start
  • fa987c7 Unify assert method argument order.
  • 5db54e7 Fix failing tests.
  • 21828e1 Only add 'day' once with SqlServer DATEDIFF
  • eba8c49 Comparison expressions need to traverse over their own _value property
  • d114fa1 Update join building to not error out on empty conditions.
  • 899e447 Fix plugin file paths in error templates.
  • 440ca24 Use fallbacks() for generated routes.
  • b40eab0 Fixing CS issue
  • e78fa2a Avoiding multiple Cache::remember() calls when loading translators.
  • 2789ab0 Remove numerous calls to in_array().
  • 283bcd0 Remove persistent cache.
  • ebd24c4 Add persistent caching to StringTemplate.
  • cd5d039 Don't call format() to build attributes.
  • 49bdde8 Added links to book
  • 5f5218f Fix cookie reading.
  • 60603cd Make readme more shiney and informative.
  • c3ab3f5 remove old css
  • 79d833b Fixes #4178
  • 5b05ade Add missing sprintf in shell.php
  • 6262b72 Update doc blocks.
  • c22621c Add additional test for inputs in labels.
  • 14d4e05 Fix failure caused by extra plugin classes being added.
  • f366111 Fix doc block error.
  • 49901c5 Remove incorrect reference to strftime.
  • afc5915 Fix an issue where plugin associations would be mishandled.
  • 1fe943d Fix afterFind() called twice with belongsTo and hasOne relationships
  • e5676fe Fixed @return data type
  • 22a1f8a Removing Validation::personId
  • 4957418 Added missing return statement.
  • e714341 Auto-detect composer installed CakePHP folder.
  • 644d1d7 Improving the looks of the auto-table warning element
  • 22e6991 Added an element to warn users about the use of auto-tables
  • b5efe46 Tracking direct instances of Cake\ORM\Table for debugging purposes
  • c9b0bde Investigating if app veyor like this test better
  • 2e3ddb9 Makong sure the cake domain always uses the default formatter
  • ad7b5e3 Fix test.
  • 24c099c Update method/variable names.
  • 816e64b Adjust wording.
  • 3166446 Rename bake option "theme" to "template".
  • bbcdf24 Deprecate ssn() validation in favor of plugin Localized.
  • 2a88c7f Add deprecated tags.
  • 9ef7b57 CS fixes.
  • 864f5e0 Fix notice in CakeSession.
  • 0131f10 Fix an issue with calling Request::method() in a test
  • 4f18b97 Fixed a few typos
  • a7cb1ba Fix Time API docs.
  • 1c79850 Update TimeHelper docs.
  • 4e168ca Fix incorrect docs.
  • d1f55ca Add a setter for FormHelper::context()
  • d2e33f7 Fixing dockblock
  • 20b934b Added more tests for LocaleSelectorFilter
  • 76affbb Added some test for the LocaleSelectorFilter
  • b5a3e01 Added a simple Locale selector filter for using the preferred user language
  • 1cd3247 Using Locale class methods instead of ini_get and ini_set
  • fecb987 Removed unused property
  • 8ec91e8 Consolidating repeated code in the Number class
  • 5525658 Add tests for Number::currency() for peculiar patterns.
  • fbb974e Fixed another CS error
  • bf766e2 Update tests.
  • 3f3cfd2 Move Console/Templates to Template/Bake.
  • 6203bb8 Replaced `.paging` class with `.pagination`
  • 236a90c Fix pagination wrapper
  • cb376bf Add some more transaction tests
  • 2d74a24 Repeating trick
  • f38cea2 Trick to make the CS checker pass
  • 73381b5 Fixing docblocks and some CS errors
  • 2843535 Remiving the last places where cake_dev domain was used
  • 9e1a532 Added comment for a piece of confusing code
  • 0572c81 Fixed typos
  • 4cc8e6e Remove namespace from config files.
  • bd7a745 Make table bake template simpler fixing incorrect semi-colon.
  • c12c03e Pass the connection to mocked models.
  • 575cd8a Fixing tests in PHP 5.4
  • 161ef72 Changing a couple problematic tests
  • 6f9e34d Added the ability to use the international currency code instad of the symbol in Number::currency()
  • e86a447 Added NumberHelper::formatDelta
  • 124189b Added the escape option to methods in NumberHelper
  • 7a28637 Removing Number::addFormat(), given that intl has all formats it was not needed Removed the escaping option from Number methods, they belonto into a helper
  • 939bdb7 Fixed Number::defaultCurrency()
  • c193ce7 Throw exception instead of logging in debug mode.
  • cec48ac Improving Number::defaultCurrency() and fixing issue with showing negative cents
  • 4baccef Fix bootstrap file path in PluginTask.
  • 5523317 Improving docblock for Number::currency()
  • 1381344 Another round of global functions purging.
  • d7946e0 Fixing and adding tests for setting places and precision in Number::currency()
  • f3b653b Fix tests.
  • cbcef93 Purge global functions no longer needed.
  • b4f499f Fix help text for fixture all.
  • 617b98e More improvents to Number::currency()
  • 9de6a5f Add missing subcommand definition.
  • 77a8207 Fix broken options in FixtureTask.
  • 4923387 Fix all() not working with plugins.
  • 799500c Fix transactions do not get rollbacked in saveAssociated/saveMany
  • 3d77ce5 Fix serveral tests pass regardless of whether data is valid or not
  • ea2aa04 Removed the wholeSymbole and wholePosition options in favor of using custom patterns
  • 32ed363 Some work towards getting Number::currency fixed
  • 600e8a9 use correct brackets.
  • 451ab1d Provide session defaults.
  • 48c5cc2 Update paths in docblocks.
  • bd0d13c remove ref to JsHelper
  • 7f2b426 update config folder references
  • 240a858 fix readability for API
  • 2412e53 typos and format fixes for API
  • cfbb087 Update global config() function to use new path.
  • b1d1099 Update bake tasks and templates to use new config folder path.
  • b27976b Update config folder path in templates, comments, docblocks.
  • b7e6cc4 Remove PHP 5.6 builds from allow_failures. They are now passing.
  • 509900d Fix template config file path in StringTemplate.
  • ff4f33b Fix test cases.
  • 23954e6 Update HtmlHelper.php
  • e6c9dc7 Fix CS errors.
  • 59cc18b Update routes file path.
  • 7bf422c Fix incorrect doc block.
  • 2307761 Fix named routes not being indexed for reverse routing.
  • e3f990f Move plugin's /src/Config to /config.
  • 2984c03 Update config readers to look under /config.
  • 6b5f2c9 Fixing Number::formatDelta()
  • ca749fc Move src/bootstrap.php to config/bootstrap.php
  • 3292541 Move /src/Config to /config.
  • 2378afa Making Number::format() locale aware
  • 9acf4fc Removing dead code
  • bfb9fb5 Improving and optimizing code for Number::precision()
  • 96cb76b Fix incorrect handling of inflections in InflectedRoute
  • 335342f Starting to use NumberFormatter in the Number lib
  • 0abef1a Using intl to format numbers produced by Number::toReadableSize()
  • e2ad674 Update tests
  • 642b304 Correct order
  • b44450b Change getDefaults to use + operator instead of array_merge
  • 437b31a Returning $date
  • 11a3650 Corrects problem with paginator component
  • 012d482 Implemented singular form fallback for __n() and __dn()
  • 32feb83 Fixed typo
  • 1c2257d Set time to midnight as described in #4115
  • 2dc13ef Add getter mode for logQueries.
  • 62ed331 rename validation method ssn to personId
  • a3373ac6 Using a stable release of Aura\Intl
  • d118ba3 Removing stray call to __()
  • cf01d37 Remving calls to translationfunctions in the console
  • 0041767 Improving doc blocks
  • bbd3670 Renaming factory() to config() and documenting the function
  • f3e1a18 Fix a fatal error occurs in combination with a scaffold error.
  • 702cd95 Adding I18n::factory() to register generic translator loaders
  • a7407be Starting to implement translator loaders
  • e8e2131 updated `@return` for `user()`
  • aa42b80 `a` / `an` typo fixes fot API
  • ed2a9e7 more typos
  • a5bd710 more typos
  • fb6819a fix another example
  • 1e2fa9f typos
  • 98cc249 fix example
  • b2f0909 minor typos for API
  • f978504 Fix indentation.
  • e6f6ded Adding unit test for HTTP DELETE and RequestHandlerComponent::requestedWith
  • 0af698c Updating RequestHandlerComponent to accept body of HTTP Delete requests
  • 69a9d70 3.0 - correct path in missing_layout suggestions
  • 83b6478 Adding file missing in previous commit
  • 0b85c35 Fix up code formatting and structure for #3998
  • e08b814 throw CakeException instead, putting throws tag in the comment
  • 809de69 replace whitespaces with TABs and only throw exception when Cake is in Debug mode
  • 792c251 throw an Exception when header is already been sent
  • ba85edc Now plugin translations can be overridden by files put in the app folder
  • 20d27d7 Temporarily using dev-develop for aura/intl since it contains a fix we rely on
  • ca38209 Fixing more tests in PHP 5.4
  • 319617d Fixing ICU formatter tests for PHP 5.4
  • 07cbe6e small typos correction
  • e6b4e10 Fix sprintf calls.
  • e0c5c4e Escape error template message output
  • b696b81 Update make script.
  • 3c1d3ee Deprecate CacheHelper.
  • 84e4b8d Consistent usage of short echo and sprintf
  • 263d9e6 Reusing instances of MessageFormatter as it is slightly faster
  • babc5bb Improving docblocks and fixing test
  • 1720b81 Remocing code that at the end was not actually useful as it was growing in complexity.
  • 6fa2765 Implemented cache for translator objects in I18n
  • d53d045 Added the ability to merge the loaded translators from two different registries
  • 7b61c06 Starting to implement translations caching
  • 6b2cb9d Fix default formatter key name check.
  • 1758249 Rename default formatter key from "basic" to "default".
  • c200bc0 Remove LC_MESSAGES folder from tests.
  • db6db46 Fixed the __x() function and added tests
  • 2db472c ADding mesage context support to the ICU formatter
  • 10eb331 Adding message context support in SprintfFormatter
  • 3fd246e Parsing and sotring the message context in .po files, this will be used to namespace strings inside the same translations bundle
  • e40ad07 Restoring default locale after tests
  • 4e52941 Fix CS errors.
  • 3eb4345 Also updating the new __x() function
  • 447ca25 Removing the concept of category out of ExtractTask
  • 8e2dd71 Removing call to __c()
  • 5c1248a Added examples to MessagesFileLoader
  • c462a1d Remove unused files.
  • 80e5055 Remove the need for a LC_MESSAGES folder.
  • 9231cc0 Removing tests that already exist in I18nTest
  • b199b45 Fixing some small issues
  • f537fb3 Added example of use for MessagesFileLoader
  • e8677b1 Fixed formatting
  • b188d67 Make year range validation less strict by default.
  • 7b8ffb9 Allowing arrays to be passed as formatting arguments in translation funcitons
  • 545f244 Adding tests for the basic translation functions
  • cb96515 Updating the basics' translation functions.
  • 7a3319e Fixing CS error
  • 96f66bf Adding doc blocks to I18n
  • c0baae7 Adding docblocks to MessagesFileLoader
  • ff39244 Simplifying and fixing the defaultLocale() logic
  • 6a17582 Added a I18n::defaultLocale() method which alter intl.default_locale
  • 77ff1ba Correctly implementing plugin translation files auto loading
  • 6329a5e Implemented ability to set a custom formatter to translation packages
  • 59be3d1 Added configuration for the icu formatter
  • d91f479 Added an ICU string formatter that uses the MessageFormatter class
  • 094790e Added test for SprintfFormatter
  • 5a6009e Added doc block
  • 99d706c Fixing arabic and welsh plural rules
  • 66a8af3 Unit tested romanian plural rules
  • a26efea Fixing plural rules for polish
  • 6481142 Fixing plural rules for latvian
  • 3d58388 Fixing maltese plural rules
  • e7b0dd1 Fixing plural rules for macedonian
  • 10cd91e Fixing plural rules for slovenian
  • 7accf2d Starting to test PluralRules
  • fd11578 Added a PluralRules class to correctly select the plural form for each langauge
  • fbeb8fe Add the other translation shortcuts for context support
  • 89942a6 Implementing naive plural selection and a Sprintf message formatter
  • a9bf58f Sotring plurals as an array instead of a magic string, this will be easier to manage
  • 78cee28 Removing function that was not a good idea to leave around
  • 59086da Adding some doc blocks
  • 1545f99 Added a chain messages loader to automatically load .mo files if available
  • 77d8c11 Cleaning up some code
  • eeadc30 Abstracting the old MessageLoader so that it can use any parser
  • 7204112 Moving the parser files ot a better location
  • a4e8a3b Starting to rename some file
  • c93f3b6 Added a .mo file loader
  • b0ed9f1 Removed dead test file
  • ff8e5d2 Logic for loading the .po files from APP and plugins
  • 14ba631 Added file header
  • bfd685c Added a PoFile loader
  • c2a1798 Hacky version of the new I18n lib using Aura\Intl
  • dc673a6 Removing L10n as the intl is much better at what it did
  • da8f5dc Starting to re-implement I18n
Back

Changelogs