diff --git a/changelog.json b/changelog.json index b731bf31..1bd682de 100644 --- a/changelog.json +++ b/changelog.json @@ -1,4 +1,14 @@ [ + { + "version": "1.4.10", + "downloadUrl": "https://github.com/engram-design/FeedMe/archive/1.4.10.zip", + "date": "2016-04-14 06:30:00", + "notes": [ + "[Fixed] Fixed issue for repeatable fields containing empty values (table fields).", + "[Improved] FeedUrl attribute stored as `TEXT` column type to allow for longer URLs.", + "[Improved] Improved JSON parsing to use Yii's JsonHelper class, with better logging when failing." + ] + }, { "version": "1.4.9", "downloadUrl": "https://github.com/engram-design/FeedMe/archive/1.4.9.zip", diff --git a/feedme/FeedMePlugin.php b/feedme/FeedMePlugin.php index 5ad92bf4..e00f762a 100644 --- a/feedme/FeedMePlugin.php +++ b/feedme/FeedMePlugin.php @@ -24,12 +24,12 @@ public function getName() public function getVersion() { - return '1.4.9'; + return '1.4.10'; } public function getSchemaVersion() { - return '1.1.0'; + return '1.2.0'; } public function getDeveloper() diff --git a/feedme/migrations/m160414_000000_feedMe_urlTextColumn.php b/feedme/migrations/m160414_000000_feedMe_urlTextColumn.php new file mode 100644 index 00000000..1ece015d --- /dev/null +++ b/feedme/migrations/m160414_000000_feedMe_urlTextColumn.php @@ -0,0 +1,12 @@ +db->createCommand()->alterColumn('feedme_feeds', 'feedUrl', ColumnType::Text); + + return true; + } +} diff --git a/feedme/records/FeedMe_FeedRecord.php b/feedme/records/FeedMe_FeedRecord.php index 59abd3ce..6afe9d7a 100644 --- a/feedme/records/FeedMe_FeedRecord.php +++ b/feedme/records/FeedMe_FeedRecord.php @@ -12,7 +12,7 @@ protected function defineAttributes() { return array( 'name' => array(AttributeType::String, 'required' => true), - 'feedUrl' => array(AttributeType::Uri, 'required' => true), + 'feedUrl' => array(AttributeType::Uri, 'required' => true, 'column' => ColumnType::Text), 'feedType' => array(AttributeType::Enum, 'required' => true, 'values' => array( FeedMe_FeedType::XML, FeedMe_FeedType::RSS,