diff --git a/changelog b/changelog index 086a1d0..eceec8f 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,9 @@ +## [2.9.10] - 2022-01-28 + +## Fixed + +- Updated API domains for apps in the China North region. + ## [2.9.9] - 2021-12-14 ### Added diff --git a/docs/_static/basic.css b/docs/_static/basic.css index 912859b..bf18350 100644 --- a/docs/_static/basic.css +++ b/docs/_static/basic.css @@ -4,7 +4,7 @@ * * Sphinx stylesheet -- basic theme. * - * :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ @@ -731,8 +731,9 @@ dl.glossary dt { .classifier:before { font-style: normal; - margin: 0.5em; + margin: 0 0.5em; content: ":"; + display: inline-block; } abbr, acronym { @@ -756,6 +757,7 @@ span.pre { -ms-hyphens: none; -webkit-hyphens: none; hyphens: none; + white-space: nowrap; } div[class*="highlight-"] { diff --git a/docs/_static/doctools.js b/docs/_static/doctools.js index 8cbf1b1..e509e48 100644 --- a/docs/_static/doctools.js +++ b/docs/_static/doctools.js @@ -4,7 +4,7 @@ * * Sphinx JavaScript utilities for all documentation. * - * :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ @@ -264,6 +264,9 @@ var Documentation = { hideSearchWords : function() { $('#searchbox .highlight-link').fadeOut(300); $('span.highlighted').removeClass('highlighted'); + var url = new URL(window.location); + url.searchParams.delete('highlight'); + window.history.replaceState({}, '', url); }, /** diff --git a/docs/_static/language_data.js b/docs/_static/language_data.js index 863704b..ebe2f03 100644 --- a/docs/_static/language_data.js +++ b/docs/_static/language_data.js @@ -5,7 +5,7 @@ * This script contains the language-specific data used by searchtools.js, * namely the list of stopwords, stemmer, scorer and splitter. * - * :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ diff --git a/docs/_static/searchtools.js b/docs/_static/searchtools.js index 58ff35c..2d77859 100644 --- a/docs/_static/searchtools.js +++ b/docs/_static/searchtools.js @@ -4,7 +4,7 @@ * * Sphinx JavaScript utilities for the full-text search. * - * :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ @@ -328,7 +328,9 @@ var Search = { var results = []; for (var prefix in objects) { - for (var name in objects[prefix]) { + for (var iMatch = 0; iMatch != objects[prefix].length; ++iMatch) { + var match = objects[prefix][iMatch]; + var name = match[4]; var fullname = (prefix ? prefix + '.' : '') + name; var fullnameLower = fullname.toLowerCase() if (fullnameLower.indexOf(object) > -1) { @@ -342,7 +344,6 @@ var Search = { } else if (parts[parts.length - 1].indexOf(object) > -1) { score += Scorer.objPartialMatch; } - var match = objects[prefix][name]; var objname = objnames[match[1]][2]; var title = titles[match[0]]; // If more than one term searched for, we require other words to be diff --git a/docs/index.html b/docs/index.html index 606480f..6e65d42 100644 --- a/docs/index.html +++ b/docs/index.html @@ -132,19 +132,19 @@
基类:Exception
基类:UserWarning
基类:object
根据参数创建一个 leancloud.Object 的子类的实例化对象
根据 objectId 创建一个 leancloud.Object,代表一个服务器上已经存在的对象。可以调用 fetch 方法来获取服务器上的数据
在一个请求中 destroy 多个 leancloud.Object 对象实例。
派生一个新的 leancloud.Object 子类
在一个请求中 save 多个 leancloud.Object 对象实例。
通过 session token 获取用户对象
根据参数创建一个 leancloud.Object 的子类的实例化对象
根据 objectId 创建一个 leancloud.Object,代表一个服务器上已经存在的对象。可以调用 fetch 方法来获取服务器上的数据
在一个请求中 destroy 多个 leancloud.Object 对象实例。
派生一个新的 leancloud.Object 子类
把第三方平台号绑定到 User 上
:param platform: 第三方平台名称 base string
在一个请求中 save 多个 leancloud.Object 对象实例。
param phone_nubmer: string_types param sms_code: string_types
在调用此方法前请先使用 request_sms_code 请求 sms code
@@ -1141,7 +1141,7 @@基类:object
基类:object
根据传入的 Query 对象,构造一个新的 AND 查询。
使用 CQL 来构造查询。CQL 语法参考 这里。
根据传入的 Query 对象,构造一个新的 OR 查询。
基类:object
获取指向 Relation 内容的 Query 对象。
创建一个新的 Query 对象,反向查询所有指向此 Relation 的父对象。
根据参数创建一个 leancloud.Object 的子类的实例化对象
根据 objectId 创建一个 leancloud.Object,代表一个服务器上已经存在的对象。可以调用 fetch 方法来获取服务器上的数据
在一个请求中 destroy 多个 leancloud.Object 对象实例。
派生一个新的 leancloud.Object 子类
在一个请求中 save 多个 leancloud.Object 对象实例。
基类:object
基类:object
当前对象的纬度
当前对象的经度
基类:object
LeanEngine middleware.
基类:object
基类:object
用来在 webhosting 功能中实现自动管理 LeanCloud 用户登录状态的 WSGI 中间件。 使用此中间件之后,在处理 web 请求中调用了 leancloud.User.login() 方法登录成功后, @@ -2696,13 +2696,13 @@
基类:object
表示图形验证码