diff --git a/CHANGELOG.md b/CHANGELOG.md index f1f2a2b7..517a4d05 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,37 @@ # Changelog +## [1.8.0](https://github.com/thomiceli/opengist/compare/v1.7.5...v1.8.0) - 2024-09-12 +See here how to [update](https://opengist.io/docs/update) Opengist. + +### 🔴 Deprecations +_Removed in the next SemVer MAJOR version of Opengist._ +* Use the configuration option `db-uri`/`OG_DB_URI` **instead of** `db-filename`/`OG_DB_FILENAME`.\ + More info [here](https://opengist.io/docs/configuration/databases/sqlite) if you plan to keep SQLite as a DBMS for Opengist. + +### Added +- Postgres and MySQL databases support (#335) +- Passkeys & TOTP support + MFA (#341) (#342) +- Add/Remove admins (#337) +- Queriable shorter uuids (#338) +- Use Docker secrets (#340) +- SVG preview in Markdown (#346) +- Secret key definition & move the secret key file to its parent directory (#358) +- More translation strings (#339) + +### Changed +- Separate OAuth unlink URL (#336) + +### Fixed +- Adding multiple empty lines in editor. (#345) +- Config URL (#343) +- Send Markdown preview data as form params (#347) +- Fix oauth endpoint to support detecting https in 'Forwarded' header, enabling google support (#359) +- Use mail handle if OAuth nickname is empty (#362) + +### Other +- Use go 1.23 and update deps (#354) +- Typos in README (#363) + ## [1.7.5](https://github.com/thomiceli/opengist/compare/v1.7.4...v1.7.5) - 2024-09-12 See here how to [update](/docs/update.md) Opengist. diff --git a/README.md b/README.md index 2a9b530f..384e5d40 100644 --- a/README.md +++ b/README.md @@ -76,9 +76,9 @@ Download the archive for your system from the release page [here](https://github ```shell # example for linux amd64 -wget https://github.com/thomiceli/opengist/releases/download/v1.7.5/opengist1.7.5-linux-amd64.tar.gz +wget https://github.com/thomiceli/opengist/releases/download/v1.8.0/opengist1.8.0-linux-amd64.tar.gz -tar xzvf opengist1.7.5-linux-amd64.tar.gz +tar xzvf opengist1.8.0-linux-amd64.tar.gz cd opengist chmod +x opengist ./opengist # with or without `--config config.yml` diff --git a/deploy/README.md b/deploy/README.md index a196a8c9..fc861646 100644 --- a/deploy/README.md +++ b/deploy/README.md @@ -28,11 +28,11 @@ namespace: opengist resources: - namespace.yaml - - https://github.com/thomiceli/opengist/deploy/?ref:v1.7.5 + - https://github.com/thomiceli/opengist/deploy/?ref:v1.8.0 images: - name: ghcr.io/thomiceli/opengist - newTag: 1.7.5 + newTag: 1.8.0 patches: # Add your ingress diff --git a/docs/.vitepress/theme/Home.vue b/docs/.vitepress/theme/Home.vue index 9dfbe499..bf81440e 100644 --- a/docs/.vitepress/theme/Home.vue +++ b/docs/.vitepress/theme/Home.vue @@ -19,7 +19,7 @@ export default {
- Released 1.7.5 + Released 1.8.0 diff --git a/docs/configuration/cheat-sheet.md b/docs/configuration/cheat-sheet.md index da1dddf7..20f49281 100644 --- a/docs/configuration/cheat-sheet.md +++ b/docs/configuration/cheat-sheet.md @@ -11,7 +11,7 @@ aside: false | external-url | OG_EXTERNAL_URL | none | Public URL to access to Opengist. | | opengist-home | OG_OPENGIST_HOME | home directory | Path to the directory where Opengist stores its data. | | secret-key | OG_SECRET_KEY | randomized 32 bytes | Secret key used for session store & encrypt MFA data on database. | -| db-filename | OG_DB_FILENAME | `opengist.db` | Name of the SQLite database file. | +| db-uri | OG_DB_URI | `opengist.db` | URI of the database. | | index.enabled | OG_INDEX_ENABLED | `true` | Enable or disable the code search index (`true` or `false`) | | index.dirname | OG_INDEX_DIRNAME | `opengist.index` | Name of the directory where the code search index is stored. | | git.default-branch | OG_GIT_DEFAULT_BRANCH | none | Default branch name used by Opengist when initializing Git repositories. If not set, uses the Git default branch name. More info [here](https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup#_new_default_branch) | diff --git a/docs/configuration/databases/sqlite.md b/docs/configuration/databases/sqlite.md index 0e07ad31..ff3be8f9 100644 --- a/docs/configuration/databases/sqlite.md +++ b/docs/configuration/databases/sqlite.md @@ -11,11 +11,15 @@ The SQLite journal mode is set to [`WAL` (Write-Ahead Logging)](https://www.sqli #### YAML ```yaml +# default +db-uri: opengist.db sqlite.journal-mode: WAL ``` #### Environment variable ```sh +# default +OG_DB_URI=opengist.db OG_SQLITE_JOURNAL_MODE=WAL ``` diff --git a/docs/installation/binary.md b/docs/installation/binary.md index a87252e7..2bbbd33b 100644 --- a/docs/installation/binary.md +++ b/docs/installation/binary.md @@ -4,9 +4,9 @@ Download the archive for your system from the release page [here](https://github ```shell # example for linux amd64 -wget https://github.com/thomiceli/opengist/releases/download/v1.7.5/opengist1.7.5-linux-amd64.tar.gz +wget https://github.com/thomiceli/opengist/releases/download/v1.8.0/opengist1.8.0-linux-amd64.tar.gz -tar xzvf opengist1.7.5-linux-amd64.tar.gz +tar xzvf opengist1.8.0-linux-amd64.tar.gz cd opengist chmod +x opengist ./opengist # with or without `--config config.yml` diff --git a/docs/installation/source.md b/docs/installation/source.md index f251c62e..779e65a3 100644 --- a/docs/installation/source.md +++ b/docs/installation/source.md @@ -10,7 +10,7 @@ Requirements: git clone https://github.com/thomiceli/opengist cd opengist -git checkout v1.7.5 # optional, to checkout the latest release +git checkout v1.8.0 # optional, to checkout the latest release make ./opengist diff --git a/docs/update.md b/docs/update.md index a0db4211..361d80a4 100644 --- a/docs/update.md +++ b/docs/update.md @@ -27,9 +27,9 @@ Stop the running instance; then like your first installation of Opengist, downlo ```shell # example for linux amd64 -wget https://github.com/thomiceli/opengist/releases/download/v1.7.5/opengist1.7.5-linux-amd64.tar.gz +wget https://github.com/thomiceli/opengist/releases/download/v1.8.0/opengist1.8.0-linux-amd64.tar.gz -tar xzvf opengist1.7.5-linux-amd64.tar.gz +tar xzvf opengist1.8.0-linux-amd64.tar.gz cd opengist chmod +x opengist ./opengist # with or without `--config config.yml`