Skip to content

Commit 59f3dda

Browse files
committed
Merge branch 'release/v1.0.0'
2 parents 305e563 + d80dbd4 commit 59f3dda

454 files changed

Lines changed: 66869 additions & 41259 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.dockerignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ db/
99
LICENSE
1010
README.md
1111
Dockerfile
12-
Dockerfile.dev
1312
Makefile
1413
docker-compose.yml
15-
docker-compose.dev.yml
1614
CHANGELOG.md
1715

.env.example

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
THOTH_GRAPHQL_API=http://localhost:8000
33
# THOTH_EXPORT_API is used at compile time, must be a public facing URL
44
THOTH_EXPORT_API=http://localhost:8181
5-
# Authentication cookie domain
6-
THOTH_DOMAIN=localhost
75
# Full postgres URL
86
DATABASE_URL=postgres://thoth:thoth@localhost/thoth
97
# Full redis URL
108
REDIS_URL=redis://localhost:6379
11-
# Authentication cookie secret key
12-
SECRET_KEY=an_up_to_255_bytes_random_key
9+
# AWS credentials for file uploads
10+
AWS_ACCESS_KEY_ID=
11+
AWS_SECRET_ACCESS_KEY=
12+
AWS_REGION=
1313
# Logging level
1414
RUST_LOG=info
1515

.github/workflows/build_test_and_check.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ on:
2525

2626
env:
2727
CARGO_TERM_COLOR: always
28-
THOTH_GRAPHQL_API: https://api.thoth.pub
2928
THOTH_EXPORT_API: https://export.thoth.pub
29+
TEST_DATABASE_URL: postgres://thoth:thoth@localhost:5432/thoth_test
3030
TEST_REDIS_URL: redis://localhost:6379
3131

3232
jobs:
@@ -48,6 +48,19 @@ jobs:
4848
test:
4949
runs-on: ubuntu-latest
5050
services:
51+
postgres:
52+
image: postgres:17
53+
env:
54+
POSTGRES_DB: thoth_test
55+
POSTGRES_USER: thoth
56+
POSTGRES_PASSWORD: thoth
57+
ports:
58+
- 5432:5432
59+
options: >-
60+
--health-cmd pg_isready
61+
--health-interval 10s
62+
--health-timeout 5s
63+
--health-retries 5
5164
redis:
5265
image: redis:alpine
5366
options: >-

.github/workflows/docker_build_and_push_to_dockerhub.yml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -41,27 +41,6 @@ jobs:
4141
tags: ${{ steps.meta.outputs.tags }}
4242
labels: ${{ steps.meta.outputs.labels }}
4343
build-args: |
44-
THOTH_GRAPHQL_API=https://api.test.thoth.pub
4544
THOTH_EXPORT_API=https://export.test.thoth.pub
4645
- name: Image digest
4746
run: echo ${{ steps.docker_build.outputs.digest }}
48-
49-
build_dev_docker_image:
50-
runs-on: ubuntu-latest
51-
steps:
52-
- name: Set up QEMU
53-
uses: docker/setup-qemu-action@v3
54-
- name: Set up Docker Buildx
55-
uses: docker/setup-buildx-action@v3
56-
- name: Build
57-
id: docker_build
58-
uses: docker/build-push-action@v5
59-
with:
60-
push: false
61-
tags: thoth-pub/thoth:latest
62-
file: Dockerfile.dev
63-
build-args: |
64-
THOTH_GRAPHQL_API=https://api.thoth.pub
65-
THOTH_EXPORT_API=https://export.thoth.pub
66-
- name: Image digest
67-
run: echo ${{ steps.docker_build.outputs.digest }}

.github/workflows/docker_build_and_push_to_dockerhub_release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ jobs:
4343
tags: ${{ steps.meta.outputs.tags }}
4444
labels: ${{ steps.meta.outputs.labels }}
4545
build-args: |
46-
THOTH_GRAPHQL_API=https://api.thoth.pub
4746
THOTH_EXPORT_API=https://export.thoth.pub
4847
- name: Image digest
4948
run: echo ${{ steps.docker_build.outputs.digest }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
.env
22
db/
33
target/
4+
machinekey/
5+
coverage/

CHANGELOG.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [[1.0.0]](https://github.com/thoth-pub/thoth/releases/tag/v1.0.0) - 2026-04-01
10+
### Changed
11+
- [736](https://github.com/thoth-pub/thoth/pull/736) - Remove `Funding.jurisdiction` and `Language.mainLanguage`, and add `Issue.issueNumber`
12+
- [732](https://github.com/thoth-pub/thoth/pull/732) - Add default fields for common metadata values to `Imprint`
13+
- [697](https://github.com/thoth-pub/thoth/pull/697) - Migrated GraphQL API authentication to OIDC via Zitadel. Internal JWT handling has been replaced with introspection of Zitadel-issued tokens. Authorisation is now based entirely on token claims, removing the need for the internal `account` and `publisher_account` tables.
14+
- [697](https://github.com/thoth-pub/thoth/pull/697) - Improved and standardised backend model test coverage.
15+
- [689](https://github.com/thoth-pub/thoth/issues/689) - Move `Work.fullTitle`, `Work.title` and `Work.subtitle` into a dedicated `Title` table, supporting multilingual and rich text fields
16+
- [689](https://github.com/thoth-pub/thoth/issues/689) - Move `Work.shortAbstract` and `Work.longAbstract` into a dedicated `Abstract` table with `abstractType`, supporting multilingual and rich text fields
17+
- [689](https://github.com/thoth-pub/thoth/issues/689) - Move `Contribution.biography` into a dedicated `Biography` table, supporting multilingual and rich text fields
18+
- [689](https://github.com/thoth-pub/thoth/issues/689) - Store all rich text fields internally as JATS XML, supporting conversion to/from HTML, Markdown, and plain text
19+
- [689](https://github.com/thoth-pub/thoth/issues/689) - Mark existing GraphQL fields as deprecated and return only the canonical version
20+
- [701](https://github.com/thoth-pub/thoth/issues/701) - Add accessibility-related metadata to Thoth data model and outputs
21+
- [682](https://github.com/thoth-pub/thoth/issues/682) - Improve ONIX 3.0 and 3.1 outputs based on feedback from EDItEUR
22+
23+
### Added
24+
- [711](https://github.com/thoth-pub/thoth/pull/711) - Allow filtering work queries by publication date
25+
- [715](https://github.com/thoth-pub/thoth/pull/715) - Support reordering items which have ordinals
26+
- [713](https://github.com/thoth-pub/thoth/issues/713) - Add a secure and scalable file upload architecture for books and chapters.
27+
- Added new work-linked domain entities: `additional_resource`, `award`, `endorsement`, `book_review`, `work_featured_video`
28+
29+
### Fixed
30+
- [712](https://github.com/thoth-pub/thoth/pull/712) - Make `updated_at_with_relations` propagation less deadlock-prone
31+
32+
### Removed
33+
- [710](https://github.com/thoth-pub/thoth/pull/710) - Deprecated thoth-app
34+
35+
936
## [[0.13.16]](https://github.com/thoth-pub/thoth/releases/tag/v0.13.16) - 2026-03-06
1037
### Changed
1138
- [#731](https://github.com/thoth-pub/thoth/pull/731) - Ignore hyphens when filtering publications on ISBN
1239

1340
## [[0.13.15]](https://github.com/thoth-pub/thoth/releases/tag/v0.13.15) - 2025-12-03
1441
### Changed
15-
- [#717](https://github.com/thoth-pub/thoth/pull/717) - Update Thema codes to v1.6
42+
- [#717](https://github.com/thoth-pub/thoth/pull/717) - Update Thema codes to v1.6
1643

1744
## [[0.13.14]](https://github.com/thoth-pub/thoth/releases/tag/v0.13.14) - 2025-10-14
1845
### Changed

0 commit comments

Comments
 (0)