Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.8.0 Release #16623

Merged
merged 41 commits into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
2b730be
[#16591] - fix: correct the \Serializable implementation.
noone-silent May 21, 2024
73321dc
[#16591] - chore: added missing changelog changes
noone-silent May 21, 2024
329c2dd
Merge pull request #16592 from noone-silent/T16591-fix-wrong-serializ…
niden May 21, 2024
8b208bd
corrected constants; adjusted test
niden Apr 5, 2024
35a8c30
Merge pull request #16595 from niden/5.0.x
niden May 21, 2024
afd403d
updating version that I forgot
niden May 22, 2024
8d91b54
correcting version that I forgot
niden May 22, 2024
32630bd
[#16593] - fix: fixed memory leak by anonymous function in PascalCase…
noone-silent May 24, 2024
34be74c
Merge branch '5.0.x' into T16593-fix-memory-leak-by-anonymous-function
niden May 24, 2024
5c3d3fa
Merge pull request #16598 from noone-silent/T16593-fix-memory-leak-by…
niden May 24, 2024
bee6429
[#16593] - fix: fixed memory leak by anonymous function in PascalCase…
noone-silent May 24, 2024
5cf6af2
correcting interface for getHostname
niden May 31, 2024
b1dbf3e
removing docker version
niden Jun 1, 2024
117edea
updating changelog
niden Jun 1, 2024
ba0c1af
Merge pull request #16602 from niden/T16601-gethostname
niden Jun 2, 2024
ba37efd
Bump `ZEPHIR_PARSER_VERSION` to `1.6.1`
Jeckerson Jun 4, 2024
fbd561c
Update 'phalcon/zephir' package
Jeckerson Jun 4, 2024
261725b
Remove unused 14__closure
Jeckerson Jun 4, 2024
d5976e4
Regenerate ext/ directory
Jeckerson Jun 4, 2024
994d0f9
Regenerate build/phalcon/ directory
Jeckerson Jun 4, 2024
096f611
Enable MacOS in matrix
Jeckerson Jun 4, 2024
d371084
Merge pull request #16605 from phalcon/fix-ci
Jeckerson Jun 5, 2024
b24c728
bumping ilammy/msvc-dev-cmd action version
niden Jun 3, 2024
5860d59
updating composer
niden Jun 3, 2024
9556898
aligning interface parameter names
niden Jun 3, 2024
eb4b30f
more interface parameters corrections
niden Jun 3, 2024
3c2d147
[#16606] - feat: added events and events manager to storage and cache…
noone-silent Jun 7, 2024
566c600
[#16606] - fix: added missing EventsAwareInterface
noone-silent Jun 7, 2024
fb51b02
changed compileSource to also return array
niden Jun 7, 2024
4cc3237
updated changelog
niden Jun 7, 2024
8827949
Merge pull request #16609 from niden/T16608-compiler-compilesource
niden Jun 7, 2024
09a6657
[#16606] - refactor: changed fire method to request key/keys.
noone-silent Jun 8, 2024
fbb8318
Merge pull request #16607 from noone-silent/T16606-add-events-to-stor…
niden Jun 8, 2024
d351f38
[#16604] - fix: correctly handle transaction rollbacks if exceptions …
noone-silent Jun 10, 2024
f8af0bc
[#16604] - fix: fixed cs error and psalm warning.
noone-silent Jun 10, 2024
498e6fb
[#16604] - Merge branch 'refs/heads/5.0.x' into T16604-catch-exceptio…
noone-silent Jun 10, 2024
8cfc6b7
Merge pull request #16610 from noone-silent/T16604-catch-exception-ro…
niden Jun 16, 2024
3c07c6c
bumping version
niden Jul 9, 2024
4cbe5a2
refreshing build and ext
niden Jul 9, 2024
c4a088f
composer update
niden Jul 9, 2024
29ce418
Merge pull request #16622 from phalcon/v5.8.0-prep
niden Jul 9, 2024
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
Prev Previous commit
Next Next commit
[#16593] - fix: fixed memory leak by anonymous function in PascalCase…
….zep
  • Loading branch information
noone-silent committed May 24, 2024
commit 32630bde22957a9c9a18c4ccdb4df2523f83b0ca
12 changes: 12 additions & 0 deletions CHANGELOG-5.0.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## [5.7.1](https://github.com/phalcon/cphalcon/releases/tag/v5.7.1) (XXXX-XX-XX)

### Changed

### Added

### Fixed

- Fixed `Phalcon\Support\Helper\PascalCase` causing memory leak by anonymous function [#16593](https://github.com/phalcon/cphalcon/issues/16593)

### Removed

## [5.7.0](https://github.com/phalcon/cphalcon/releases/tag/v5.7.0) (2024-05-17)

### Changed
Expand Down
14 changes: 6 additions & 8 deletions phalcon/Support/Helper/Str/PascalCase.zep
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,16 @@ class PascalCase
string text,
string delimiters = null
) -> string {
var exploded, output;
var exploded, output, element;

let exploded = this->processArray(text, delimiters);

let output = array_map(
function (element) {
return ucfirst(mb_strtolower(element));
},
exploded
);
let output = "";
for element in exploded {
let output = output . ucfirst(mb_strtolower(element));
}

return implode("", output);
return output;
}

/**
Expand Down