|
16 | 16 |
|
17 | 17 | ## 2025-03-09 {small}`db 1.2.0`
|
18 | 18 |
|
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 | + |
29 | 57 | - β¨ Support R2 [PR](https://github.com/laminlabs/lamindb-setup/pull/979) [@Koncopd](https://github.com/Koncopd)
|
30 | 58 | - β¨ 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) |
31 | 63 |
|
32 | 64 | ## 2025-02-27 {small}`db 1.1.1`
|
33 | 65 |
|
|
0 commit comments