Commit d2ca9bba authored by Liang Ding's avatar Liang Ding

🔖 发布 v3.6.7

parent bd1755f3
{
"name": "Solo",
"version": "3.6.6",
"version": "3.6.7",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......
{
"name": "Solo",
"version": "3.6.6",
"version": "3.6.7",
"description": " 一款小而美的博客系统,专为程序员设计。",
"homepage": "https://github.com/b3log/solo",
"repository": {
......
......@@ -16,7 +16,7 @@
<artifactId>solo</artifactId>
<packaging>jar</packaging>
<name>Solo</name>
<version>3.6.6</version>
<version>3.6.7</version>
<description>
一款小而美的博客系统,专为程序员设计。
</description>
......
......@@ -46,7 +46,7 @@ import org.json.JSONObject;
* Server.
*
* @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
*/
public final class Server extends BaseServer {
......@@ -59,7 +59,7 @@ public final class Server extends BaseServer {
/**
* Solo version.
*/
public static final String VERSION = "3.6.6";
public static final String VERSION = "3.6.7";
/**
* Main.
......
......@@ -93,8 +93,7 @@ public class ArchiveDateArticleRepository extends AbstractRepository {
* @throws RepositoryException repository exception
*/
public JSONObject getByArticleId(final String articleId) throws RepositoryException {
final Query query = new Query().
setFilter(new PropertyFilter(Article.ARTICLE + "_" + Keys.OBJECT_ID, FilterOperator.EQUAL, articleId));
final Query query = new Query().setFilter(new PropertyFilter(Article.ARTICLE + "_" + Keys.OBJECT_ID, FilterOperator.EQUAL, articleId));
final JSONObject result = get(query);
final JSONArray array = result.optJSONArray(Keys.RESULTS);
if (0 == array.length()) {
......
......@@ -30,7 +30,7 @@ import org.json.JSONObject;
* Upgrade service.
*
* @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
*/
@Service
......@@ -91,6 +91,8 @@ public class UpgradeService {
V364_365.perform();
case "3.6.5":
V365_366.perform();
case "3.6.6":
V366_367.perform();
break;
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