diff --git a/extensions/apidoc/templates/bootstrap/assets/css/style.css b/extensions/apidoc/templates/bootstrap/assets/css/style.css
index 6468186a35..103cd0237e 100644
--- a/extensions/apidoc/templates/bootstrap/assets/css/style.css
+++ b/extensions/apidoc/templates/bootstrap/assets/css/style.css
@@ -211,3 +211,8 @@ h1:hover .hashlink, h2:hover .hashlink, h3:hover .hashlink, h4:hover .hashlink,
.broken-link {
background: lightpink;
}
+
+tr.deprecated td,
+tr.deprecated th {
+ background: lightpink;
+}
\ No newline at end of file
diff --git a/extensions/apidoc/templates/html/views/type.php b/extensions/apidoc/templates/html/views/type.php
index b968dbb33d..d7a7f6253c 100644
--- a/extensions/apidoc/templates/html/views/type.php
+++ b/extensions/apidoc/templates/html/views/type.php
@@ -69,6 +69,9 @@ $renderer = $this->context;
since)): ?>
Available since version | = $type->since ?> |
+ deprecatedSince) || !empty($type->deprecatedReason)): ?>
+ Deprecated since version | = $type->deprecatedSince ?> = $type->deprecatedReason ?> |
+
getSourceUrl($type)) !== null): ?>
Source Code |
diff --git a/extensions/authclient/CHANGELOG.md b/extensions/authclient/CHANGELOG.md
index 88d4e8aa98..452440cde2 100644
--- a/extensions/authclient/CHANGELOG.md
+++ b/extensions/authclient/CHANGELOG.md
@@ -6,6 +6,7 @@ Yii Framework 2 authclient extension Change Log
- Enh #6743: Icon for Google at `yii\authclient\widgets\AuthChoice` fixed to follow the Google Brand guidelines (klimov-paul)
- Enh #7754: New client `yii\authclient\clients\GooglePlus` added to support Google recommended auth flow (klimov-paul)
+- Chg: #7754: `yii\authclient\clients\GoogleOpenId` is now deprecated because this auth method is no longer supported by Google as of April 20, 2015 (klimov-paul)
2.0.3 March 01, 2015
diff --git a/extensions/authclient/clients/GoogleOpenId.php b/extensions/authclient/clients/GoogleOpenId.php
index bd1753729f..393a0649e9 100644
--- a/extensions/authclient/clients/GoogleOpenId.php
+++ b/extensions/authclient/clients/GoogleOpenId.php
@@ -10,12 +10,11 @@ namespace yii\authclient\clients;
use yii\authclient\OpenId;
/**
- * @deprecated
+ * GoogleOpenId allows authentication via Google OpenId.
*
- * Warning: this class is deprecated since Google is shutting down OpenID protocol support!
+ * **Warning: this class is deprecated since [Google is shutting down OpenID protocol support](https://developers.google.com/+/api/auth-migration#timetable)!**
* Use [[GoogleOAuth]] or [[GoogleHybrid]] instead.
*
- * GoogleOpenId allows authentication via Google OpenId.
* Unlike Google OAuth you do not need to register your application anywhere in order to use Google OpenId.
*
* Example application configuration:
@@ -36,6 +35,7 @@ use yii\authclient\OpenId;
*
* @author Paul Klimov
* @since 2.0
+ * @deprecated 2.0.4 because this auth method is no longer supported by Google as of April 20, 2015.
*/
class GoogleOpenId extends OpenId
{