2.23.0: Enforce Policies API for invitations and creating accounts; added WeakPassword handling; Fix dialog open/closed states (#439)
* chore: bump version to 2.22.1 and update dependencies - Updated application version from 2.22.0 to 2.22.1 in package.json. - Updated various dependencies including @marsidev/react-turnstile to 1.4.1, @stripe/react-stripe-js to 5.4.1, @stripe/stripe-js to 8.6.1, and react-hook-form to 7.70.0. - Adjusted lucide-react version to be referenced from the catalog across multiple package.json files. - Enhanced consistency in pnpm-lock.yaml and pnpm-workspace.yaml with updated package versions. * chore: bump version to 2.23.0 and update dependencies - Updated application version from 2.22.1 to 2.23.0 in package.json. - Upgraded turbo dependency from 2.7.1 to 2.7.3 in package.json and pnpm-lock.yaml. - Enhanced end-to-end testing documentation in AGENTS.md and CLAUDE.md with instructions for running tests. - Updated AuthPageObject to use a new secret for user creation in auth.po.ts. - Refactored team ownership transfer and member role update dialogs to close on success. - Improved error handling for weak passwords in AuthErrorAlert component. - Adjusted database schemas and tests to reflect changes in invitation policies and role management.
This commit is contained in:
committed by
GitHub
parent
5237d34e6f
commit
d5dc6f2528
@@ -14,7 +14,7 @@
|
||||
"clsx": "^2.1.1",
|
||||
"cmdk": "1.1.1",
|
||||
"input-otp": "1.4.2",
|
||||
"lucide-react": "^0.562.0",
|
||||
"lucide-react": "catalog:",
|
||||
"radix-ui": "1.4.3",
|
||||
"react-dropzone": "^14.3.8",
|
||||
"react-top-loading-bar": "3.0.2",
|
||||
|
||||
@@ -23,9 +23,9 @@ let version: string | null = null;
|
||||
|
||||
/**
|
||||
* Default interval time in seconds to check for new version
|
||||
* By default, it is set to 120 seconds
|
||||
* By default, it is set to 60 seconds
|
||||
*/
|
||||
const DEFAULT_REFETCH_INTERVAL = 120;
|
||||
const DEFAULT_REFETCH_INTERVAL = 60;
|
||||
|
||||
/**
|
||||
* Default interval time in seconds to check for new version
|
||||
@@ -99,7 +99,9 @@ function useVersionUpdater(props: { intervalTimeInSecond?: number } = {}) {
|
||||
refetchInterval,
|
||||
initialData: null,
|
||||
queryFn: async () => {
|
||||
const response = await fetch('/version');
|
||||
const url = new URL('/api/version', process.env.NEXT_PUBLIC_SITE_URL);
|
||||
const response = await fetch(url.toString());
|
||||
|
||||
const currentVersion = await response.text();
|
||||
const oldVersion = version;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user