- Adds AccessProvider() support for authenticating with external auth providers (ex. Auth0, Okta)
- Adds beta support for event streaming
- Adds new FQL functions: CreateAccessProvider(), AccessProviders(), AccessProvider(), CurrentIdentity(), HasCurrentIdentity(), CurrentToken(), and HasCurrentToken()
- Deprecates Identity() function in favor of CurrentIdentity()
- Deprecates HasIdentity() in favor of HasCurrentIdentity()
- Added an alias of the Contains function called ContainsPath, and deprecated the Contains function.
- Added the new functions ContainsField and ContainsValue functions to make it easier to explore the structure of objects and documents.
- Added the new Reverse function to reverse the order of items in an Array, Page, or Set.
- Add support for versioned
@query
values.
- Fix a bug with instanceof conditions
- Fix incorrect casing for FQL function names
- Fix Paginate/Match rendering
- Fix type mismatch for FaunaHTTPError constructor
- Rollback ESM support breaking changes
- Add client-specified query timeout
- Configure build script to output ES Module
- Fix arity messages
- Improve RequestResult types
- Add custom fetch option
- Add
headers
config onClient
- Improve arity error log information
- Fix Expr.toString type definition
- Fix FaunaHTTPError type definition
- Fix Expr.toExpr when value is a string
- Fix native schema rendering
- Fix npm package
- Add Documents
- Fix the types for
If
so thatnull
is a valid result
- Add custom headers
- Add ToDouble, ToInteger
- Add ToObject, ToArray
- Add Any, All
- Add TimeAdd, TimeSubtract, TimeDiff
- Removed
es6-promise
dependency
- Removed
client
fromRequestResult
to prevent accidental logging of secret
- Replaced
isomorphic-unfetch
withcross-fetch
- No longer requiring http/s libraries in browser environments
- Bug fix related to
require('url')
in browsers
- Add Count, Mean, Sum, Min, Max
- Add StartsWith, EndsWith, ContainsStr, ContainsStrRegex, RegexEscape
- Add MoveDatabase
- Add Now
- Add
keepAlive
option for clients in Node - Dynamic require removed (bug fix)
- Replaced
superagent
withisomorphic-unfetch
- Typescript definitions for date and time related functions
- Added support for
cursor
option withPageHelper
- Keep alive connections enabled on NodeJS environments
- Enhance SetRef toString()
- Add generic type for client.query()
- Add new types Document and Page
- Fix render order of Filter(), Map(), Foreach()
- Fix npm security warnings
- Add stdlib functions: Reduce(), Merge(), Range(), Format()
- 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()
- Fix rendering of Let() function
- Add functions for RBAC: CreateRole(), Role(), Roles()
- Make the FaunaClient.query(..) function generic for Typescript
- Temporarily disable X-Last-Seen-Txn header due to CORS issues
- 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()
- Add support for backrefs in
Let()
. Requires FaunaDB 2.6.0 - Expose last seen txn time via
getLastTxnTime()
- Fix README example
- Fix min/max parameters on ngram function
- Update documentation with correct links
- Fix a bug on
Do()
function that was preventing expressions with only one statement - Fix bug on string formatter of expressions types
- Adds support for Symbol type
- Add support for the X-Last-Seen-Txn header
- Bug fix: Typescript functions that receive lambda should support lambdas created
by
Lambda()
function. - Adds
to_string
,to_number
,to_time
, andto_date
functions - Pretty print Fauna objects
- Adds
@bytes
constructor on query api
- Bug fix: functions with optional scope parameter were failing when scope was omitted.
- Adds
ngram
function - Adds
is_empty
andis_nonempty
functions - Provide a raw view of the query in the RequestResult
- Adds support for @query type (user defined functions)
- Adds support for recursive references
- Removes
get
,post
,put
,patch
anddelete
methods fromClient
class - Adds
abort
function - Adds
normalizer
argument tocasefold
function - Adds
new_id
function - Deprecated
next_id
in favor ofnew_id
- Adds
identity
andhas_identity
functions - Adds
singleton
andevents
functions - Adds
select_all
function
- Fix typescript declaration file to include default types
- Fix wrap of literal objects for lambda form of let expression
- Accept lambdas at Let function
- Fix wrap of Select's default parameter in order to allow other types rather than Object.
- Official release
- Using literal strings as Error class names to avoid problems with minified code
- Change the default cloud endpoint from
cloud.faunadb.com
todb.fauna.com
. - Adds support for key_from_secret function.
- Adds support for at function.
- Adds support for @bytes type.
- Remove count function
- Adding missing ref constructors for database, index, and class.
- Adding missing write functions: create database, create index, create key, and create class.
- Restrict query language functions arity for safety
- Change the default cloud endpoint from
rest.faunadb.com
tocloud.faunadb.com
.
- Initial Release on NPM