This is a glimpse into what we're working on and what we're planning to work on.
Edge caching
Dramatically speed up repeated queries by caching them on the edge. Enable with a simple parameter passed to the API and get end-user response times as low as 15 milliseconds.
Attachment type & image transformations
Upload images and other file attachments to your records. This includes a new rich type and the ability to make on-the-fly image transformations through the API and clients.
Sub-queries for linked records
Reverse queries and retrieve information from related tables in a single request. For instance, you can get a list of authors with their top-rated 5 blog posts in one network round-trip.
Custom filters and data privacy for data copying
Don’t let sensitive data make it into your dev branches. When copying data from the production branch to the dev branches, you’ll be able to set filters and mark columns as private.
SQL support
Query and update your data using SQL support. This will allow you to do the more complicated queries that are not possible with the REST API.
JSON column type
Sometimes it’s a just more convenient to go schemaless. The JSON column type accepts arbitrary JSON, with optional JSON schema validation.
Webhooks
Call a webhook in real-time or trigger a serverless function whenever a record that meets a certain query is created, updated, or deleted.
Self-service import and export
Improved CSV/JSON import capabilities and extended types of data you can import from and export to.
Usage insights
A dashboard that provides valuable insights into your API usage, enabling you to track and analyze your usage more effectively.
Database-level access keys
Secure your data at the database level instead of the workspace. This allows you to add more users to your workspace, and restrict their access and permissions for each database within that workspace.
A list of all the small and big changes we've made to the platform at a weekly clip.
createdAt
and updatedAt
meta-columns. From now on, you always know when
something was created and last updated. You get them with the record metadata,
as simple as that. This was a common feature request that makes developers
life easier, which is our favorite type of feature to
implement: https://feedback.xata.io/feature-requests/p/implement-createdat-updatedat-fields.
It is now also possible to filter by these meta-columns.failMissing
option for deletes. If you set this flag to true,
and the delete operations affects zero records, the transaction will be failed.factor
option to the free-text-search date booster. The factor
multiplies the boost, allowing you to better control the effect of the date booster.unique
+ notNull
columns.We have launched the all new Xata Workflow: complete git-like workflow for your database. This includes:
Other fixes and improvements:
Blog posts:
'
character in filters was producing an error in the Get Code Snippet.<a>
elements so you can right-click and open in a new tab.insert
, update
and delete,
but also get
data by ID. An example looks like this:{
"operations": [
{"insert": {"table": "items", "record": {"id": "new-0", "name": "feed the fish"}, "createOnly": true}},
{"update": {"table": "items", "id": "new-0", "fields": {"name": "feed the goldfish"}, "ifVersion": 0}},
{"get": {"table": "items", "id": "new-0", "columns": ["id","name"]}},
{"delete": {"table": "items", "id": "new-0"}}
]
}
PowerShell
and cmd
🎉{
"sort": ["*:random"]
}
And like this in the TypeScript SDK (pending release):
const users = await xata.db.Users
.sort("*", "random")
.getMany();
too_many_nested_clauses
****exception on the search and ask endpoints. Also improved the error message to guide towards a correct solution.26/05/18
or tomorrow at 4pm
xata schema edit
command.Blog posts
gpt-3.5-turbo
model. This has resulted in a pricing decrease and more questions included in the free tier.notNull: true
notNull
and default value to an allowed value if it's unsupported.