Skip to content

Commit bf16a8a

Browse files
authored
Release 0.65.2 (#150)
* Freeze chrono to 0.4.8 to fix issue with rustling-ontology * Update Changelog * Bump version to 0.65.2 * Remove serde_derive * Add `dyn` keyword everywhere
1 parent 7a5b2b1 commit bf16a8a

File tree

28 files changed

+74
-69
lines changed

28 files changed

+74
-69
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## [0.65.2] - 2019-09-06
5+
### Fixed
6+
- Freeze chrono to 0.4.8 to fix issue with rustling-ontology [#149](https://github.com/snipsco/snips-nlu-rs/pull/149)
7+
48
## [0.65.1] - 2019-09-04
59
### Added
610
- Add new `parse_with_alternatives` API to `SnipsNluEngine` to get alternative intents and slot values [#148](https://github.com/snipsco/snips-nlu-rs/pull/148)
@@ -226,6 +230,7 @@ being statically hardcoded, reducing the binary size by 31Mb.
226230
- Improve support for japanese
227231
- Rename python package to `snips_nlu_rust`
228232

233+
[0.65.2]: https://github.com/snipsco/snips-nlu-rs/compare/0.65.1...0.65.2
229234
[0.65.1]: https://github.com/snipsco/snips-nlu-rs/compare/0.65.0...0.65.1
230235
[0.65.0]: https://github.com/snipsco/snips-nlu-rs/compare/0.64.4...0.65.0
231236
[0.64.4]: https://github.com/snipsco/snips-nlu-rs/compare/0.64.3...0.64.4

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "snips-nlu-lib"
3-
version = "0.66.0-SNAPSHOT"
3+
version = "0.65.2"
44
authors = [
55
"Adrien Ball <[email protected]>",
66
"Clement Doumouro <[email protected]>",
@@ -27,14 +27,14 @@ base64 = "0.10"
2727
itertools = { version = "0.8", default-features = false }
2828
log = "0.4"
2929
lru-cache = "0.1"
30-
serde = "1.0"
31-
serde_derive = "1.0"
30+
serde = { version = "1.0", features = ["derive"] }
3231
serde_json = "1.0"
3332
tempfile = "3"
3433
ndarray = "0.12"
3534
regex = "1.0"
3635
csv = "1.0"
3736
zip = { version = "0.5", default-features = false, features = ["deflate"] }
37+
chrono = "=0.4.8"
3838

3939
[dev-dependencies]
4040
bencher = { git = "https://github.com/snipsco/bencher", rev = "63910ace" }

ffi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "snips-nlu-ffi"
3-
version = "0.66.0-SNAPSHOT"
3+
version = "0.65.2"
44
edition = "2018"
55
authors = [
66
"Adrien Ball <[email protected]>",

ffi/cbindgen.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ language = "c"
22

33
include_guard = "LIBSNIPS_NLU_H_"
44

5-
header = "#define SNIPS_NLU_VERSION \"0.66.0-SNAPSHOT\""
5+
header = "#define SNIPS_NLU_VERSION \"0.65.2\""
66

77
[parse]
88
parse_deps = true

platforms/c/libsnips_nlu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#define SNIPS_NLU_VERSION "0.66.0-SNAPSHOT"
1+
#define SNIPS_NLU_VERSION "0.65.2"
22

33
#ifndef LIBSNIPS_NLU_H_
44
#define LIBSNIPS_NLU_H_

platforms/kotlin/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildscript {
1111

1212
apply plugin: 'kotlin'
1313

14-
version = "0.66.0-SNAPSHOT"
14+
version = "0.65.2"
1515
group = "ai.snips"
1616

1717
repositories {

platforms/python/ffi/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "snips-nlu-python-ffi"
3-
version = "0.66.0-SNAPSHOT"
3+
version = "0.65.2"
44
authors = ["Adrien Ball <[email protected]>"]
55
edition = "2018"
66

@@ -11,4 +11,4 @@ crate-type = ["cdylib"]
1111
[dependencies]
1212
libc = "0.2"
1313
ffi-utils = { git = "https://github.com/snipsco/snips-utils-rs", rev = "4292ad9" }
14-
snips-nlu-ffi = { path = "../../../ffi" }
14+
snips-nlu-ffi = { git = "https://github.com/snipsco/snips-nlu-rs", tag = "0.65.2" }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.66.0-SNAPSHOT
1+
0.65.2

platforms/swift/SnipsNlu/Dependencies/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
set -e
66

7-
VERSION="0.66.0-SNAPSHOT"
7+
VERSION="0.65.2"
88
SYSTEM=$(echo $1 | tr '[:upper:]' '[:lower:]')
99
LIBRARY_NAME=libsnips_nlu_ffi
1010
LIBRARY_NAME_A=${LIBRARY_NAME}.a

src/injection/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub enum NluInjectionErrorKind {
1717

1818
// Boilerplate
1919
impl Fail for NluInjectionError {
20-
fn cause(&self) -> Option<&Fail> {
20+
fn cause(&self) -> Option<&dyn Fail> {
2121
self.inner.cause()
2222
}
2323

0 commit comments

Comments
 (0)