Merged
Conversation
… of string - Added `arrayBufferToString` helper to handle migration file reading as strings. - Moved `dbMigrations` retrieval outside the loop to improve efficiency.
- Added `updated` column with default 0 to `actors` and `collection` tables. - Created unique indices: - `actors_id_unique` on `actors(id)` - `collection_id_unique` on `collection(id)` - `settings_id_unique` on `settings(id)` - Updated TypeScript definitions to reflect the schema changes.
…ions - Movies are now checked for their membership in a collection. - If a collection exists but is not yet in the database, it will be added. - The `updated` field for movies is set to the current time if it hasn't been updated yet. - Movies are only updated again if the `updated` date is older than the defined period.
…m the database - A new function `getAllCollections` is added to fetch all collections from the database. - The function uses a database query to select all records from the `collections` table. - Errors are logged if the query fails.
…he defined time span - A new function `updateCollection` is added to update collections in the database. - The function checks if the "updated" field is missing or outdated based on the defined time span (`WEEKS_IN_MILLIS`). - If the "updated" field is missing, it sets the current date. If it's outdated, it fetches the latest collection data from the TMDb API and updates the collection in the database. - Errors are logged if the update fails.
- Removed the unused `readTextFile` import from `@tauri-apps/plugin-fs` to fix the linting error (`@typescript-eslint/no-unused-vars`).
- Disabled the `svelte/no-at-html-tags` linting rule for the `{@html}` directive to prevent false positives for safe HTML rendering.
…on for movie and collection
Bumps [tauri-plugin-updater](https://github.com/tauri-apps/plugins-workspace) from 2.0.2 to 2.1.0. - [Release notes](https://github.com/tauri-apps/plugins-workspace/releases) - [Commits](tauri-apps/plugins-workspace@fs-v2.0.2...fs-v2.1.0) --- updated-dependencies: - dependency-name: tauri-plugin-updater dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [drizzle-kit](https://github.com/drizzle-team/drizzle-orm) from 0.27.2 to 0.29.1. - [Release notes](https://github.com/drizzle-team/drizzle-orm/releases) - [Commits](https://github.com/drizzle-team/drizzle-orm/compare/drizzle-kit@0.27.2...drizzle-kit@0.29.1) --- updated-dependencies: - dependency-name: drizzle-kit dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@tauri-apps/plugin-sql](https://github.com/tauri-apps/plugins-workspace) from 2.0.1 to 2.0.2. - [Release notes](https://github.com/tauri-apps/plugins-workspace/releases) - [Commits](tauri-apps/plugins-workspace@os-v2.0.1...fs-v2.0.2) --- updated-dependencies: - dependency-name: "@tauri-apps/plugin-sql" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [marked](https://github.com/markedjs/marked) from 12.0.2 to 15.0.3. - [Release notes](https://github.com/markedjs/marked/releases) - [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json) - [Commits](markedjs/marked@v12.0.2...v15.0.3) --- updated-dependencies: - dependency-name: marked dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.4.15 to 3.4.16. - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.16/CHANGELOG.md) - [Commits](tailwindlabs/tailwindcss@v3.4.15...v3.4.16) --- updated-dependencies: - dependency-name: tailwindcss dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…ri-plugin-updater-2.1.0 chore(deps): bump tauri-plugin-updater from 2.0.2 to 2.1.0 in /src-tauri
…e-kit-0.29.1 chore(deps-dev): bump drizzle-kit from 0.27.2 to 0.29.1
…orepo chore(deps): update dependency typescript-eslint to ^8.16.0
chore(deps): update dependency svelte-check to ^4.1.0
fix(deps): update dependency drizzle-orm to ^0.36.4
chore(deps): update dependency typescript to ^5.7.2
fix(deps): update rust crate tauri-plugin-fs to 2.1.0
fix(deps): update dependency drizzle-orm to ^0.37.0
fix(deps): update dependency @tauri-apps/plugin-fs to ^2.0.3
…orepo chore(deps): update dependency typescript-eslint to ^8.17.0
chore(deps): update dependency svelte-check to ^4.1.1
…rsion update types
|
Contributor
|
🎉 This PR is included in version 0.13.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



No description provided.