From 0d13e20a1541dcaf1d3db8cb95e558bb9f86a8be Mon Sep 17 00:00:00 2001 From: William Hesse Date: Thu, 30 Jun 2016 17:57:38 +0200 Subject: [PATCH 1/4] Fix optional parameter to SecurityContext setter The API of security context changed, and "file" is no longer an optional parameter to .setTrustedCertificates, but mandatory. --- test/utils.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utils.dart b/test/utils.dart index 128cb28..d30986a 100644 --- a/test/utils.dart +++ b/test/utils.dart @@ -310,5 +310,5 @@ void setupSecure() { password: 'dartdart'); clientContext = new SecurityContext() - ..setTrustedCertificates(file: localFile('certificates/trusted_certs.pem')); + ..setTrustedCertificates(localFile('certificates/trusted_certs.pem')); } From 01ef725a3762c00d43c48a4990293420551e24d7 Mon Sep 17 00:00:00 2001 From: William Hesse Date: Thu, 18 Aug 2016 15:59:32 +0200 Subject: [PATCH 2/4] Update pubspec.yaml --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index a3905d6..3f2005d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,7 +4,7 @@ author: Dart Team description: Library of HTTP server classes. homepage: https://www.github.com/dart-lang/http_server environment: - sdk: '>=1.0.0 <2.0.0' + sdk: '>=1.15.0 <2.0.0' dependencies: mime: '>=0.9.0 <0.10.0' path: '>=0.9.0 <2.0.0' From b4cc30b08f6787cebb27d09b15ca5f88f72b22d6 Mon Sep 17 00:00:00 2001 From: William Hesse Date: Thu, 18 Aug 2016 16:02:42 +0200 Subject: [PATCH 3/4] Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d13aea8..cc89d7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.9.6 + +* Updated the secure networking code to the SDKs version 1.15 SecurityContext api + # 0.9.5+1 * Updated the layout of package contents. From b4c4878bb10a48ba07e7f3daf6adcd5e099f91bc Mon Sep 17 00:00:00 2001 From: William Hesse Date: Thu, 18 Aug 2016 16:04:26 +0200 Subject: [PATCH 4/4] Update pubspec.yaml Version 0.9.6 --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 3f2005d..db54fed 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: http_server -version: 0.9.6-dev +version: 0.9.6 author: Dart Team description: Library of HTTP server classes. homepage: https://www.github.com/dart-lang/http_server