diff --git a/CHANGELOG.md b/CHANGELOG.md index dc70090..949bc1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ This source code is licensed under Apache 2.0 License. - [ ] Expand the function of NebulaDaoBasic - [ ] Add batch interface: - [ ] insertTripletBatch - - [ ] insertEdgeBatch + - [x] insertEdgeBatch - [ ] ... - [ ] Schema support: - [ ] show metas @@ -26,7 +26,7 @@ This source code is licensed under Apache 2.0 License. - [ ] Springboot 3.x support. -# NEXT +# 1.2.0-beta ## Dependencies upgrade @@ -34,6 +34,13 @@ This source code is licensed under Apache 2.0 License. - beetl: 3.1.8-RELEASE -> 3.15.10.RELEASE - antlr4: 4.7.2 -> 4.11.1 +## Feature + +- feat: support `` include query pieces. ([#212](https://github.com/nebula-contrib/ngbatis/pull/212), via [dieyi](https://github.com/1244453393)) +- feat: extending `NgPath`, when 'with prop' is used in nGQL, edge attributes can be obtained from NgPath. ([#228](https://github.com/nebula-contrib/ngbatis/pull/228), via [dieyi](https://github.com/1244453393)) +- feat: expanding the `insertEdgeBatch` interface in `NebulaDaoBasic`. ([#244](https://github.com/nebula-contrib/ngbatis/pull/244), via [Sunhb](https://github.com/shbone)) +- feat: expanding the `deleteByIdBatch` interface in `NebulaDaoBasic`. ([#247](https://github.com/nebula-contrib/ngbatis/pull/244), via [Sunhb](https://github.com/shbone)) + ## Bugfix - fix: support methods in mapper tags to set space to null. @@ -55,6 +62,7 @@ This source code is licensed under Apache 2.0 License. - fix: when DAO/Mapper method has `Page` type param with `@Param`, the param name can not be use. > 如原来项目中分页相关接口,用了不起作用的 `@Param`, 但 xml 还是使用 p0, p1... > 需要将 `@Param` 移除,或者将 xml 中的参数名改成 注解的参数名,以保证参数名统一 +- fix:class 'ResultSetUtil.java' parse datetime type error. ([#241](https://github.com/nebula-contrib/ngbatis/pull/241), via [爱吃辣条的Jerry](https://github.com/bobobod)) ## Develop behavior change diff --git a/README.md b/README.md index 5908293..435a551 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ This source code is licensed under Apache 2.0 License.

- [Ngbatis Docs](https://nebula-contrib.github.io/ngbatis/) -- [Ngbatis 文档](https://corvusye.github.io/ngbatis-docs/) +- [Ngbatis 文档](https://graph-cn.github.io/ngbatis-docs/) ## What is NGBATIS diff --git a/ngbatis-demo/pom.xml b/ngbatis-demo/pom.xml index 1cbe2a6..631b797 100644 --- a/ngbatis-demo/pom.xml +++ b/ngbatis-demo/pom.xml @@ -50,7 +50,7 @@ org.nebula-contrib ngbatis - 1.2.0-SNAPSHOT + 1.2.0-beta diff --git a/ngbatis-demo/src/main/java/ye/weicheng/ngbatis/demo/repository/DropSpaceDao.java b/ngbatis-demo/src/main/java/ye/weicheng/ngbatis/demo/repository/DropSpaceDao.java index b03a4da..adc8329 100644 --- a/ngbatis-demo/src/main/java/ye/weicheng/ngbatis/demo/repository/DropSpaceDao.java +++ b/ngbatis-demo/src/main/java/ye/weicheng/ngbatis/demo/repository/DropSpaceDao.java @@ -14,9 +14,11 @@ */ public interface DropSpaceDao { - void createSpace(String name); + void useTestSpace(); - void dropSpace(String name); + void createSpace(); + + void dropSpace(); List showTags(); diff --git a/ngbatis-demo/src/main/resources/mapper/DropSpaceDao.xml b/ngbatis-demo/src/main/resources/mapper/DropSpaceDao.xml index d503396..b1f068f 100644 --- a/ngbatis-demo/src/main/resources/mapper/DropSpaceDao.xml +++ b/ngbatis-demo/src/main/resources/mapper/DropSpaceDao.xml @@ -6,11 +6,15 @@ - drop space ${ p0 }; + drop space test_drop; + +