Skip to content

Commit 1c0b904

Browse files
Merge branch '6.x' into 7.x
2 parents 70a5459 + 32d1ed5 commit 1c0b904

File tree

2 files changed

+25
-9
lines changed

2 files changed

+25
-9
lines changed

CHANGELOG-6.x.md

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,26 @@
11
# Release Notes for 6.x
22

3-
## [Unreleased](https://github.com/laravel/framework/compare/v6.16.0...6.x)
3+
## [Unreleased](https://github.com/laravel/framework/compare/v6.17.0...6.x)
44

5-
### TODO
6-
- Consider mailto: and tel: links in the subcopy actionUrl label. #31522 ([#31523](https://github.com/laravel/framework/pull/31523), [641a7cd](https://github.com/laravel/framework/commit/641a7cda8280ecd3035616d4ce6434434b116624))
7-
- exclude mariaDB from database queue support for new SKIP LOCKED ([fff96e7](https://github.com/laravel/framework/commit/fff96e7df7de470e162a6b7f6dd528e6fe17aadc))
8-
- Fix for issue Content Type not specified ([#31533](https://github.com/laravel/framework/pull/31533))
9-
- MySQL Aurora failover - DetectsLostConnections ([#31539](https://github.com/laravel/framework/pull/31539))
5+
6+
## [v6.17.0 (2020-02-25)](https://github.com/laravel/framework/compare/v6.16.0...v6.17.0)
7+
8+
### Added
9+
- Allowed private-encrypted pusher channels ([#31559](https://github.com/laravel/framework/pull/31559), [ceabaef](https://github.com/laravel/framework/commit/ceabaef88741c0c6a891166cf14eb967fdf4e8ee), [8215e0d](https://github.com/laravel/framework/commit/8215e0dc66bf71a7ff4e9bf260380cf4a26f28a6))
10+
- Added file `permission` config option for the File cache store ([#31579](https://github.com/laravel/framework/pull/31579))
11+
- Added `Connection refused` and `running with the --read-only option so it cannot execute this statement` to `DetectsLostConnections` ([#31539](https://github.com/laravel/framework/pull/31539))
12+
13+
### Reverted
14+
- Reverted ["Fixed memory usage on downloading large files"](https://github.com/laravel/framework/pull/31163) ([#31587](https://github.com/laravel/framework/pull/31587))
15+
16+
### Fixed
17+
- Fixed issue `Content Type not specified` ([#31533](https://github.com/laravel/framework/pull/31533))
18+
19+
### Changed
20+
- Allowed `cache` helper to have an optional `expiration` parameter ([#31554](https://github.com/laravel/framework/pull/31554))
21+
- Allowed passing of strings to `TestResponse::dumpSession()` method ([#31583](https://github.com/laravel/framework/pull/31583))
22+
- Consider mailto: and tel: links in the subcopy actionUrl label in emails ([#31523](https://github.com/laravel/framework/pull/31523), [641a7cd](https://github.com/laravel/framework/commit/641a7cda8280ecd3035616d4ce6434434b116624))
23+
- Exclude mariaDB from database queue support for new SKIP LOCKED ([fff96e7](https://github.com/laravel/framework/commit/fff96e7df7de470e162a6b7f6dd528e6fe17aadc))
1024

1125

1226
## [v6.16.0 (2020-02-18)](https://github.com/laravel/framework/compare/v6.15.1...v6.16.0)

src/Illuminate/Cache/FileStore.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class FileStore implements Store
2828
/**
2929
* Octal representation of the cache file permissions.
3030
*
31-
* @var int
31+
* @var int|null
3232
*/
3333
protected $filePermission;
3434

@@ -44,7 +44,7 @@ public function __construct(Filesystem $files, $directory, $filePermission = nul
4444
{
4545
$this->files = $files;
4646
$this->directory = $directory;
47-
$this->filePermission = $filePermission ?? 0775;
47+
$this->filePermission = $filePermission;
4848
}
4949

5050
/**
@@ -75,7 +75,9 @@ public function put($key, $value, $seconds)
7575
);
7676

7777
if ($result !== false && $result > 0) {
78-
$this->files->chmod($path, $this->filePermission);
78+
if (! is_null($this->filePermission)) {
79+
$this->files->chmod($path, $this->filePermission);
80+
}
7981

8082
return true;
8183
}

0 commit comments

Comments
 (0)