Skip to content

Commit fa57c4a

Browse files
authored
πŸ’„ Polish changelog for 1.2.0 (#218)
* πŸ’„ Polish changelog for 1.2.0 * πŸ’š Fix
1 parent a1a6467 commit fa57c4a

File tree

3 files changed

+44
-12
lines changed

3 files changed

+44
-12
lines changed

β€Ždocs/changelog/2025.md

+42-10
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,50 @@
1616

1717
## 2025-03-09 {small}`db 1.2.0`
1818

19-
- ✨ Introduce `Artifact.from_spatialdata()` and re-factor validation of `spatialdata` stores [PR](https://github.com/laminlabs/lamindb/pull/2461) [@Zethson](https://github.com/Zethson)
20-
- ✨ Enable `ln.track(project="My project")` to auto-link entities to projects [PR](https://github.com/laminlabs/lamindb/pull/2529) [@falexwolf](https://github.com/falexwolf)
21-
- ✨ Add `.load()` for artifacts holding `SpatialData` objects [PR](https://github.com/laminlabs/lamindb/pull/2532) [@Zethson](https://github.com/Zethson)
22-
- 🎨 When re-creating an `Artifact`, link subsequent runs instead of updating `.run` and linking previous runs [PR](https://github.com/laminlabs/lamindb/pull/2515) [@falexwolf](https://github.com/falexwolf)
23-
- 🚸 Introduce `.slots` in `Schema`, `Curator`, and `FeatureManager` to access schemas and curators by dataset slot [PR](https://github.com/laminlabs/lamindb/pull/2530) [@sunnyosun](https://github.com/sunnyosun)
24-
- πŸ—οΈ Re-structure internal API away from monkey-patching Django models [PR](https://github.com/laminlabs/lamindb/pull/2516) [@falexwolf](https://github.com/falexwolf)
25-
- πŸ› Fix passing a path manually when no path found by `nbproject` [PR](https://github.com/laminlabs/lamindb/pull/2537) [@Koncopd](https://github.com/Koncopd)
26-
- 🩹 Do not overwrite `._state_db` of models when the current instance is passed to `.using` [PR](https://github.com/laminlabs/lamindb/pull/2534) [@Koncopd](https://github.com/Koncopd)
27-
- πŸ”Š Do not show track warning for read-only connections [PR](https://github.com/laminlabs/lamindb/pull/2527) [@Koncopd](https://github.com/Koncopd)
28-
- 🚸 Raise `NotImplementedError` in `Artifact.load()` if there is no loader [PR](https://github.com/laminlabs/lamindb/pull/2514) [@Koncopd](https://github.com/Koncopd)
19+
✨ Enable to auto-link entities to projects. [Guide](/track.ipynb#track-projects) [PR](https://github.com/laminlabs/lamindb/pull/2529) [@falexwolf](https://github.com/falexwolf)
20+
21+
```python
22+
ln.track(project="My project")
23+
```
24+
25+
🚸 Better support for `spatialdata` with `Artifact.from_spatialdata()` and `artifact.load()`. [PR1](https://github.com/laminlabs/lamindb/pull/2461) [PR2](https://github.com/laminlabs/lamindb/pull/2532) [@Zethson](https://github.com/Zethson)
26+
27+
🚸 Introduce `.slots` in `Schema`, `Curator`, and `artifact.features` to access schemas and curators by dataset slot. [PR](https://github.com/laminlabs/lamindb/pull/2530) [@sunnyosun](https://github.com/sunnyosun)
28+
29+
```python
30+
schema.slots["obs"] -> Schema for .obs slot of AnnData
31+
curator.slots["obs"] -> Curator for .obs slot of AnnData
32+
artifact.features["obs"] -> Feature sets for .obs slot of AnnData
33+
```
34+
35+
πŸ—οΈ Re-structured the internal API away from monkey-patching Django models. [PR](https://github.com/laminlabs/lamindb/pull/2516) [@falexwolf](https://github.com/falexwolf)
36+
37+
```{dropdown} ⚠️ Use of internal API
38+
39+
If you used the internal API, you might experience a breaking change. The most drastic change is that all internal registry-related functionality is now re-exported under `lamindb.models`.
40+
```
41+
42+
🚸 When re-creating an `Artifact`, link subsequent runs instead of updating `.run` and linking previous runs. [PR](https://github.com/laminlabs/lamindb/pull/2515) [@falexwolf](https://github.com/falexwolf)
43+
44+
```{dropdown} On the hub.
45+
46+
More details [here](https://github.com/laminlabs/laminhub-public/pull/40). [@chaichontat](https://github.com/chaichontat)
47+
48+
Before | After
49+
--- | ---
50+
An artifact is only shown as an output for the _latest run_ that created the artifact. _Previous_ runs don't show it. | All runs that (re-)create an artifact show it as an output.
51+
<img width="1004" alt="image" src="https://github.com/user-attachments/assets/447754ff-81db-4c29-9e41-bb1c7ac82dc9" /> | <img width="978" alt="image" src="https://github.com/user-attachments/assets/8c2a8e64-0e0b-401d-95de-0c45ddb1aefd" />
52+
53+
```
54+
55+
More changes:
56+
2957
- ✨ Support R2 [PR](https://github.com/laminlabs/lamindb-setup/pull/979) [@Koncopd](https://github.com/Koncopd)
3058
- ✨ Allow to use `Artifact.open()` and `Artifact.load()` for `.gz` files [PR](https://github.com/laminlabs/lamindb/pull/2506) [@Koncopd](https://github.com/Koncopd)
59+
- πŸ› Fix passing a path to `ln.track()` when no path found by `nbproject` [PR](https://github.com/laminlabs/lamindb/pull/2537) [@Koncopd](https://github.com/Koncopd)
60+
- πŸ› Do not overwrite `._state_db` of records when the current instance is passed to `.using` [PR](https://github.com/laminlabs/lamindb/pull/2534) [@Koncopd](https://github.com/Koncopd)
61+
- 🚸 Do not show track warning for read-only connections [PR](https://github.com/laminlabs/lamindb/pull/2527) [@Koncopd](https://github.com/Koncopd)
62+
- 🚸 Raise `NotImplementedError` in `Artifact.load()` if there is no loader [PR](https://github.com/laminlabs/lamindb/pull/2514) [@Koncopd](https://github.com/Koncopd)
3163

3264
## 2025-02-27 {small}`db 1.1.1`
3365

β€Ždocs/includes/features-lamindb.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The following detailed specs are for the Python package `lamindb`. For the analo
1212
- Manage features & labels: {class}`~lamindb.Feature`, {class}`~lamindb.Schema`, {class}`~lamindb.ULabel`
1313
- Use array formats in memory & storage: [DataFrame](/tutorial), [AnnData](/arrays), [MuData](multimodal), [tiledbsoma](cellxgene), ... backed by [parquet](/tutorial), [zarr](/arrays), [tiledb](cellxgene), [HDF5](/arrays), [h5ad](/arrays), [DuckDB](rxrx), ...
1414
- Create iterable & queryable collections of artifacts with data loaders: {class}`~lamindb.Collection`
15-
- Version artifacts, collections & transforms: {class}`~lamindb.core.IsVersioned`
15+
- Version artifacts, collections & transforms: {class}`~lamindb.models.IsVersioned`
1616

1717
**Track data lineage across notebooks, scripts, pipelines & UI.**
1818

β€Ždocs/tutorial.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@
608608
"\n",
609609
"You can look up, filter & search any registry ({class}`~lamindb.models.Record`).\n",
610610
"\n",
611-
"You can chain {meth}`~lamindb.models.Record.filter` statements and {meth}`~lamindb.core.QuerySet.search`: `ln.Artifact.filter(suffix=\".jpg\").search(\"my image\")`\n",
611+
"You can chain {meth}`~lamindb.models.Record.filter` statements and {meth}`~lamindb.models.QuerySet.search`: `ln.Artifact.filter(suffix=\".jpg\").search(\"my image\")`\n",
612612
"\n",
613613
"An empty filter returns the entire registry: `ln.Artifact.filter()`\n",
614614
"```"

0 commit comments

Comments
Β (0)