Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
63 changes: 36 additions & 27 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
# v0.12.0 (Thu Oct 22 2026)
# Changelog

## [0.12.1](https://github.com/neurobagel/neurobagel/compare/api-v0.12.0...api-v0.12.1) (2026-11-30)


### 🐛 Bug Fixes

* add cryptographic dependencies for `pyjwt` for f-API and n-API ([#25](https://github.com/neurobagel/neurobagel/issues/25)) ([1c0482a](https://github.com/neurobagel/neurobagel/commit/1c0482a5a1d7aece5276c4658db0cc6b355e3ecc))

## v0.12.0 (Thu Oct 22 2026)

:tada: This release contains work from a new contributor! :tada:

Expand All @@ -25,7 +34,7 @@ Thank you, Ravi Ranjan ([@AviJxn](https://github.com/AviJxn)), for all your work

---

# v0.11.0 (Mon Sep 14 2026)
## v0.11.0 (Mon Sep 14 2026)

:tada: This release contains work from a new contributor! :tada:

Expand Down Expand Up @@ -55,7 +64,7 @@ Thank you, CHANDAN YADAV ([@NobleCoder69](https://github.com/NobleCoder69)), for

---

# v0.10.0 (Thu Jun 04 2026)
## v0.10.0 (Thu Jun 04 2026)

#### 🚀 Enhancements

Expand All @@ -80,7 +89,7 @@ Thank you, CHANDAN YADAV ([@NobleCoder69](https://github.com/NobleCoder69)), for

---

# v0.9.2 (Tue Mar 03 2026)
## v0.9.2 (Tue Mar 03 2026)

:tada: This release contains work from a new contributor! :tada:

Expand All @@ -96,7 +105,7 @@ Thank you, Sejal ([@sejalpunwatkar](https://github.com/sejalpunwatkar)), for all

---

# v0.9.1 (Wed Feb 04 2026)
## v0.9.1 (Wed Feb 04 2026)

#### 🚀 Enhancements

Expand All @@ -108,7 +117,7 @@ Thank you, Sejal ([@sejalpunwatkar](https://github.com/sejalpunwatkar)), for all

---

# v0.9.0 (Thu Jan 15 2026)
## v0.9.0 (Thu Jan 15 2026)

#### 💥 Breaking Changes

Expand All @@ -120,7 +129,7 @@ Thank you, Sejal ([@sejalpunwatkar](https://github.com/sejalpunwatkar)), for all

---

# v0.8.0 (Thu Dec 11 2025)
## v0.8.0 (Thu Dec 11 2025)

#### 🚀 Enhancements

Expand All @@ -137,7 +146,7 @@ Thank you, Sejal ([@sejalpunwatkar](https://github.com/sejalpunwatkar)), for all

---

# v0.7.2 (Wed Nov 19 2025)
## v0.7.2 (Wed Nov 19 2025)

#### 🏎 Performance Improvements

Expand All @@ -151,7 +160,7 @@ Thank you, Sejal ([@sejalpunwatkar](https://github.com/sejalpunwatkar)), for all

---

# v0.7.1 (Thu Nov 06 2025)
## v0.7.1 (Thu Nov 06 2025)

#### 🐛 Bug Fixes

Expand All @@ -163,7 +172,7 @@ Thank you, Sejal ([@sejalpunwatkar](https://github.com/sejalpunwatkar)), for all

---

# v0.7.0 (Thu Sep 11 2025)
## v0.7.0 (Thu Sep 11 2025)

#### 💥 Breaking Changes

Expand All @@ -182,7 +191,7 @@ Thank you, Sejal ([@sejalpunwatkar](https://github.com/sejalpunwatkar)), for all

---

# v0.6.4 (Wed Mar 26 2025)
## v0.6.4 (Wed Mar 26 2025)

#### 🚀 Enhancements

Expand All @@ -194,7 +203,7 @@ Thank you, Sejal ([@sejalpunwatkar](https://github.com/sejalpunwatkar)), for all

---

# v0.6.3 (Fri Mar 14 2025)
## v0.6.3 (Fri Mar 14 2025)

#### 🐛 Bug Fixes

Expand All @@ -206,7 +215,7 @@ Thank you, Sejal ([@sejalpunwatkar](https://github.com/sejalpunwatkar)), for all

---

# v0.6.2 (Mon Mar 10 2025)
## v0.6.2 (Mon Mar 10 2025)

:tada: This release contains work from a new contributor! :tada:

Expand All @@ -232,7 +241,7 @@ Thank you, Khushi Jitendra Rajurkar ([@KhushiRajurkar](https://github.com/Khushi

---

# v0.6.1 (Fri Feb 07 2025)
## v0.6.1 (Fri Feb 07 2025)

#### 🚀 Enhancements

Expand All @@ -245,7 +254,7 @@ Thank you, Khushi Jitendra Rajurkar ([@KhushiRajurkar](https://github.com/Khushi

---

# v0.6.0 (Tue Jan 07 2025)
## v0.6.0 (Tue Jan 07 2025)

#### 💥 Breaking Changes

Expand All @@ -257,7 +266,7 @@ Thank you, Khushi Jitendra Rajurkar ([@KhushiRajurkar](https://github.com/Khushi

---

# v0.5.1 (Mon Dec 16 2024)
## v0.5.1 (Mon Dec 16 2024)

#### 📝 Documentation

Expand All @@ -269,7 +278,7 @@ Thank you, Khushi Jitendra Rajurkar ([@KhushiRajurkar](https://github.com/Khushi

---

# v0.5.0 (Mon Dec 16 2024)
## v0.5.0 (Mon Dec 16 2024)

#### 🚀 Enhancements

Expand All @@ -285,7 +294,7 @@ Thank you, Khushi Jitendra Rajurkar ([@KhushiRajurkar](https://github.com/Khushi

---

# v0.4.3 (Mon Dec 02 2024)
## v0.4.3 (Mon Dec 02 2024)

#### 🏠 Internal

Expand All @@ -297,7 +306,7 @@ Thank you, Khushi Jitendra Rajurkar ([@KhushiRajurkar](https://github.com/Khushi

---

# v0.4.2 (Thu Nov 07 2024)
## v0.4.2 (Thu Nov 07 2024)

#### 🚀 Enhancements

Expand All @@ -309,7 +318,7 @@ Thank you, Khushi Jitendra Rajurkar ([@KhushiRajurkar](https://github.com/Khushi

---

# v0.4.1 (Tue Oct 29 2024)
## v0.4.1 (Tue Oct 29 2024)

#### 🐛 Bug Fixes

Expand All @@ -325,7 +334,7 @@ Thank you, Khushi Jitendra Rajurkar ([@KhushiRajurkar](https://github.com/Khushi

---

# v0.4.0 (Thu Oct 24 2024)
## v0.4.0 (Thu Oct 24 2024)

#### 💥 Breaking Changes

Expand Down Expand Up @@ -364,7 +373,7 @@ Thank you, Khushi Jitendra Rajurkar ([@KhushiRajurkar](https://github.com/Khushi

---

# v0.3.1 (Tue Aug 13 2024)
## v0.3.1 (Tue Aug 13 2024)

#### 🐛 Bug Fixes

Expand All @@ -380,7 +389,7 @@ Thank you, Khushi Jitendra Rajurkar ([@KhushiRajurkar](https://github.com/Khushi

---

# v0.3.1 (Tue Aug 13 2024)
## v0.3.1 (Tue Aug 13 2024)

#### 🐛 Bug Fixes

Expand All @@ -396,7 +405,7 @@ Thank you, Khushi Jitendra Rajurkar ([@KhushiRajurkar](https://github.com/Khushi

---

# v0.3.1 (Tue Aug 13 2024)
## v0.3.1 (Tue Aug 13 2024)

#### 🐛 Bug Fixes

Expand All @@ -408,7 +417,7 @@ Thank you, Khushi Jitendra Rajurkar ([@KhushiRajurkar](https://github.com/Khushi

---

# v0.3.0 (Fri Aug 02 2024)
## v0.3.0 (Fri Aug 02 2024)

#### 💥 Breaking Changes

Expand All @@ -425,7 +434,7 @@ Thank you, Khushi Jitendra Rajurkar ([@KhushiRajurkar](https://github.com/Khushi

---

# v0.2.1 (Tue Apr 16 2024)
## v0.2.1 (Tue Apr 16 2024)

#### 🐛 Bug Fixes

Expand All @@ -439,7 +448,7 @@ Thank you, Khushi Jitendra Rajurkar ([@KhushiRajurkar](https://github.com/Khushi

---

# v0.2.0 (Thu Apr 11 2024)
## v0.2.0 (Thu Apr 11 2024)

:tada: This release contains work from a new contributor! :tada:

Expand Down
39 changes: 39 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@

</div>

> [!IMPORTANT]
> **Development of this repo has moved to the Neurobagel monorepo, [neurobagel/neurobagel](https://github.com/neurobagel/neurobagel)**, in the [`tools/api`](https://github.com/neurobagel/neurobagel/tree/main/tools/api) folder.
> The [neurobagel/api](https://github.com/neurobagel/api) repository is now a read-only mirror of that folder: please open issues and pull requests in the monorepo.
> To contribute, see [Working in the monorepo](#working-in-the-monorepo).

The Neurobagel API is a REST API, developed in [Python](https://www.python.org/) using [FastAPI](https://fastapi.tiangolo.com/) and [Pydantic](https://docs.pydantic.dev/).

Please refer to our [**official documentation**](https://neurobagel.org/user_guide/api/) for more information on how to use the API.
Expand Down Expand Up @@ -256,6 +261,40 @@
uv lock
```

## Working in the monorepo

Development happens in the Neurobagel monorepo ([neurobagel/neurobagel](https://github.com/neurobagel/neurobagel)), in `tools/api`; [neurobagel/api](https://github.com/neurobagel/api) is a read-only mirror of that folder. Clone the monorepo to make changes:

```bash
git clone https://github.com/neurobagel/neurobagel.git
cd neurobagel
```

Differences from the instructions above:

- `recipes` and `neurobagel_examples` are no longer submodules. They are symlinks to the monorepo's `recipes/` and `examples/` folders, so no `git submodule update` is needed.
- The Python versions CI tests are listed in `.github/workflows/test.yaml` (in this folder); pin one of them, because uv otherwise picks whatever Python it finds. Run the commands from `tools/api`.

From the monorepo root:

```bash
cd tools/api
uv sync --python 3.12 --group dev
uv run --python 3.12 pytest
```

The integration tests (marked `integration`, skipped by default and in CI) need the test graph:

```bash
cd tools/api
docker compose up -d test_graph export_datasets_metadata
until docker compose logs test_graph | grep "FINISHED UPLOADING DATA" >/dev/null; do sleep 2; done
uv run --python 3.12 pytest -m "integration or not integration"
docker compose down -v
```

Commit hooks: run `pre-commit install` once at the monorepo root; the root `.pre-commit-config.yaml` has this tool's hooks, with this folder's config files. Pull request titles must be conventional commits, and releases (tags `api-v<version>`) are made from the monorepo; see [DEVELOPING.md](https://github.com/neurobagel/neurobagel/blob/main/DEVELOPING.md).

Check failure on line 296 in README.md

View workflow job for this annotation

GitHub Actions / Check for broken markdown links

[Linkspector] reported by reviewdog 🐶 Cannot reach https://github.com/neurobagel/neurobagel/blob/main/DEVELOPING.md Status: 503 Raw Output: message:"Cannot reach https://github.com/neurobagel/neurobagel/blob/main/DEVELOPING.md Status: 503" location:{path:"README.md" range:{start:{line:296 column:277} end:{line:296 column:358}}} severity:ERROR source:{name:"linkspector" url:"https://github.com/UmbrellaDocs/linkspector"}

## License

Neurobagel API is released under the terms of the [MIT License](LICENSE)
2 changes: 1 addition & 1 deletion neurobagel_examples
Submodule neurobagel_examples updated 1 files
+5 −0 README.md
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ dependencies = [
"pydantic-settings",
"pandas<3",
"numpy",
"PyJWT",
"pyjwt[crypto]",
"typing-extensions"
]

Expand All @@ -56,6 +56,11 @@ version-file = "app/_version.py" # useful for accessing dynamically calculated

[tool.hatch.version.raw-options]
local_scheme = "no-local-version" # do not append local version info to the version string to avoid PyPI upload errors
# Monorepo and old repository: find the git root above this folder, and read this package's
# tags (api-v<version> in the monorepo, v<version> in the old repository)
search_parent_directories = true
tag_regex = "^(?:api-)?v(?P<version>\\d+(?:\\.\\d+){0,2}[^\\+]*)(?:\\+.*)?$"
git_describe_command = "git describe --dirty --tags --long --match 'api-v*' --match 'v*'"

[tool.black]
line-length = 79
Expand Down
2 changes: 1 addition & 1 deletion recipes
Submodule recipes updated 3 files
+30 −0 README.md
+7 −7 package-lock.json
+1 −1 package.json
Loading