Skip to content

Commit

Permalink
Merge branch 'release/1.0.21'
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Aug 31, 2017
2 parents 718eb68 + 22f4c1d commit 825b9b2
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Retour Changelog

## 1.0.21 - 2017.08.31
### Changed
* Fixed a hardcoded table name in the `referrerUrl` migration

## 1.0.20 - 2017.08.30
### Added
* Retour will automatically trim the `retour_stats` table to the last 10,000 redirects, sorted by date (configurable via `statsStoredLimit` in `config.php`)
Expand Down
2 changes: 1 addition & 1 deletion RetourPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public function getReleaseFeedUrl()
*/
public function getVersion()
{
return '1.0.20';
return '1.0.21';
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class m170710_000000_retour_increaseReferrerUrlColumnMaxLength extends BaseMigra
public function safeUp()
{

$this->execute('ALTER TABLE craft_retour_stats MODIFY COLUMN referrerUrl VARCHAR(2000) DEFAULT "";');
$this->alterColumn('retour_stats', 'referrerUrl', array(ColumnType::Varchar, 'maxLength' => 2000));

RetourPlugin::log('The max length of column referrerUrl has been increased to 2000 ', LogLevel::Info, true);

Expand Down
8 changes: 8 additions & 0 deletions releases.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
[
{
"version": "1.0.21",
"downloadUrl": "https://github.com/nystudio107/retour/archive/master.zip",
"date": "2017-08-31T12:00:00-05:00",
"notes": [
"[Fixed] Fixed a hardcoded table name in the `referrerUrl` migration"
]
},
{
"version": "1.0.20",
"downloadUrl": "https://github.com/nystudio107/retour/archive/master.zip",
Expand Down

2 comments on commit 825b9b2

@thijskaspers
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@khalwat You forgot to tag the release. Composer update still sees 1.0.20 as the newest version.

@khalwat
Copy link
Contributor Author

@khalwat khalwat commented on 825b9b2 Sep 3, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah thanks, I tagged it, but didn't push the tag

Please sign in to comment.