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.
Description
Some API improvements and other misc changes that have been accumulating locally, now ready for publishing.
Highlights:
0.27.34
which adds:f32.toString
, improving vector arrays represented in JSONexecute
(which takes aRequest
object) in favor ofexecuteQuery
andexecuteMutations
which work directly withQuery
andMutation
objects. See updated Dgraph examples for how this drastically simplifies user code.EscapeRDF
function and update examples, to properly escape string values in Nquad mutationsBytes
method for content, request, and response - to align with HTTPfetch
API.Uint8Array
instead ofArrayBuffer
where appropriate in AssemblyScriptJson
method for content, request, and response to return an error instead of panicking, in Go.Checklist
All PRs should check the following boxes:
Conventional Commits syntax, leading with
fix:
,feat:
,chore:
,ci:
, etc.the contributing guide.
If the PR includes a code change, then also check the following boxes. (If not, then delete the
next section.)
CHANGELOG.md
file.