Tags: Roave/no-leaks
Tags
### Release Notes for [1.5.0](https://github.com/Roave/no-leaks/miles… …tone/8) ### 1.5.0 - Total issues resolved: **0** - Total pull requests resolved: **7** - Total contributors: **2** #### enhancement - [173: refactor: remove gc_collect_cycles() called twice for PHP < 8.1](#173) thanks to @sad270 - [172: ci: fix QA Checks README.md linter fail](#172) thanks to @sad270 #### renovate - [171: Lock file maintenance](#171) thanks to @renovate[bot] - [170: Update all non-major dependencies](#170) thanks to @renovate[bot] - [169: Update dependency doctrine/coding-standard to v12](#169) thanks to @renovate[bot] - [167: Update dependency doctrine/coding-standard to v11](#167) thanks to @renovate[bot] #### dependencies,enhancement,renovate - [166: Update dependency vimeo/psalm to v5](#166) thanks to @renovate[bot]
### Release Notes for [1.4.0](https://github.com/Roave/no-leaks/miles… …tone/7) ### 1.4.0 - Total issues resolved: **0** - Total pull requests resolved: **5** - Total contributors: **2** #### renovate - [164: Update dependency doctrine/coding-standard to v10](#164) thanks to @renovate[bot] - [163: Update actions/checkout action to v3](#163) thanks to @renovate[bot] #### dependencies,enhancement - [162: Configure Renovate, drop PHP 7.4 support](#162) thanks to @renovate[bot] #### dependencies - [157: Bump phpunit/phpunit from 9.5.7 to 9.5.8](#157) thanks to @dependabot-preview[bot] - [154: Bump symfony/process from 5.3.2 to 5.3.4](#154) thanks to @dependabot-preview[bot]
### Release Notes for [1.3.0](https://github.com/Roave/no-leaks/miles… …tone/6) ### 1.3.0 - Total issues resolved: **1** - Total pull requests resolved: **15** - Total contributors: **4** #### bug,enhancement - [124: Call `gc_collect_cycles()` always twice, fixed in PHP 8.1, required for PHP 8.0 and earlier](#124) thanks to @mvorisek - [92: Update `LeakyIntegrationTest` to test for both a static an an instanced autoloader, rather than only a static autoloader](#92) thanks to @mvorisek - [90: Single call to gc_collect_cycles don't collect all GC](#90) thanks to @abbadon1334 #### dependencies - [46: Bump symfony/filesystem from 5.2.1 to 5.2.2](#46) thanks to @dependabot-preview[bot] - [44: Bump symfony/process from 5.2.1 to 5.2.2](#44) thanks to @dependabot-preview[bot] - [43: Bump symfony/finder from 5.2.1 to 5.2.2](#43) thanks to @dependabot-preview[bot] - [42: Bump symfony/console from 5.2.1 to 5.2.2](#42) thanks to @dependabot-preview[bot] - [38: Bump symfony/polyfill-intl-grapheme from 1.20.0 to 1.22.0](#38) thanks to @dependabot-preview[bot] - [37: Bump felixfbecker/advanced-json-rpc from 3.1.1 to 3.2.0](#37) thanks to @dependabot-preview[bot] - [36: Bump vimeo/psalm from 4.3.2 to 4.4.1](#36) thanks to @dependabot-preview[bot] - [34: Bump symfony/polyfill-php80 from 1.20.0 to 1.22.0](#34) thanks to @dependabot-preview[bot] - [33: Bump symfony/polyfill-ctype from 1.20.0 to 1.22.0](#33) thanks to @dependabot-preview[bot] - [32: Bump amphp/amp from 2.5.1 to 2.5.2](#32) thanks to @dependabot-preview[bot] - [31: Bump symfony/polyfill-mbstring from 1.20.0 to 1.22.0](#31) thanks to @dependabot-preview[bot] - [30: Bump symfony/polyfill-php73 from 1.20.0 to 1.22.0](#30) thanks to @dependabot-preview[bot] #### documentation - [35: Fixed typo](#35) thanks to @samnela
### Release Notes for [1.2.0](https://github.com/Roave/no-leaks/miles… …tone/4) ### 1.2.0 - Total issues resolved: **1** - Total pull requests resolved: **4** - Total contributors: **3** #### enhancement - [29: PHP 8.0 compatibility](#29) thanks to @Ocramius - [26: Fixed travis](#26) thanks to @xepozz - [14: Verify that Prophecy mocks don't leak](#14) thanks to @Ocramius #### documentation,enhancement - [24: Added hint on how the plugin works](#24) thanks to @staabm - [23: Readme: describe what a leak is](#23) thanks to @staabm
Release [1.1.2](https://github.com/Roave/no-leaks/milestone/5) 1.1.2 ===== - Total issues resolved: **1** - Total pull requests resolved: **2** - Total contributors: **2** bug --- - [21: Rename emptyTest into testMemoryBaselineWithEmptyTestBody](#21) thanks to @goetas - [20: Always getting Could not find baseline test: impossible to determine PHPUnit base memory overhead ](#20) thanks to @goetas enhancement ----------- - [17: Added artwork by @Pivetta](#17) thanks to @Ocramius
This patch release makes sure that negative test memory leak measurements are ignored, rather than leading to test crashes. Total issues resolved: **2** - [12: Added release/build status badges](#12) thanks to @Ocramius - [13: Skipping negative memory measurements for executed tests](#13) thanks to @Ocramius
This release makes usage of the tool much easier, since no `phpunit.xml` additions are needed anymore: just run `vendor/bin/roave-no-leaks`. Also, this version attempts to mitigate scenarios where negative memory usage base profiles are collected, which was previously crashing the entire execution. Base profiles are necessary, but negative memory deltas can appear when the PHP engine compacts memory for arrays, and those can't be controlled, hence we now simply filter out those data points. Total issues resolved: **7** - [3: Remove mistyped character in readme](#3) thanks to @DanielRuf - [4: Edited headers to be more consistent](#4) thanks to @mikeshatch - [7: `Invalid negative memory usage`](#7) thanks to @ldebrouwer - [8: Idea to automatically add listener and extension](#8) thanks to @belgattitude - [9: Add missing test annotation](#9) thanks to @SenseException - [10: Fix: Skip baseline memory profiles that are negative (instead of crashing)](#10) thanks to @Ocramius - [11: #8 Automatic registration of `CollectTestExecutionMemoryFootprints`](#11) thanks to @Ocramius
This is the first stable release of the tool, with stability based on internal tests only. Please try it out and report eventual issues about it, specifically on memory leak detection. Total issues resolved: **2** - [1: Detect memory leaks in test runs](#1) thanks to @Ocramius - [2: Corrected reference to `vendor/autoload.php`](#2) thanks to @Ocramius