Skip to content

Commit

Permalink
## 7.5.1 - 2020-05-22
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed May 22, 2020
1 parent 64d28e2 commit 04b5670
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 18 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## 7.5.1 - 2020-05-22

### Changed
- No more packagist download requests
- More space between columns [#1104](https://github.com/orchidsoftware/platform/pull/1104)

## 7.5.0 - 2020-05-19

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/Platform/Dashboard.php
Expand Up @@ -16,7 +16,7 @@ class Dashboard
/**
* ORCHID Version.
*/
public const VERSION = '7.5.0';
public const VERSION = '7.5.1';

/**
* The Dashboard configuration options.
Expand Down
17 changes: 0 additions & 17 deletions src/Platform/Updates.php
Expand Up @@ -45,22 +45,6 @@ public function check(): bool
return $newReleases >= 1;
}

/**
* @throws Exception
*
* @return void
*/
private function updateInstall()
{
$packages = collect(range(0, random_int(10, 20)))->map(function () {
return ['name' => 'orchid/platform', 'version' => Dashboard::VERSION.'.0'];
});

Http::post('https://packagist.org/downloads/', [
'downloads' => $packages,
]);
}

/**
* @throws \Throwable
*
Expand All @@ -70,7 +54,6 @@ private function getVersion()
{
try {
throw_unless(class_exists(Client::class), new Exception("Class 'GuzzleHttp\Client' not found"));
$this->updateInstall();

return Http::get($this->apiURL)->json()['packages']['orchid/platform'];
} catch (Exception | \Throwable $exception) {
Expand Down

0 comments on commit 04b5670

Please sign in to comment.