-
Notifications
You must be signed in to change notification settings - Fork 5
Strapi v5 release #85
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
Merged
Merged
Conversation
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
* 🎉 init: plugin sdk boilerplate * wip: login page * 🚧 wip(UI): login * 💄 ui(nav): formatting * ✨ feat(overview): page implementation * 🚧 wip(CTS): render * ✨ feat(plugin settings): refactor * 🚧 wip(upload): server processes * ✨ feat(upload): upload to Localazy * 🐛 fix(model): return components models as well * ♻️ refactor(codebase): lint and prettier * ✨ feat(download): base scope * ✨ feat(upload-breaking): refactor to Documents Service API * 🐛 fix(upload): dynamic zones identifiers * 🐛 fix(upload): document identifier * 🚧 wip(download): testing example structure * ✨ feat(relations): rework assigning for v5 ♻️ refactor(services): retrieval shortcut * ✨ feat(upload): optimize upload process * ✨ feat(notifications): wss notifications * 🐛 fix(navigation): prevent whole page reload * 🐛 fix(navigation): redirect after login * ♻️ refactor: remove extra code * 💄 ui(tree): content-type switch positioning * 💄 ui(Tree): margin * 💄 ui: implement dark mode support * 💄 ui: fix Localazy icon * ♻️ refactor: improve typings * ♻️ refactor: improve types ✨ feat(download): populate * ✨ feat(populate): upload/download optimizations * ♻️ refactor: remove dead code * ✨ feat(triggers): re-implementation for v5 * ✨ feat(lifecycles): beforeDelete deprecation * ♻️ refactor: clean up package dependencies * ✨ feat(plugin): add CLI installation script and dependencies * test: add tests for server utils (WIP) * ♻️ refactor(utils): improve key extraction with Reflect.ownKeys() * ♻️ refactor(utils): improve language display name handling * Remove old Strapi plugin code * 🔧 chore: update package metadata and plugin configuration --------- Co-authored-by: david-vaclavek <david@localazy.com> Co-authored-by: david-vaclavek <vaclavek.dvd@gmail.com>
* 🔧 chore: add GH actions * 📝 docs: update README with comprehensive Strapi plugin installation and configuration guide * ♻️ refactor: remove unnecessary module.exports * 🔧 chore(ci): enhance QA workflow with build and verification steps * 🔧 chore(ci): add verification job to release workflow --------- Co-authored-by: david-vaclavek <vaclavek.dvd@gmail.com>
🔧 chore(ci): simplify release workflow by removing verification job Co-authored-by: david-vaclavek <vaclavek.dvd@gmail.com>
🔧 chore(config): update package name import in config Co-authored-by: david-vaclavek <vaclavek.dvd@gmail.com>
* ✨ feat(middlewares): add webhook verification middleware and public transfer routes - Introduced `verifyWebhook` middleware to validate incoming webhook requests. - Created `localazy-public-transfer-routes` for handling public transfer downloads. - Updated routes index to include the new public transfer routes. - Enhanced `LocalazyPubAPIService` with type annotations for better clarity. * ✨ refactor(iso-locales-utils): update locale conversion functions and add TypeScript tests - Refactored `isoStrapiToLocalazy` and `isoLocalazyToStrapi` functions to return `null` instead of an empty string for invalid inputs. - Removed outdated JavaScript test file and replaced it with a new TypeScript test suite. - Enhanced test coverage for locale conversion scenarios, including edge cases and bidirectional conversions. * 🔧 refactor: standardize LocalazyApiClientFactory import naming - Updated import statements for `LocalazyApiClientFactory` to use consistent capitalization across multiple service files. - Enhanced type safety in `getProject` method by returning `Promise<Project | null>` and added error handling for improved logging. * 🔧 refactor: remove unused is-plugin-route utility and enhance identity fetching logic - Deleted the `is-plugin-route` utility as it was no longer needed. - Updated `FetchIdentity` component to include a loading state while fetching identity. - Modified `App` component to prevent navigation during identity fetching and handle login redirection more effectively. - Adjusted `Login` component to remove unused redirect logic. - Enhanced `localazy-identity` state management to include fetching state. * 🔧 refactor: enhance type safety and improve user handling in GlobalSettings - Updated `createLocale` in `LoginButton` to ensure proper type casting for locales. - Modified `getAdminPanelUsers` method in `StrapiUsersService` to return a typed promise of `AdminPanelUser[]`. - Changed state management in `GlobalSettings` to use `AdminPanelUser[]` for better type safety. - Introduced a helper function `getUserLabel` for consistent user label formatting in the UI. * ✨ feat(plugin-settings): enhance tree component with item count and localization support - Added a recursive function to count selected fields in the tree structure. - Integrated translation support for displaying the count of selected fields in the tree item header. - Updated localization strings to handle singular and plural forms for selected fields. - Removed unnecessary console logs from the ContentTransferSetup component. * 🐛 fix(media): do not filter out media --------- Co-authored-by: david-vaclavek <vaclavek.dvd@gmail.com>
- Removed the RequestInitiatorHelper from the bootstrap phase to streamline event handling. - Updated the register phase to include new lifecycle hooks for create, update, and delete actions, enhancing integration with Localazy. - Refactored the upload and deprecate hooks to accept a unified HookParams type, improving type safety and clarity. - Adjusted the get-picked-flatten-keys utility to work with the new HookParams structure, ensuring consistent handling of document actions. - Enhanced logging for lifecycle events to provide better insights during operations. Co-authored-by: david-vaclavek <vaclavek.dvd@gmail.com>
* Refactor PrerequisitiesInfo component and update localization strings - Removed outdated internationalization plugin messages from PrerequisitiesInfo component. - Updated localization file to reflect the removal of the internationalization plugin strings. - Enhanced the install script to dynamically reference the correct webpack or vite config file based on the project type. * Update package name in package.json from "strapi-plugin-v5" to "localazy" for improved clarity and branding. --------- Co-authored-by: david-vaclavek <vaclavek.dvd@gmail.com>
* Refactor token retrieval in Strapi API base - Updated the `getToken` function to prioritize JWT token retrieval from cookies, falling back to localStorage and sessionStorage. - Removed unnecessary checks and parsing logic for improved clarity and efficiency. * Remove unused header from Strapi API base configuration --------- Co-authored-by: david-vaclavek <vaclavek.dvd@gmail.com>
david-vaclavek
approved these changes
Mar 31, 2025
bdf0bbe
to
83dbce8
Compare
83dbce8
to
b09d09f
Compare
Update README to clarify versioning for Strapi v5 and provide a link to Strapi v4 documentation Co-authored-by: david-vaclavek <vaclavek.dvd@gmail.com>
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.