Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .docker/server_dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ ENV UV_LINK_MODE=copy \

# Used to fake the version of the package in cases where datalab is only
# available as a git submodule or worktree
ARG SETUPTOOLS_SCM_PRETEND_VERSION
ENV SETUPTOOLS_SCM_PRETEND_VERSION=${SETUPTOOLS_SCM_PRETEND_VERSION}

WORKDIR /app
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## v0.6.4 (September 2025)

This patch release simply fixes a few UI bugs introduced in v0.6.3 (and earlier).
It also signifies the adoption of the Contributor Covenant Code of Conduct (v2).

### What's Changed

* Broken admin dashboard UI for user management by @ml-evs in #1361
* Inability to insert new items created via copying into a collection by @BenjaminCharmes in #1356
* Long message dialog box formatting by @BenjaminCharmes in #1346

**Full Changelog**: https://github.com/datalab-org/datalab/compare/v0.6.3...v0.6.4

## v0.6.3 (September 2025)

This patch release primarily improves block serialization performance and extensibility, as well as improving error handling for both developers and users.
Expand Down
1 change: 1 addition & 0 deletions pydatalab/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ dependencies = [
"pint ~= 0.24",
"pandas[excel] ~= 2.2",
"pymongo ~= 4.7",
"deepdiff ~= 8.1",
]

[project.urls]
Expand Down
10 changes: 10 additions & 0 deletions pydatalab/schemas/cell.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
"title": "Revisions",
"type": "object"
},
"version": {
"title": "Version",
"default": 1,
"type": "integer"
},
"creator_ids": {
"title": "Creator Ids",
"default": [],
Expand Down Expand Up @@ -525,6 +530,11 @@
"title": "Revisions",
"type": "object"
},
"version": {
"title": "Version",
"default": 1,
"type": "integer"
},
"creator_ids": {
"title": "Creator Ids",
"default": [],
Expand Down
10 changes: 10 additions & 0 deletions pydatalab/schemas/equipment.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
"title": "Revisions",
"type": "object"
},
"version": {
"title": "Version",
"default": 1,
"type": "integer"
},
"creator_ids": {
"title": "Creator Ids",
"default": [],
Expand Down Expand Up @@ -489,6 +494,11 @@
"title": "Revisions",
"type": "object"
},
"version": {
"title": "Version",
"default": 1,
"type": "integer"
},
"creator_ids": {
"title": "Creator Ids",
"default": [],
Expand Down
10 changes: 10 additions & 0 deletions pydatalab/schemas/sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@
"title": "Revisions",
"type": "object"
},
"version": {
"title": "Version",
"default": 1,
"type": "integer"
},
"creator_ids": {
"title": "Creator Ids",
"default": [],
Expand Down Expand Up @@ -578,6 +583,11 @@
"title": "Revisions",
"type": "object"
},
"version": {
"title": "Version",
"default": 1,
"type": "integer"
},
"creator_ids": {
"title": "Creator Ids",
"default": [],
Expand Down
10 changes: 10 additions & 0 deletions pydatalab/schemas/startingmaterial.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@
"title": "Revisions",
"type": "object"
},
"version": {
"title": "Version",
"default": 1,
"type": "integer"
},
"creator_ids": {
"title": "Creator Ids",
"default": [],
Expand Down Expand Up @@ -631,6 +636,11 @@
"title": "Revisions",
"type": "object"
},
"version": {
"title": "Version",
"default": 1,
"type": "integer"
},
"creator_ids": {
"title": "Creator Ids",
"default": [],
Expand Down
3 changes: 3 additions & 0 deletions pydatalab/src/pydatalab/models/traits.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ class HasRevisionControl(BaseModel):
revisions: dict[int, Any] | None = None
"""An optional mapping from old revision numbers to the model state at that revision."""

version: int = 1
"""The version number used by the version control system for tracking snapshots."""


class HasBlocks(BaseModel):
blocks_obj: dict[str, DataBlockResponse] = Field({})
Expand Down
Loading
Loading