From f7efe44b3125c691f858b03a6a3e7d6095fff0d5 Mon Sep 17 00:00:00 2001 From: Aaron Leopold <36278431+aaronleopold@users.noreply.github.com> Date: Sun, 21 Apr 2024 12:24:29 -0700 Subject: [PATCH] :bookmark: Release v0.0.2 --- .github/CHANGELOG.md | 53 +++++++++++++++++++++++++++++++ .github/workflows/release.yml | 4 +-- Cargo.lock | 10 +++--- Cargo.toml | 2 +- apps/desktop/package.json | 2 +- apps/desktop/src-tauri/Cargo.toml | 2 +- apps/expo/package.json | 2 +- apps/server/package.json | 2 +- apps/web/package.json | 2 +- crates/cli/Cargo.toml | 2 +- package.json | 2 +- packages/api/package.json | 2 +- packages/browser/package.json | 2 +- packages/client/package.json | 2 +- packages/components/package.json | 2 +- packages/i18n/package.json | 2 +- packages/types/package.json | 2 +- scripts/release/bump-version.sh | 15 ++++++--- 18 files changed, 85 insertions(+), 25 deletions(-) diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index 54cf4fc42..24c6a3799 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -1,5 +1,58 @@ # Changelog + +## 0.0.2 (2024-04-21) + +### Added + +- 🔊 Improve logging during config init [[f1382d4](https://github.com/stumpapp/stump/commit/f1382d4bc3d015658f2d970d69aea2cad886c1be)] +- ✨ Arrangeable sidebar and topbar ([#308](https://github.com/stumpapp/stump/issues/308)) [[09b280f](https://github.com/stumpapp/stump/commit/09b280fefd4b9f7b3a862c2e0d6a141f3b92e6c5)] +- ✅ Add OPDS tests to `core` ([#301](https://github.com/stumpapp/stump/issues/301)) [[f130c8b](https://github.com/stumpapp/stump/commit/f130c8beaeb03211a2daf481576ed1bdf8d06fdf)] +- ✅ Update failing tests ([#295](https://github.com/stumpapp/stump/issues/295)) [[7b3d4d9](https://github.com/stumpapp/stump/commit/7b3d4d99fad5877f5eb1c729a56971983408ae0c)] +- ✨ Extract age rating meta for EPUB files ([#291](https://github.com/stumpapp/stump/issues/291)) [[46e34f2](https://github.com/stumpapp/stump/commit/46e34f294255d211cbd22f53c8e29beed5c4840b)] +- ✨ Search entire EPUB text and vertical scroll reader ([#278](https://github.com/stumpapp/stump/issues/278)) [[3108cb7](https://github.com/stumpapp/stump/commit/3108cb76d513e241f08a6881fd10645f9f8a1da9)] +- ✨ Hide libraries from target user(s) ([#271](https://github.com/stumpapp/stump/issues/271)) [[b3f7d16](https://github.com/stumpapp/stump/commit/b3f7d16bddaa43b16cad3a303e89425067c76cc2)] + +### Changed + +- ⬇️ Downgrade `react-hook-form` to `7.47.0` ([#316](https://github.com/stumpapp/stump/issues/316)) ([#317](https://github.com/stumpapp/stump/issues/317)) [[1d1c396](https://github.com/stumpapp/stump/commit/1d1c396985800104df4029a37da6eb7a0f4d6803)] +- 🚨 Fix clippy lints [[f82ee09](https://github.com/stumpapp/stump/commit/f82ee0991f1e816102c0f6ab38429ad214b036e8)] +- ⬆️ Pre-0.0.2 housekeeping ([#305](https://github.com/stumpapp/stump/issues/305)) [[724f7e0](https://github.com/stumpapp/stump/commit/724f7e017ea2901829affef81c5e4164c466c8cf)] +- 🚨 Fix React warning for invalid progress prop [[c826678](https://github.com/stumpapp/stump/commit/c8266789bd8ce747a5ff55ce2a747a0529cbd1a5)] +- 🚸 Add prefetching to book/series grid pagination [[2f06b7c](https://github.com/stumpapp/stump/commit/2f06b7cb5a2301784e4296405b3b183682241f1f)] +- 🎨 Isolate `i18n` to separate package ([#272](https://github.com/stumpapp/stump/issues/272)) [[42d97c0](https://github.com/stumpapp/stump/commit/42d97c0d13bf600709efa15f2617e5703e059d6a)] +- 💄 Redesign file explorer and isolate to shared component(s) ([#286](https://github.com/stumpapp/stump/issues/286)) [[1d30084](https://github.com/stumpapp/stump/commit/1d30084d4b6095047c4e8f0d50ad4e35dc4209d0)] +- ♻️ Refactor image readers with more shared logic ([#285](https://github.com/stumpapp/stump/issues/285)) [[a2a49b7](https://github.com/stumpapp/stump/commit/a2a49b73cf3d381f0ad1921cece5c5a4840a8838)] +- ♻️ Scanner and background task rewrite ([#265](https://github.com/stumpapp/stump/issues/265)) [[b589d48](https://github.com/stumpapp/stump/commit/b589d487a4b15508ecf53366473835feabb2e15b)] + +### Fixed + +- 🐛 Fix query loading navigation arrangements [[b6e312d](https://github.com/stumpapp/stump/commit/b6e312d9327fd3ba4b450ce564e029a4139764d7)] +- 🐛 Add missed permission check for `file:download` in `get_media_file` [[1bdc664](https://github.com/stumpapp/stump/commit/1bdc6641f833420e865e9ac01680d124f9b68d4e)] +- 🐛 Fix top-bar flex sizing for mobile" [[e03442b](https://github.com/stumpapp/stump/commit/e03442bf33601d326b2b894a4e020bf653f891db)] +- ✏️ Fix typo in README.md ([#294](https://github.com/stumpapp/stump/issues/294)) [[17d8526](https://github.com/stumpapp/stump/commit/17d8526035616c4b2258a0ed9442a3d7a5f42ce3)] +- 🐛 Fix typos from merge [[581110a](https://github.com/stumpapp/stump/commit/581110a1594952b4b1e4998fc2e365c8f81e460f)] + +### Miscellaneous + +- Merge pull request [#298](https://github.com/stumpapp/stump/issues/298) from stumpapp/develop [[dfb6bb8](https://github.com/stumpapp/stump/commit/dfb6bb8cb3c87ac1f1517ba2c917277dde916515)] +- 🌐 Update translations ([#306](https://github.com/stumpapp/stump/issues/306)) [[f9d467e](https://github.com/stumpapp/stump/commit/f9d467e56aaf91bc9274ce9465b3fc5e0e4e415c)] +- Merge pull request [#312](https://github.com/stumpapp/stump/issues/312) from stumpapp/al/0.0.2-fixes [[4beb7b3](https://github.com/stumpapp/stump/commit/4beb7b39474b8e549c9967d35c2fbbcee8c0ffd0)] +- 📝 Update outdated docs pages [[79592dc](https://github.com/stumpapp/stump/commit/79592dc2bf4f80c52edbfb0908c4eaa69dd45d04)] +- 📝 Update README and CONTRIBUTING [[9c89774](https://github.com/stumpapp/stump/commit/9c89774c3f567aaed5be89a2ccee27d2dbb45c90)] +- 0.0.2 bug hunting ([#302](https://github.com/stumpapp/stump/issues/302)) [[cc376ec](https://github.com/stumpapp/stump/commit/cc376ec679bad3a0002d813b3066ac968c1a44fc)] +- 🌐 Update translations ([#303](https://github.com/stumpapp/stump/issues/303)) [[b286339](https://github.com/stumpapp/stump/commit/b286339db45f7f03391d0d63b00894223aba209c)] +- 🌐 Update translations ([#293](https://github.com/stumpapp/stump/issues/293)) [[ba5aaca](https://github.com/stumpapp/stump/commit/ba5aaca82a5faf86b41d2a5cfa140b5dfd5fc159)] +- Merge pull request [#290](https://github.com/stumpapp/stump/issues/290) from stumpapp/experimental [[65bd3e8](https://github.com/stumpapp/stump/commit/65bd3e8cc9765e7f7d826d272e424cf74fece0be)] +- 🍻 POC EpubJS RN reader ([#289](https://github.com/stumpapp/stump/issues/289)) [[aec4118](https://github.com/stumpapp/stump/commit/aec4118d466ff0d20967232090c49509c3da36e2)] +- 🚧 Mobile App Foundations ([#282](https://github.com/stumpapp/stump/issues/282)) [[d61ab76](https://github.com/stumpapp/stump/commit/d61ab767bb10c4be692521b4cc73be753a5a301d)] +- Merge remote-tracking branch 'origin/develop' into experimental [[1a5e0d4](https://github.com/stumpapp/stump/commit/1a5e0d4af70c6ae729cf7d7ef198448ce284b993)] +- 👷 Adjust CI workflows ([#275](https://github.com/stumpapp/stump/issues/275)) [[d8e9e4c](https://github.com/stumpapp/stump/commit/d8e9e4c7e4117c9a6dd0c94c52f66370b93a4286)] +- Merge remote-tracking branch 'origin/develop' into experimental [[7024792](https://github.com/stumpapp/stump/commit/7024792448a60f2cde6cceb336f74724beefc41e)] +- 🩹 Fix dockerfile for yarn ([#267](https://github.com/stumpapp/stump/issues/267)) [[fd3396a](https://github.com/stumpapp/stump/commit/fd3396af4b2ccb857c86fede0773c068c23f009d)] +- 🧑‍💻 Migrate to Yarn ([#266](https://github.com/stumpapp/stump/issues/266)) [[1128556](https://github.com/stumpapp/stump/commit/11285567cd7c631d3abd37824bfd3ce972508e46)] + + ## 0.0.1 (2024-02-17) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 053be2d73..034b308b6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: parse-semver: if: contains(github.event.pull_request.head.ref, 'release/v') name: Parse semver version - runs-on: [self-hosted, ubuntu-22.04] + runs-on: [ubuntu-22.04] outputs: version: ${{ steps.tag.outputs.version }} tags: ${{ steps.docker-tags.outputs.tags }} @@ -42,7 +42,7 @@ jobs: push-or-load: if: contains(github.event.pull_request.head.ref, 'release/v') name: Configure docker load/push - runs-on: [self-hosted, ubuntu-22.04] + runs-on: [ubuntu-22.04] outputs: load: ${{ steps.configure.outputs.load }} push: ${{ steps.configure.outputs.push }} diff --git a/Cargo.lock b/Cargo.lock index c1bed6962..381aade81 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -867,7 +867,7 @@ checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" [[package]] name = "cli" -version = "0.0.1" +version = "0.0.2" dependencies = [ "bcrypt", "clap", @@ -913,7 +913,7 @@ dependencies = [ [[package]] name = "codegen" -version = "0.0.1" +version = "0.0.2" [[package]] name = "codespan-reporting" @@ -6396,7 +6396,7 @@ dependencies = [ [[package]] name = "stump_core" -version = "0.0.1" +version = "0.0.2" dependencies = [ "alphanumeric-sort", "async-channel", @@ -6443,7 +6443,7 @@ dependencies = [ [[package]] name = "stump_desktop" -version = "0.0.1" +version = "0.0.2" dependencies = [ "discord-rich-presence", "serde", @@ -6456,7 +6456,7 @@ dependencies = [ [[package]] name = "stump_server" -version = "0.0.1" +version = "0.0.2" dependencies = [ "async-stream", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index bbfce37ab..6fdd90ea9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ members = [ ] [workspace.package] -version = "0.0.1" +version = "0.0.2" rust-version = "1.77.2" [workspace.dependencies] diff --git a/apps/desktop/package.json b/apps/desktop/package.json index 680c40f6a..b62eaf1a3 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -1,6 +1,6 @@ { "name": "@stump/desktop", - "version": "0.0.1", + "version": "0.0.2", "description": "", "license": "MIT", "scripts": { diff --git a/apps/desktop/src-tauri/Cargo.toml b/apps/desktop/src-tauri/Cargo.toml index 9b376b5eb..d79cff375 100644 --- a/apps/desktop/src-tauri/Cargo.toml +++ b/apps/desktop/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "stump_desktop" -version = "0.0.1" +version = "0.0.2" description = "" authors = ["Aaron Leopold "] license = "MIT" diff --git a/apps/expo/package.json b/apps/expo/package.json index 129d3609e..67560c83d 100644 --- a/apps/expo/package.json +++ b/apps/expo/package.json @@ -51,6 +51,6 @@ "tailwindcss": "3.3.2" }, "name": "@stump/mobile", - "version": "0.0.1", + "version": "0.0.2", "private": true } diff --git a/apps/server/package.json b/apps/server/package.json index a708c416f..75ba46596 100644 --- a/apps/server/package.json +++ b/apps/server/package.json @@ -1,7 +1,7 @@ { "name": "@stump/server", "private": true, - "version": "0.0.1", + "version": "0.0.2", "scripts": { "lint": "cargo clippy --package stump_server -- -D warnings", "format": "cargo fmt --package stump_server", diff --git a/apps/web/package.json b/apps/web/package.json index 2cace76a4..f67ec83a5 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -1,6 +1,6 @@ { "name": "@stump/web", - "version": "0.0.1", + "version": "0.0.2", "description": "", "license": "MIT", "scripts": { diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index c7ad9a386..1700b48cd 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cli" -version = "0.0.1" +version = "0.0.2" edition = "2021" [[bin]] diff --git a/package.json b/package.json index 67bddebd2..9a544bbb0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@stump/monorepo", - "version": "0.0.1", + "version": "0.0.2", "repository": "https://github.com/stumpapp/stump.git", "author": "Aaron Leopold ", "license": "MIT", diff --git a/packages/api/package.json b/packages/api/package.json index 9695bda3d..44f630fe1 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@stump/api", - "version": "0.0.1", + "version": "0.0.2", "description": "", "main": "src/index.ts", "exports": { diff --git a/packages/browser/package.json b/packages/browser/package.json index c26e1dfbb..e977b8eeb 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -1,6 +1,6 @@ { "name": "@stump/browser", - "version": "0.0.1", + "version": "0.0.2", "description": "", "license": "MIT", "private": true, diff --git a/packages/client/package.json b/packages/client/package.json index dc56c617a..931090190 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@stump/client", - "version": "0.0.1", + "version": "0.0.2", "private": true, "main": "src/index.ts", "exports": { diff --git a/packages/components/package.json b/packages/components/package.json index b59df4497..bd4be277b 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@stump/components", - "version": "0.0.1", + "version": "0.0.2", "exports": { ".": "./src/index.ts", "./styles/overrides.css": "./src/styles/overrides.css", diff --git a/packages/i18n/package.json b/packages/i18n/package.json index 7f010c904..4d84daf80 100644 --- a/packages/i18n/package.json +++ b/packages/i18n/package.json @@ -1,6 +1,6 @@ { "name": "@stump/i18n", - "version": "0.0.1", + "version": "0.0.2", "description": "", "main": "src/index.ts", "exports": { diff --git a/packages/types/package.json b/packages/types/package.json index e01d80024..3ab466763 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@stump/types", - "version": "0.0.1", + "version": "0.0.2", "description": "", "main": "index.ts", "exports": { diff --git a/scripts/release/bump-version.sh b/scripts/release/bump-version.sh index 233d5398e..b45f220f4 100755 --- a/scripts/release/bump-version.sh +++ b/scripts/release/bump-version.sh @@ -7,6 +7,7 @@ _GENERATE_CHANGELOG=${GENERATE_CHANGELOG:=1} # desktop, mobile, core -> default is core _TARGETS=${TARGETS:=core} + # If no targets are specified, exit. This _shouldn't_ happen since the default is core if [ -z "$_TARGETS" ]; then echo "No targets specified. Exiting..." @@ -22,19 +23,25 @@ if [[ $_TARGETS == *"core"* ]]; then _VERSION=$(jq -r '.version' package.json) # Update the version according to the bump (major, minor, patch) - _NEW_VERSION=$(pnpx semver $_VERSION -i $_BUMP) + _NEW_VERSION=$(yarn -s semver $_VERSION -i $_BUMP) + + # if _NEW_VERSION is empty, exit + if [ -z "$_NEW_VERSION" ]; then + echo "Something went wrong while bumping the version. Exiting..." + exit 1 + fi # Update the version in the root package.json and in: (apps/*/package.json, packages/*/package.json, interface/package.json) - PATHS=("package.json" "apps/*/package.json" "packages/*/package.json" "interface/package.json") + PATHS=("package.json" "apps/*/package.json" "packages/*/package.json") for path in ${PATHS[@]}; do jq ".version = \"$_NEW_VERSION\"" $path > tmp.$$.json && mv tmp.$$.json $path done # Fix the formatting of the JSON files from the previous step - pnpm prettify + yarn prettify fi # https://docs.gitmoji-changelog.dev/#/?id=%f0%9f%93%9a-how-it-works if [ $_GENERATE_CHANGELOG == 1 ]; then - pnpx gitmoji-changelog --output ./.github/CHANGELOG.md + npx gitmoji-changelog --output ./.github/CHANGELOG.md fi \ No newline at end of file