diff --git a/EngagePublish.6.dnn b/EngagePublish.6.dnn
index 3d8bfa88..22ef3330 100644
--- a/EngagePublish.6.dnn
+++ b/EngagePublish.6.dnn
@@ -341,9 +341,12 @@
05.08.06.SqlDataProvider
05.08.06
+
diff --git a/EngagePublish.csproj b/EngagePublish.csproj
index a968e246..76f4f5f5 100644
--- a/EngagePublish.csproj
+++ b/EngagePublish.csproj
@@ -738,6 +738,7 @@
+
@@ -967,6 +968,7 @@
Designer
+
diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs
index 1106fdac..ed0d6eb6 100644
--- a/Properties/AssemblyInfo.cs
+++ b/Properties/AssemblyInfo.cs
@@ -24,8 +24,8 @@
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]
-[assembly: AssemblyVersion("5.8.9.*")]
-[assembly: AssemblyFileVersion("5.8.9.0")]
+[assembly: AssemblyVersion("5.8.10.*")]
+[assembly: AssemblyFileVersion("5.8.10.0")]
[assembly: AssemblyDelaySign(false)]
[assembly: AssemblyKeyFile("")]
[assembly: AssemblyKeyName("")]
diff --git a/Providers/DataProviders/SqlDataProvider/05.08.10.SqlDataProvider b/Providers/DataProviders/SqlDataProvider/05.08.10.SqlDataProvider
new file mode 100644
index 00000000..e4810abb
--- /dev/null
+++ b/Providers/DataProviders/SqlDataProvider/05.08.10.SqlDataProvider
@@ -0,0 +1,49 @@
+IF OBJECT_ID(N'{databaseOwner}[{objectQualifier}Publish_vwItems]') IS NOT NULL
+ DROP VIEW {databaseOwner}[{objectQualifier}Publish_vwItems];
+GO
+CREATE VIEW {databaseOwner}[{objectQualifier}Publish_vwItems] AS
+
+SELECT
+ CAST(CASE i.ApprovedItemVersionID WHEN iv.ItemVersionID THEN 1 ELSE 0 END AS bit) AS IsCurrentVersion,
+ iv.ItemId,
+ iv.OriginalItemVersionId,
+ iv.ItemVersionDate,
+ iv.StartDate,
+ iv.EndDate,
+ iv.LanguageId,
+ iv.AuthorUserId,
+ iv.ApprovalStatusId,
+ iv.ApprovalDate,
+ iv.ApprovalUserId,
+ iv.ApprovalComments,
+ iv.MetaKeywords,
+ iv.MetaDescription,
+ iv.MetaTitle,
+ iv.DisplayTabId,
+ iv.LastUpdated,
+ i.PortalID,
+ i.ItemTypeID,
+ iv.ItemVersionID,
+ it.[Name] AS ItemType,
+ iv.[Name],
+ iv.[Description],
+ iv.Disabled,
+ i.CreatedDate,
+ i.ApprovedItemVersionID,
+ 'Thumbnail' = CASE WHEN fl.FileName IS NULL THEN iv.Thumbnail ELSE fl.Folder + fl.FileName END,
+ ModuleId,
+ i.ItemIdentifier,
+ iv.ItemVersionIdentifier,
+ iv.Url,
+ iv.NewWindow,
+ iv.RevisingUserId,
+ i.ViewCount,
+ i.CommentCount,
+ ivs.PropertyValue AS 'Author'
+FROM
+ {databaseOwner}[{objectQualifier}Publish_Item] i
+ JOIN {databaseOwner}[{objectQualifier}Publish_ItemType] it ON (i.ItemTypeID = it.ItemTypeID)
+ JOIN {databaseOwner}[{objectQualifier}Publish_ItemVersion] iv ON (i.ItemID = iv.ItemID)
+ LEFT OUTER JOIN {databaseOwner}[{objectQualifier}Publish_ItemVersionSettings] ivs ON (iv.ItemVersionId = ivs.ItemVersionId AND ivs.controlname ='lblAuthorName' AND ivs.PropertyName ='Text')
+ LEFT OUTER JOIN {databaseOwner}[{objectQualifier}vw_Files] fl ON iv.Thumbnail = 'fileid=' + CONVERT(varchar, fl.FileID);
+GO
diff --git a/ReleaseNotes_05.08.10.htm b/ReleaseNotes_05.08.10.htm
new file mode 100644
index 00000000..9d83beef
--- /dev/null
+++ b/ReleaseNotes_05.08.10.htm
@@ -0,0 +1,31 @@
+
+
Change Log
+
Version 5.8.10
+
+ - Fix errors from SQL changes in DNN (#22, #25)
+
+
Version 5.8.9
+
+ - Fix stale CAPTCHA image in some circumstances
+
+
Version 5.8.8
+
+ - Add audio CAPTCHA to standard CAPTCHA when in full trust
+ - Fix bug if the user does not have their name setup in their profile
+ - Allow pressing enter key to submit comments and email a friend forms
+
+
Version 5.8.7
+
+ - Add settings to control CAPTCHAs
+
+
Version 5.8.6
+
+ - Update Custom Display query to fix performance issue
+
+
Version 5.8.5
+
+ - Now requires DotNetNuke version 6 or higher
+ - Adds SPAM prevention mechanism to Email a Friend form
+
+
More details can be found on the Engage: Publish Change Log
+
\ No newline at end of file