Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG-5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes are documented here. The format is based on [Keep a Changelo

## [Unreleased](https://github.com/phalcon/cphalcon/releases/tag/xxxx) (xxxx-xx-xx)

> **Upgrade note:** `Phalcon\Html\Link\LinkProvider::getLinks()` and `Phalcon\Html\Link\EvolvableLinkProvider::getLinks()` now return arrays keyed by `spl_object_id()` (integers) instead of `spl_object_hash()` (strings). Code that builds or looks up these keys with `spl_object_hash()` must use `spl_object_id()`. `getLinksByRel()` is not affected. [#17687](https://github.com/phalcon/cphalcon/issues/17687)

> **Upgrade note:** `Phalcon\Session\Adapter\AbstractAdapter` and `Phalcon\Session\Adapter\Noop` now implement `SessionIdInterface` with `create_sid(): string`. Subclasses that override `create_sid()` must declare the `string` return type. New session IDs now come from the adapter as 32 hex characters, so `session.sid_length` and `session.sid_bits_per_character` no longer apply to these adapters. Custom handlers that implement `SessionHandlerInterface` directly must add `create_sid()` and `validateId()` to avoid the PHP 8.6 deprecation. [#17687](https://github.com/phalcon/cphalcon/issues/17687)

### Tools

- Zephir 1.6.1
Expand All @@ -20,6 +24,9 @@ All notable changes are documented here. The format is based on [Keep a Changelo
- `Phalcon\Db\Adapter\Pdo\Postgresql::describeReferences()` returning wrong column pairs for composite foreign keys. [#17680](https://github.com/phalcon/cphalcon/issues/17680)
- `Phalcon\Mvc\View\Engine\Volt\Compiler::compile()` rendering serialized blocks for the second child of a layout when `stat` is `false`. [#17674](https://github.com/phalcon/cphalcon/issues/17674)
- `Phalcon\Mvc\View\Engine\Volt\Compiler::compileCall()` silently dropping `{% call %}` blocks instead of throwing an exception. [#17676](https://github.com/phalcon/cphalcon/issues/17676)
- PHP 8.6 deprecation for session handlers without `create_sid()`: `Phalcon\Session\Adapter\AbstractAdapter` and `Phalcon\Session\Adapter\Noop` now implement `SessionIdInterface` and `create_sid()`. [#17687](https://github.com/phalcon/cphalcon/issues/17687)
- PHP 8.6 deprecation of `spl_object_hash()`: `Phalcon\Dispatcher\AbstractDispatcher` and `Phalcon\Html\Link\AbstractLinkProvider` now use `spl_object_id()`; the keys returned by `getLinks()` are now integers. [#17687](https://github.com/phalcon/cphalcon/issues/17687)
- PHP 8.6 deprecation of `doubleval()`: `Phalcon\Encryption\Security\Uuid\Version1`, `Phalcon\Encryption\Security\Uuid\Version6` and `Phalcon\Mvc\Model` now use `floatval()`. [#17687](https://github.com/phalcon/cphalcon/issues/17687)

### Removed

Expand Down
2 changes: 1 addition & 1 deletion ext/phalcon/12__closure.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ext/phalcon/14__closure.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

126 changes: 63 additions & 63 deletions ext/phalcon/acl/adapter/memory.zep.c

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions ext/phalcon/acl/adapter/storage.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions ext/phalcon/adr/application.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions ext/phalcon/adr/dispatcher.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ext/phalcon/adr/emitter/sapiemitter.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions ext/phalcon/adr/errorresponder.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions ext/phalcon/adr/front/abstracthttpfront.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading