Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ”– Release v0.0.2 #313

Merged
merged 1 commit into from Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
53 changes: 53 additions & 0 deletions .github/CHANGELOG.md
@@ -1,5 +1,58 @@
# Changelog

<a name="0.0.2"></a>
## 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 &#x60;core&#x60; ([#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 &#x60;react-hook-form&#x60; to &#x60;7.47.0&#x60; ([#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 &#x60;i18n&#x60; 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 &#x60;file:download&#x60; in &#x60;get_media_file&#x60; [[1bdc664](https://github.com/stumpapp/stump/commit/1bdc6641f833420e865e9ac01680d124f9b68d4e)]
- πŸ› Fix top-bar flex sizing for mobile&quot; [[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 &#x27;origin/develop&#x27; 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 &#x27;origin/develop&#x27; 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)]


<a name="0.0.1"></a>
## 0.0.1 (2024-02-17)

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -8,7 +8,7 @@ members = [
]

[workspace.package]
version = "0.0.1"
version = "0.0.2"
rust-version = "1.77.2"

[workspace.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/package.json
@@ -1,6 +1,6 @@
{
"name": "@stump/desktop",
"version": "0.0.1",
"version": "0.0.2",
"description": "",
"license": "MIT",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion 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 <aaronleopold1221@gmail.com>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion apps/expo/package.json
Expand Up @@ -51,6 +51,6 @@
"tailwindcss": "3.3.2"
},
"name": "@stump/mobile",
"version": "0.0.1",
"version": "0.0.2",
"private": true
}
2 changes: 1 addition & 1 deletion 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",
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
@@ -1,6 +1,6 @@
{
"name": "@stump/web",
"version": "0.0.1",
"version": "0.0.2",
"description": "",
"license": "MIT",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "cli"
version = "0.0.1"
version = "0.0.2"
edition = "2021"

[[bin]]
Expand Down
2 changes: 1 addition & 1 deletion 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 <aaronleopold1221@gmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion 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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/browser/package.json
@@ -1,6 +1,6 @@
{
"name": "@stump/browser",
"version": "0.0.1",
"version": "0.0.2",
"description": "",
"license": "MIT",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion 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": {
Expand Down
2 changes: 1 addition & 1 deletion 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",
Expand Down
2 changes: 1 addition & 1 deletion 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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
@@ -1,6 +1,6 @@
{
"name": "@stump/types",
"version": "0.0.1",
"version": "0.0.2",
"description": "",
"main": "index.ts",
"exports": {
Expand Down
15 changes: 11 additions & 4 deletions scripts/release/bump-version.sh
Expand Up @@ -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..."
Expand All @@ -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