What's Changed
Dependencies upgrade
- nebula-java: 3.6.0 -> 3.8.3
- org.hibernate:hibernate-core was excluded.
If you need to use hibernate-core, please add the dependency by yourself.
Bugfix
- fix: when
use-session-pool
and spaceFromParam is true, skip the space addition. - fix: when timezone is not default, the time is incorrect.
- fix: allow normal startup without any mapper files.
- fix: Limit the node type obtained by
selectById
to the entity class of the interface. - fix: When a node has multiple tags, prioritize using the tag of
resultType
. (Collaborate with charle004, #311) - fix: debugging log output issue #312
Feature
-
feat: support the use of ciphertext passwords in yml.
-
feat: expanding the
insertSelectiveBatch
interface inNebulaDaoBasic
.(#299, via Ozjq) -
feat: expanding the
shortestOptionalPath
interface inNebulaDaoBasic
.(#303, via xYLiu) -
feat: expanding the
showSpaces
interface inNebulaDaoBasic
.(#304, via xYLiu) -
feat: support ssl and http2 config in yml.
http2 属于企业版的数据库才支持,但我没有测试环境,所以不确定是否可用。
http2 is supported by the enterprise version of the database, but I don't have a test environment, so I'm not sure if it works. -
feat: support adding ID attributes of start and end nodes in edge entities.
通过
@DstId
,@SrcId
进行注解,可以将属性标记成特殊的属性,用于查询时可以填充的起始点和终点的id值。-
example:
nebula: pool-config: enable-ssl: true ssl-param: sign-mode: SELF_SIGNED crt-file-path: /path/to/client.crt key-file-path: /path/to/client.key password: password # ssl-param: # sign-mode: CA_SIGNED # ca-crt-file-path: /path/to/ca-client.crt # crt-file-path: /path/to/client.crt # key-file-path: /path/to/client.key use-http2: false custom-headers: Route-Tag: abc
-
-
feat:
@Space
annotation supports dynamic configuration. .(#317, via charle004)@Space
注解的 name 属性值可通过 spring 配置文件自定义配置。-
example:
app: person: space: PERSON_SPACE
@Space(name = "${nebula.space}") @Table(name = "person") public class Person { @Id private String vid; private String name; public String getVid() { return vid; } public void setVid(String vid) { this.vid = vid; } public String getName() { return name; } public void setName(String name) { this.name = name; } }
-
New Contributors
- @Ozjq made their first contribution in #299
- @n3A87 made their first contribution in #303
- @charle004 made their first contribution in #311
Full Changelog: v1.2.2...v1.3.0