Skip to content

Commit 49e354f

Browse files
prepare 3.0 release (#138)
* prepare 3.0 release * update changelog * fix?
1 parent cb08b0f commit 49e354f

File tree

6 files changed

+33
-25
lines changed

6 files changed

+33
-25
lines changed

CHANGES.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,32 @@
22

33
## [Unreleased]
44

5+
## [3.0.0] - 2024-08-02
6+
57
- Enable filter extension for `GET /items` requests and add `Queryables` links in `/collections` and `/collections/{collection_id}` responses ([#89](https://github.com/stac-utils/stac-fastapi-pgstac/pull/89))
68
- Allow to omit `collection` in bulk item insertions. Same identifier checks as with single insertions ([#113](https://github.com/stac-utils/stac-fastapi-pgstac/pull/113))
9+
- Set `stac-fastapi-*` requirements to **~=3.0**
710

8-
## [3.0.0a4] - 2024-07-10
11+
## 3.0.0a4 - 2024-07-10
912

1013
- Update stac-fastapi libraries to `~=3.0.0b2`
1114

12-
## [3.0.0a3] - 2024-07-01
15+
## 3.0.0a3 - 2024-07-01
1316

1417
- Use `quote_plus` instead of `quote` to encode database's password ([#122](https://github.com/stac-utils/stac-fastapi-pgstac/pull/122))
1518
- Update stac-fastapi libraries to `~=3.0.0a4`
1619

17-
## [3.0.0a2] - 2024-06-18
20+
## 3.0.0a2 - 2024-06-18
1821

1922
- Update stac-fastapi libraries to `~=3.0.0a3`
2023
- make sure the application can work without any extension
2124

22-
## [3.0.0a1] - 2024-05-22
25+
## 3.0.0a1 - 2024-05-22
2326

2427
- Update stac-fastapi libraries to `~=3.0.0a1`
2528
- Update stac-pydantic dependency to `==3.1.*`
2629

27-
## [3.0.0a0] - 2024-05-10
30+
## 3.0.0a0 - 2024-05-10
2831

2932
### Changed
3033

@@ -330,12 +333,8 @@ As a part of this release, this repository was extracted from the main
330333

331334
- First PyPi release!
332335

333-
[Unreleased]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/3.0.0a4..main>
334-
[3.0.0a4]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/3.0.0a3..3.0.0a4>
335-
[3.0.0a3]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/3.0.0a2..3.0.0a3>
336-
[3.0.0a2]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/3.0.0a1..3.0.0a2>
337-
[3.0.0a1]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/3.0.0a0..3.0.0a1>
338-
[3.0.0a0]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/2.5.0..3.0.0a0>
336+
[Unreleased]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/3.0.0..main>
337+
[3.0.0]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/2.5.0..3.0.0>
339338
[2.5.0]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/2.4.11..2.5.0>
340339
[2.4.11]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/2.4.10..2.4.11>
341340
[2.4.10]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/2.4.9..2.4.10>

Makefile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,25 @@ APP_PORT ?= 8080
44
EXTERNAL_APP_PORT ?= ${APP_PORT}
55
LOG_LEVEL ?= warning
66

7-
run = docker-compose run --rm \
7+
run = docker compose run --rm \
88
-p ${EXTERNAL_APP_PORT}:${APP_PORT} \
99
-e APP_HOST=${APP_HOST} \
1010
-e APP_PORT=${APP_PORT} \
1111
app
1212

13-
runtests = docker-compose run --rm tests
13+
runtests = docker compose run --rm tests
1414

1515
.PHONY: image
1616
image:
17-
docker-compose build
17+
docker compose build
1818

1919
.PHONY: docker-run
2020
docker-run: image
21-
docker-compose up
21+
docker compose up
2222

2323
.PHONY: docker-run-nginx-proxy
2424
docker-run-nginx-proxy:
25-
docker-compose -f docker-compose.yml -f docker-compose.nginx.yml up
25+
docker compose -f docker-compose.yml -f docker-compose.nginx.yml up
2626

2727
.PHONY: docker-shell
2828
docker-shell:
@@ -34,22 +34,22 @@ test:
3434

3535
.PHONY: run-database
3636
run-database:
37-
docker-compose run --rm database
37+
docker compose run --rm database
3838

3939
.PHONY: run-joplin
4040
run-joplin:
41-
docker-compose run --rm loadjoplin
41+
docker compose run --rm loadjoplin
4242

4343
.PHONY: install
4444
install:
4545
pip install -e .[dev,server]
4646

4747
.PHONY: docs-image
4848
docs-image:
49-
docker-compose -f docker-compose.docs.yml \
49+
docker compose -f docker-compose.docs.yml \
5050
build
5151

5252
.PHONY: docs
5353
docs: docs-image
54-
docker-compose -f docker-compose.docs.yml \
54+
docker compose -f docker-compose.docs.yml \
5555
run docs

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ It validates requests and data sent to a [PgSTAC](https://github.com/stac-utils/
1919
All other processing and search is provided directly using PgSTAC procedural sql / plpgsql functions on the database.
2020
PgSTAC stores all collection and item records as jsonb fields exactly as they come in allowing for any custom fields to be stored and retrieved transparently.
2121

22+
## `PgSTAC` version
23+
24+
`stac-fastapi-pgstac` depends on [`pgstac`](https://stac-utils.github.io/pgstac/pgstac/) database schema and [`pypgstac`](https://stac-utils.github.io/pgstac/pypgstac/) python package.
25+
26+
| stac-fastapi-pgstac Version | pgstac |
27+
| --| --|
28+
| 2.5 | >=0.7,<0.8 |
29+
| 3.0 | >=0.8,<0.9 |
30+
2231
## Usage
2332

2433
PgSTAC is an external project and may be used by multiple front ends.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.0a4
1+
3.0.0

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"orjson",
1111
"pydantic",
1212
"stac_pydantic==3.1.*",
13-
"stac-fastapi.api~=3.0.0b2",
14-
"stac-fastapi.extensions~=3.0.0b2",
15-
"stac-fastapi.types~=3.0.0b2",
13+
"stac-fastapi.api~=3.0",
14+
"stac-fastapi.extensions~=3.0",
15+
"stac-fastapi.types~=3.0",
1616
"asyncpg",
1717
"buildpg",
1818
"brotli_asgi",

stac_fastapi/pgstac/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""library version."""
22

3-
__version__ = "3.0.0a4"
3+
__version__ = "3.0.0"

0 commit comments

Comments
 (0)