This repository has been archived by the owner on Feb 22, 2024. It is now read-only.
fix(deps): update dependency surrealdb.js to ^0.11.0 #387
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.7.3
->^0.11.0
Release Notes
surrealdb/surrealdb.js (surrealdb.js)
v0.11.0
Compare Source
Overview
Simplified
.query()
methodTo further align our JS landscape, the current
.query()
method is renamed to.query_raw()
, and a new and simplified.query()
method is introduced. This new method either throws an error or gives back an array of response values.Tagged template literals
PreparedQuery
class which can be passed to the.query()
and.query_raw()
methods.surrealql
(andsurql
as a shortcut) function which can be used as a tagged template literal.What's Changed
New Contributors
Full Changelog: surrealdb/surrealdb.js@v0.10.1...v0.11.0
v0.10.1
Compare Source
What's Changed
Full Changelog: surrealdb/surrealdb.js@v0.10.0...v0.10.1
v0.10.0
Compare Source
Overview
ns
/db
/sc
/user
/pass
renamed tonamespace
/database
/scope
/username
/password
This change was introduced to better align the JS SDK with the Rust SDK and the rest of our JavaScript landscape
Old behaviour
New behaviour
What's Changed
.authenticate()
is tested for both scope and root users by @kearfy in https://github.com/surrealdb/surrealdb.js/pull/182boolean
toRawQueryResult
by @kearfy in https://github.com/surrealdb/surrealdb.js/pull/183Full Changelog: surrealdb/surrealdb.js@v0.9.1...v0.10.0
v0.9.1
Compare Source
What's Changed
New Contributors
Full Changelog: surrealdb/surrealdb.js@v0.9.0...v0.9.1
v0.9.0
Compare Source
Overview
.connect()
function (which can be awaited by the way!).authenticate()
now returns a boolean indicating success or not success. Be aware that authentication errors will still result in an error being thrown!What's Changed
Full Changelog: surrealdb/surrealdb.js@v0.8.4...v0.9.0
v0.8.4
Compare Source
Overview
.query()
method for the experimental HTTP strategy.insert()
method to allow for bulk record insertiondiff
to the.live()
method, which allows you to receive back notifications in the form of JSON Patches.As most of this is only available with the nightly version of SurrealDB, I would like to link the nightly docs (all though a bit buggy here and there) aswell: https://deploy-preview-197--coruscating-puppy-14fc4b.netlify.app/
What's Changed
.insert()
method by @kearfy in https://github.com/surrealdb/surrealdb.js/pull/150.live()
diff option by @kearfy in https://github.com/surrealdb/surrealdb.js/pull/151FEATURE_TEMPLATE
->ISSUE_TEMPLATE
by @kearfy in https://github.com/surrealdb/surrealdb.js/pull/154.insert()
by @kearfy in https://github.com/surrealdb/surrealdb.js/pull/161Full Changelog: surrealdb/surrealdb.js@v0.8.3...v0.8.4
v0.8.3
Compare Source
Overview
The
NS
andDB
properties are now optional in signin/signup functions for Scope authentication. They are still required for namespace and database user authentication!What's Changed
New Contributors
Full Changelog: surrealdb/surrealdb.js@v0.8.2...v0.8.3
v0.8.2
Compare Source
What's Changed
.info()
should await ready state by @kearfy in https://github.com/surrealdb/surrealdb.js/pull/137Full Changelog: surrealdb/surrealdb.js@v0.8.1...v0.8.2
v0.8.1
Compare Source
Notes on this release
.info()
method for the websocket strategySELECT * FROM $auth
What's Changed
Full Changelog: surrealdb/surrealdb.js@v0.8.0...v0.8.1
v0.8.0
Compare Source
Notes on this release
Breaking: Fix typings for
.select()
,.create()
,.update()
,.merge()
,.patch()
,.delete()
.select()
methods now returns an array instead of a single item..change()
method is renamed to.merge()
..modify()
method is renamed to.patch()
.undefined
.Breaking: The
.use()
function now accepts an object as an argument.use({ ns, db })
.You can now pass an auth property to the second argument of the constructor and connect functions. This can be a token string or an object you would pass to the
.signin()
function.You can now pass a pair of
{ ns, db }
to the second argument of the constructor and connect functions.The auth state and ns/db combo will now be remembered after a possible WebSocket disconnect and will automatically be restored.
Added back the Live Queries implementation (read down below)
Live Queries implementation
Start a live query
Register another listener for an LQ
Kill a LQ
Data in callback
What's Changed
.select()
,.create()
,.update()
,.merge()
,.patch()
,.delete()
by @kearfy in https://github.com/surrealdb/surrealdb.js/pull/104Full Changelog: surrealdb/surrealdb.js@v0.7.3...v0.8.0 (might not completely align with above notes, v0.7.3 was a little bit quirky)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.