-
Notifications
You must be signed in to change notification settings - Fork 19
/
CHANGELOG.txt
231 lines (194 loc) · 8.01 KB
/
CHANGELOG.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
4.5.0
* Emit ResourceNotAvailableException when Fauna returns a 410 status code.
* Emit TooManyRequestsException when Fauna returns a 429 status code.
4.4.0
* Support for tags and traceparent headers. PR: https://github.com/fauna/faunadb-jvm/pull/362
4.3.0
* Keep-alive timeouts set to 3 seconds. PR: https://github.com/fauna/faunadb-jvm/pull/342
* set-streaming enabled. PR: https://github.com/fauna/faunadb-jvm/pull/352
4.2.0
* Added TransactionContentionException in case 409 HTTP status code is returned from server
4.1.2
* Added a possibility to provide custom headers for the FaunaClient constructors
* Notifies about new package version
4.1.1
* Improve handling of network timeouts to make sure the driver returns an `UnavailableException`
* Relax JSON parsing to not fail on unknown fields
* Update documentation links for the Java and Scala drivers
4.1.0
* Exposes billing metrics
* Adds runtime environment headers to queries
* Always sends query timeout header
* Expr(NullV) is instantiated only once and reused
* Enables user to pass a custom user agent
* Adds ability to combine Fields
* Removes the requirement to call `close()` to terminate a FaunaClient session
4.0.1
* Fix JavaDoc errors
4.0.0
* Upgrade to Java 11
* Upgrade project dependencies
* Replace Netty HTTP Client with Java HTTP client
* Change from Basic to Bearer authentication scheme
* Add streaming API to the FaunaClient
* Add Third-party Auth functions: CurrentIdentity(), HasCurrentIdentity(), CurrentToken(),
HasCurrentToken(), CreateAccessProvider(), AccessProvider(), AccessProviders()
3.0.1
* Upgrade to Scala 2.12.12
* Upgrade to sbt 1.3.13
* Remove HTTP Response content size limit
* Define FaunaExceptions as case classes
* Remove unused .travis.yml file
* Remove unused AndroidManifest.xml file
3.0.0
* Add Reverse() function
* Refactor Contains() into family of functions
* Add support for versioned query values
* Factor out Dependencies and Settings from sbt file
* Refactor blocking operations in ClientSpec with ScalaFutures
* Fix test case covering nested database keys
* Fix "Gather Results" step in CircleCI
* Fix test compile task for Scala 2.11 version
2.12.0
* Add client-specified query timeout
* Handle Null value responses properly
2.11.1
* Disable scoverage while building the project
2.11.0
* Add Documents() function
* Upgrade dependencies versions
* Register Jackson mapper module explicitly
* Update calls to deprecated functions
* Fix intermittently failing test
2.10.0
* Add Time functions: TimeAdd(), TimeSubtract(), and TimeDiff()
* Add Conversion functions: ToObject(), ToArray(), ToDouble(), and ToInteger()
* Add Logical functions: Any(), and All()
* Add Type Check functions: IsNumber(), IsDouble(), IsInteger(), IsBoolean(), IsNull(),
IsBytes(), IsTimestamp(), IsDate(), IsString(), IsArray(), IsObject(), IsRef(), IsSet(),
IsDoc(), IsLambda(), IsCollection(), IsDatabase(), IsIndex(), IsFunction(), IsKey(),
IsToken(), IsCredentials(), and IsRole()
* Make Expr constructor private
2.9.0
* Add String functions: StartsWith(), EndsWith(), ContainsStr(), ContainsStrRegex(), and RegexEscape()
* Add Conversion functions: ToDouble() and ToInteger()
* Add Time functions: Now()
* Add Read functions: SelectAsIndex()
* Add X-Fauna-Driver header to HTTP client
* Add support for paginate with cursor object
* Enhance Result monad on for-comprehensions
2.8.1
* Disable scoverage for scala 2.11
2.8.0
* Add stdlib functions: MoveDatabase(), Reduce(), Range(), Count(), Sum(),
Mean(), TimeDiff(), TimeSubtract(), TimeAdd()
* Expand time units to include DAY, HALF_DAY, HOUR, and MINUTE
* Fixed a bug to ensure buffers are released after an exception.
2.7.0
* Add stdlib time functions ToSeconds(), ToMillis(), ToMicros(), DayOfWeek(), DayOfMonth(), DayOfYear(), Month(), Hour(), Minute(), Second()
* Support new schema names: Class -> Collection; Instance -> Document
* Deprecate CreateClass(), Class(), and Classes() in favor of CreateCollection(), Collection(), Collections()
* Add functions for RBAC: CreateRole(), Role(), Roles()
* Add functions Format(), Merge()
2.6.2
* Make last seen transaction time public
* Make Result::getOrElse lazy
* Fixed a bug when parsing errors duing UDF calls
2.6.1
* Fixed a bug that prevented the usage of large keys
2.6.0
* Support backrefs in Let() bindings. Requires FaunaDB 2.6.0.
* Add stdlib math functions Abs(), Asin(), Acos(), Atan(), BitAnd(), BitNot(),
BitOr(), BitXor(), Ceil(), Cos(), Cosh(), Degrees(), Divide(), Exp(), Floor(),
Hypot(), Ln(), Log(), Max(), Min(), Modulo(), Pow(), Radians(), Round(),
Sign(), Sin(), Sinh(), Sqrt(), Tan(), Tanh(), Trunc()
* Add stdlib string functions FindStr(), FindStrRegex(), Length(), Lower(),
LTrim(), Repeat(), ReplaceStr(), ReplaceStrRegex(), RTrim(), Space(),
SubString(), TitleCase(), Trim(), Upper()
* Make codecs tuple aware
* Expose last seen txn via scala:lastTxnTime and java:getLastTxnTime()
2.5.6
* Update documentation links
* Fix NoSuchElementException when parsing an empty object
* Fix a ByteBuf leak in Connection
* Java: Fix possible infinite recursion in query
* Scala: Fix Codec error message
* Scala: Fix wildcard match in Codec
2.5.5
* Scala: Adds Codec.Alias
2.5.4
* Scala: Adds support for encoding sealed trait ADTs as tagged unions
2.5.3
* Upgrade async-http-client library
* Fix a bug on Do() function that was preventing expressions with only one statement
2.5.2
* Adds support to NGram() function
* Reverses the argument order of Append() and Prepend() functions
* Adds support to IsEmpty() and IsNonEmpty() functions
* Adds support to X-Last-Seen-Txn header
* Fixes NullPointerException when inspecting status code or error messages
from a UnknownException on the Scala driver
* Add Instant encoder for the Scala driver
* Add ToString(), ToNumber(), ToTime(), and ToDate() functions
* Add Result.orNull()
* Add Value.toMap(), .collect(), .get(Class<T>), .getOptional(), and .orNull()
* Replace Joda Time with the JSR 310 API
* Remove support for Android < 8.0, and Java < 8
* Additional variants of At(), Lambda(), Take(), Drop(), Get(),
KeyFromSecret(), Logout(), Identify(), Casefold(), NGram(), Time(),
Epoch(), and Date()
* Add FaunaClient.query(Expr...)
2.2.0
* Adds codecs to Map type
* Adds ability to create session clients on Scala
* Does not require `import faunadb.values._` when using `Codec.caseClass`
* Adds Null() function to scala
2.1.1
* Fix issue #143: Configured endpoint is overridden by request builder
2.1.0
* Adds support to Abort() function
* Adds normalizer argument to Casefold() function
* Adds support to NewId() function
* Deprecates NextId() function in favor of NewId()
* Adds support to Identity() and HasIdentity() functions
* Adds support to Singleton() and Events() functions
* Adds support to SelectAll() function
2.0.0
* Fix possible NullPointerException when checking for failing requests
* Adds support for user class serialization (encode/decode)
* Remove build dependency on GPG for automation purposes
* Adds support for recursive references
1.2.0
* Add support for scala 2.12.x
* Upgrade jackson to 2.8.8
* Default android driver to cloud if not endpoint is provided
1.1.0
* Adds support to @query type
* Add joda-convert to avoid compile time warnings
* Fix ambiguous reference when using Select/Contains functions
1.0.0
* Official release
0.4.0
* Adds support to @bytes type
* Adds support to KeyFromSecret() function
* Adds support to At() function
* Adds support to Android 4.1
* Downgrade async-http-client from verstion 2.0.2 to 1.9.39 to fully support Java 7
* Change default cloud url to https://db.fauna.com
* Adds optional timestamp parameter to Get function
0.3.3
* Removing count function from all drivers
* Adding next id function to scala driver
* Adding missing functions to all drivers:
- class
- database
- index
- create class
- create database
- create key
- create index
0.3.2
* Change default cloud url to https://cloud.faunadb.com
0.3.1
* Remove references to java.time.Instant. Using Joda-Time instead. See: http://www.joda.org/joda-time/
* Fully support for high precision time implemented with com.faunadb.client.types.time.HighPrecisionTime