All notable changes to temporary-directory
will be documented in this file
- DeleteWhenDestroyed documentation by @cosmastech in #74
- Document make method by @openjck in #76
- Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in #77
- [2.x] Fix directories not being deleted in strict mode by @RVxLab in #81
Full Changelog: https://github.com/spatie/temporary-directory/compare/2.2.0...2.2.1
- Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by @dependabot in #67
- Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in #68
- Bump actions/checkout from 3 to 4 by @dependabot in #69
- Remove unused variable in catch block by @peter279k in #71
- Setting to delete when an object is destroyed by @cosmastech in #70
- @cosmastech made their first contribution in #70
Full Changelog: https://github.com/spatie/temporary-directory/compare/2.1.2...2.2.0
- Add dependabot automation by @patinthehat in #58
- Bump actions/checkout from 2 to 3 by @dependabot in #59
- Bump actions/cache from 1 to 3 by @dependabot in #60
- Add PHP 8.2 Support by @patinthehat in #61
- Update Dependabot Automation by @patinthehat in #62
- Normalize composer.json by @patinthehat in #63
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in #64
- Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in #65
- Added try catch by @metaversedataman in #66
- @dependabot made their first contribution in #59
- @metaversedataman made their first contribution in #66
Full Changelog: https://github.com/spatie/temporary-directory/compare/2.1.1...2.1.2
- Update .gitattributes by @erikn69 in #55
- Update .gitattributes by @angeljqv in #56
- Add a function to check if the temporary directory exist without catching PathAlreadyExists exception by @Admiral-Enigma in #57
- @erikn69 made their first contribution in #55
- @angeljqv made their first contribution in #56
- @Admiral-Enigma made their first contribution in #57
Full Changelog: https://github.com/spatie/temporary-directory/compare/2.1.0...2.1.1
- PHP 8.1 Support by @Nielsvanpach in #52
- Update .gitattributes by @PaolaRuby in #53
- feature: add TemporaryDirectory::make() method by @ryangjchandler in #54
- @PaolaRuby made their first contribution in #53
- @ryangjchandler made their first contribution in #54
Full Changelog: https://github.com/spatie/temporary-directory/compare/2.0.0...2.1.0
- require PHP 8+
- drop PHP 7.x support
- use PHP 8 syntax
- use custom exception classes instead of
InvalidArgumentException
andException
- support for PHP 8 (#44)
- force php garbage collection cycle (#40)
- fix deleting temporary directories with broken symlinks (#39)
- create dir with 0777 permissions and allow recursive in empty function (#38)
- delete directories using
FilesystemIterator
- drop support for PHP 7.1 and below
- make sure unique directories are created under heavy load
- use return types instead of php-doc-tags
- do not use periods when generating a name for the temporary directory
- do not use spaces when generating a name for the temporary directory
- added optional $location argument in
TemporaryDirectory
constructor
- initial release
- added chainable methods for creating a temporary directory
- removed create method, use constructor instead
- experimental release