diff --git a/CHANGELOG.md b/CHANGELOG.md index caad7c356f..0f7d1ef9ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## Version 0.2.1 +* Release date: February 2, 2016 +* Release status: Public Preview + +## What's new in this version +* HotFix for issue [#669] "Results Panel not Refreshing Automatically". This issue impacts users on VSCode 1.9.0 or greater. + ## Version 0.2.0 * Release date: December, 2016 * Release status: Public Preview @@ -70,4 +77,5 @@ Report issues to [Github Issue Tracker] and provide your feedback. [manage connection profiles]:https://github.com/Microsoft/vscode-mssql/wiki/manage-connection-profiles [OpenSSL requirement on macOS]:https://github.com/Microsoft/vscode-mssql/wiki/OpenSSL-Configuration [Windows 10 Universal C Runtime requirement]:https://github.com/Microsoft/vscode-mssql/wiki/windows10-universal-c-runtime-requirement -[Operating Systems]:https://github.com/Microsoft/vscode-mssql/wiki/operating-systems \ No newline at end of file +[Operating Systems]:https://github.com/Microsoft/vscode-mssql/wiki/operating-systems +[#669]:https://github.com/Microsoft/vscode-mssql/issues/669 \ No newline at end of file diff --git a/README.md b/README.md index ad12b58850..0c9ee64350 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,8 @@ See [the SQL developer tutorial] to develop an app with C#, Java, Node.js, PHP, demo +## What's new in 0.2.1 +* HotFix for issue [#669] "Results Panel not Refreshing Automatically". This issue impacts users on VSCode 1.9.0 or greater. ## What's new in 0.2.0 * Peek Definition and Go To Definition support for Tables, Views and Stored Procedures. @@ -146,4 +148,5 @@ This extension is [licensed under the MIT License]. Please see the [third-party [Microsoft Open Source Code of Conduct]:https://opensource.microsoft.com/codeofconduct/ [Code of Conduct FAQ]:https://opensource.microsoft.com/codeofconduct/faq/ [opencode@microsoft.com]:mailto:opencode@microsoft.com +[#669]:https://github.com/Microsoft/vscode-mssql/issues/669 diff --git a/package.json b/package.json index 72e7b35c93..a1f982e45f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mssql", "displayName": "mssql", - "version": "0.2.0", + "version": "0.2.1", "description": "Develop Microsoft SQL Server, Azure SQL Database and SQL Data Warehouse everywhere", "publisher": "ms-mssql", "preview": true, diff --git a/src/models/SqlOutputContentProvider.ts b/src/models/SqlOutputContentProvider.ts index 5a046b0da8..95659a6542 100644 --- a/src/models/SqlOutputContentProvider.ts +++ b/src/models/SqlOutputContentProvider.ts @@ -412,12 +412,16 @@ export class SqlOutputContentProvider implements vscode.TextDocumentContentProvi // URI needs to be encoded as a component for proper inclusion in a url let encodedUri = encodeURIComponent(uri.toString()); - // return dummy html content that redirects to 'http://localhost:' after the page loads + // Fix for issue #669 "Results Panel not Refreshing Automatically" - always include a unique time + // so that the content returned is different. Otherwise VSCode will not refresh the document since it + // thinks that there is nothing to be updated. + let timeNow = new Date().getTime(); return `