Commit d2ca9bba authored by Liang Ding's avatar Liang Ding

🔖 发布 v3.6.7

parent bd1755f3
{ {
"name": "Solo", "name": "Solo",
"version": "3.6.6", "version": "3.6.7",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
......
{ {
"name": "Solo", "name": "Solo",
"version": "3.6.6", "version": "3.6.7",
"description": " 一款小而美的博客系统,专为程序员设计。", "description": " 一款小而美的博客系统,专为程序员设计。",
"homepage": "https://github.com/b3log/solo", "homepage": "https://github.com/b3log/solo",
"repository": { "repository": {
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<artifactId>solo</artifactId> <artifactId>solo</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>Solo</name> <name>Solo</name>
<version>3.6.6</version> <version>3.6.7</version>
<description> <description>
一款小而美的博客系统,专为程序员设计。 一款小而美的博客系统,专为程序员设计。
</description> </description>
......
...@@ -46,7 +46,7 @@ import org.json.JSONObject; ...@@ -46,7 +46,7 @@ import org.json.JSONObject;
* Server. * Server.
* *
* @author <a href="http://88250.b3log.org">Liang Ding</a> * @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 2.0.0.1, Nov 5, 2019 * @version 2.0.0.2, Nov 11, 2019
* @since 1.2.0 * @since 1.2.0
*/ */
public final class Server extends BaseServer { public final class Server extends BaseServer {
...@@ -59,7 +59,7 @@ public final class Server extends BaseServer { ...@@ -59,7 +59,7 @@ public final class Server extends BaseServer {
/** /**
* Solo version. * Solo version.
*/ */
public static final String VERSION = "3.6.6"; public static final String VERSION = "3.6.7";
/** /**
* Main. * Main.
......
...@@ -93,8 +93,7 @@ public class ArchiveDateArticleRepository extends AbstractRepository { ...@@ -93,8 +93,7 @@ public class ArchiveDateArticleRepository extends AbstractRepository {
* @throws RepositoryException repository exception * @throws RepositoryException repository exception
*/ */
public JSONObject getByArticleId(final String articleId) throws RepositoryException { public JSONObject getByArticleId(final String articleId) throws RepositoryException {
final Query query = new Query(). final Query query = new Query().setFilter(new PropertyFilter(Article.ARTICLE + "_" + Keys.OBJECT_ID, FilterOperator.EQUAL, articleId));
setFilter(new PropertyFilter(Article.ARTICLE + "_" + Keys.OBJECT_ID, FilterOperator.EQUAL, articleId));
final JSONObject result = get(query); final JSONObject result = get(query);
final JSONArray array = result.optJSONArray(Keys.RESULTS); final JSONArray array = result.optJSONArray(Keys.RESULTS);
if (0 == array.length()) { if (0 == array.length()) {
......
...@@ -30,7 +30,7 @@ import org.json.JSONObject; ...@@ -30,7 +30,7 @@ import org.json.JSONObject;
* Upgrade service. * Upgrade service.
* *
* @author <a href="http://88250.b3log.org">Liang Ding</a> * @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.2.1.12, Oct 23, 2019 * @version 1.2.1.13, Nov 11, 2019
* @since 1.2.0 * @since 1.2.0
*/ */
@Service @Service
...@@ -91,6 +91,8 @@ public class UpgradeService { ...@@ -91,6 +91,8 @@ public class UpgradeService {
V364_365.perform(); V364_365.perform();
case "3.6.5": case "3.6.5":
V365_366.perform(); V365_366.perform();
case "3.6.6":
V366_367.perform();
break; break;
default: default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment