当前位置

网站首页> 程序设计 > 程序资讯 > 软件更新资讯 > 浏览文章

Couchbase Java SDK 2.0.0 Beta 2 发布

作者:小梦 来源: 网络 时间: 2024-04-07 阅读:

Git@OSC 手机客户端摇一摇,有惊喜有妹纸

Couchbase Java SDK 2.0.0 Beta 2 发布,代号为 Armstrong。此版本是 GA 版本之前的最后一个 beta 版本,包括了两个重要的新插件,bug 修复和功能增强。此版本包括 1.0.0-beta2 和 Java SDK 2.0.0-beta2 的核心包  "core-io" 。

获取 Couchbase Java SDK 2.0.0 Beta2:

<dependencies>    <dependency>        <groupId>com.couchbase.client</groupId>        <artifactId>java-client</artifactId>        <version>2.0.0-beta2</version>    </dependency></dependencies><repositories>    <repository>        <id>couchbase</id>        <name>couchbase repo</name>        <url>http://files.couchbase.com/maven2</url>        <snapshots><enabled>false</enabled></snapshots>    </repository></repositories>

主要改进内容如下:

修改了 Artifact 名字

Blocking APIs

更多文档和代码转换器类型:

  • JsonArrayDocument -> to store Json Arrays as the toplevel value

  • JsonBooleanDocument -> to store Json Boolean as the value

  • JsonDoubleDocument -> to store Json Number (double/float) as the value

  • JsonLongDocument -> to store Json Number (long/int) as the value

  • JsonStringDocument -> to store Json String (quoted) as the value

  • StringDocument -> to store a raw (non JSON) string unquoted

  • SerializableDocument -> to store a POJO which implements Serializable

  • BinaryDocument -> to storw raw bytes which are not transcoded in any form.

不久之后将会发布 GA 版本,GA 版本发布一周后会发布 2.0.1 bug 修复版本。更多内容请看发行说明。

网友最爱