mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-30 14:12:00 +03:00
db1206dbd5
5593 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
DarkSky
|
db1206dbd5
|
fix: re-create session should skip rewrite messages (#6513) | ||
renovate
|
5cd4c051fd
|
chore: bump up @testing-library/react version to v15 (#6508)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@testing-library/react](https://togithub.com/testing-library/react-testing-library) | [`^14.2.1` -> `^15.0.0`](https://renovatebot.com/diffs/npm/@testing-library%2freact/14.2.1/15.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@testing-library%2freact/15.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@testing-library%2freact/15.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@testing-library%2freact/14.2.1/15.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@testing-library%2freact/14.2.1/15.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>testing-library/react-testing-library (@​testing-library/react)</summary> ### [`v15.0.0`](https://togithub.com/testing-library/react-testing-library/compare/v14.3.0...787cb85f8baa3d2e2a9916b7dad12c0a76d787a4) [Compare Source](https://togithub.com/testing-library/react-testing-library/compare/v14.3.0...v15.0.0) ### [`v14.3.0`](https://togithub.com/testing-library/react-testing-library/compare/v14.2.2...9c4a46d5b9923c21c936d206614a8febcc939fc2) [Compare Source](https://togithub.com/testing-library/react-testing-library/compare/v14.2.2...v14.3.0) ### [`v14.2.2`](https://togithub.com/testing-library/react-testing-library/compare/v14.2.1...3da62fd9741ca74bcd0d2bc668ba76a2d8f3751f) [Compare Source](https://togithub.com/testing-library/react-testing-library/compare/v14.2.1...v14.2.2) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=--> |
||
renovate
|
aaeae8ebcd
|
chore: bump up stripe version to v15 (#6512)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [stripe](https://togithub.com/stripe/stripe-node) | [`^14.18.0` -> `^15.0.0`](https://renovatebot.com/diffs/npm/stripe/14.18.0/15.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/stripe/15.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/stripe/15.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/stripe/14.18.0/15.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/stripe/14.18.0/15.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>stripe/stripe-node (stripe)</summary> ### [`v15.0.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#1500---2024-04-10) [Compare Source](https://togithub.com/stripe/stripe-node/compare/v14.25.0...v15.0.0) - [#​2057](https://togithub.com/stripe/stripe-node/pull/2057) - This release changes the pinned API version to `2024-04-10`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-04-10) and carefully review the API changes before upgrading. ##### ⚠️ Breaking changes - Rename event type `InvoiceitemCreatedEvent` to `InvoiceItemCreatedEvent` - Rename event type `InvoiceitemDeletedEvent` to `InvoiceItemDeletedEvent` - Rename `features` to `marketing_features` on `ProductCreateOptions`, `ProductUpdateOptions`, and `Product`. ##### ⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API - Remove `subscription_pause` from the below as the feature to pause subscription on the portal has been deprecated. - `BillingPortal.Configuration.Features` - `BillingPortal.ConfigurationCreateParams.Features` - `BillingPortal.ConfigurationUpdateParams.Features` - Remove the below deprecated values for the type `BalanceTransaction.Type` - `obligation_inbound` - `obligation_payout` - `obligation_payout_failure` - `'obligation_reversal_outbound'` - Remove deprecated value `various` for the type `Climate.Supplier.RemovalPathway` - Remove deprecated events - `invoiceitem.updated` - `order.created` - `recipient.created` - `recipient.deleted` - `recipient.updated` - `sku.created` - `sku.deleted` - `sku.updated` - Remove types for the deprecated events - `InvoiceItemUpdatedEvent` - `OrderCreatedEvent` - `RecipientCreatedEvent` - `RecipientDeletedEvent` - `RecipientUpdatedEvent` - `SKUCreatedEvent` - `SKUDeletedEvent` - Remove the deprecated value `include_and_require` for the type`InvoiceCreateParams.PendingInvoiceItemsBehavior` - Remove the deprecated value `service_tax` for the types `TaxRate.TaxType`, `TaxRateCreateParams.TaxType`, `TaxRateUpdateParams.TaxType`, and `InvoiceUpdateLineItemParams.TaxAmount.TaxRateData` - Remove `request_incremental_authorization` from `PaymentIntentCreateParams.PaymentMethodOptions.CardPresent`, `PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent` and `PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent` - Remove support for `id_bank_transfer`, `multibanco`, `netbanking`, `pay_by_bank`, and `upi` on `PaymentMethodConfiguration` - Remove the deprecated value `obligation` for the type `Reporting.ReportRunCreateParams.Parameters.ReportingCategory` - Remove the deprecated value `challenge_only` from the type `SetupIntent.PaymentMethodOptions.Card.RequestThreeDSecure` - Remove the legacy field `rendering_options` in `Invoice`, `InvoiceCreateOptions` and `InvoiceUpdateOptions`. Use `rendering` instead. ### [`v14.25.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#14250---2024-04-09) [Compare Source](https://togithub.com/stripe/stripe-node/compare/v14.24.0...v14.25.0) - [#​2059](https://togithub.com/stripe/stripe-node/pull/2059) Update generated code - Add support for new resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature` - Add support for `list` and `retrieve` methods on resource `ActiveEntitlement` - Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Feature` - Add support for `controller` on `AccountCreateParams` - Add support for `fees`, `losses`, `requirement_collection`, and `stripe_dashboard` on `Account.controller` - Add support for new value `none` on enum `Account.type` - Add support for `event_name` on `Billing.MeterEventAdjustmentCreateParams` and `Billing.MeterEventAdjustment` - Add support for `cancel` and `type` on `Billing.MeterEventAdjustment` ### [`v14.24.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#14240---2024-04-04) [Compare Source](https://togithub.com/stripe/stripe-node/compare/v14.23.0...v14.24.0) - [#​2053](https://togithub.com/stripe/stripe-node/pull/2053) Update generated code - Change `Charge.payment_method_details.us_bank_account.payment_reference`, `PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.hosted_instructions_url`, `PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.mobile_auth_url`, `PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.qr_code.data`, `PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.qr_code.image_url_png`, `PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.qr_code.image_url_svg`, `PaymentIntent.next_action.swish_handle_redirect_or_display_qr_code.qr_code`, and `PaymentIntent.payment_method_options.swish.reference` to be required - Change type of `Checkout.SessionCreateParams.payment_method_options.swish.reference` from `emptyable(string)` to `string` - Add support for `subscription_item` on `Discount` - Add support for `email` and `phone` on `Identity.VerificationReport`, `Identity.VerificationSession.options`, `Identity.VerificationSession.verified_outputs`, `Identity.VerificationSessionCreateParams.options`, and `Identity.VerificationSessionUpdateParams.options` - Add support for `verification_flow` on `Identity.VerificationReport`, `Identity.VerificationSessionCreateParams`, and `Identity.VerificationSession` - Add support for new value `verification_flow` on enums `Identity.VerificationReport.type` and `Identity.VerificationSession.type` - Add support for `provided_details` on `Identity.VerificationSessionCreateParams`, `Identity.VerificationSessionUpdateParams`, and `Identity.VerificationSession` - Change `Identity.VerificationSessionCreateParams.type` to be optional - Add support for new values `email_unverified_other`, `email_verification_declined`, `phone_unverified_other`, and `phone_verification_declined` on enum `Identity.VerificationSession.last_error.code` - Add support for `promotion_code` on `InvoiceCreateParams.discounts[]`, `InvoiceItemCreateParams.discounts[]`, `InvoiceItemUpdateParams.discounts[]`, `InvoiceUpdateParams.discounts[]`, `QuoteCreateParams.discounts[]`, and `QuoteUpdateParams.discounts[]` - Add support for `discounts` on `InvoiceUpcomingLinesParams.subscription_items[]`, `InvoiceUpcomingParams.subscription_items[]`, `QuoteCreateParams.line_items[]`, `QuoteUpdateParams.line_items[]`, `SubscriptionCreateParams.add_invoice_items[]`, `SubscriptionCreateParams.items[]`, `SubscriptionCreateParams`, `SubscriptionItemCreateParams`, `SubscriptionItemUpdateParams`, `SubscriptionItem`, `SubscriptionSchedule.phases[].add_invoice_items[]`, `SubscriptionSchedule.phases[].items[]`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[].add_invoice_items[]`, `SubscriptionScheduleCreateParams.phases[].items[]`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.phases[].add_invoice_items[]`, `SubscriptionScheduleUpdateParams.phases[].items[]`, `SubscriptionScheduleUpdateParams.phases[]`, `SubscriptionUpdateParams.add_invoice_items[]`, `SubscriptionUpdateParams.items[]`, `SubscriptionUpdateParams`, and `Subscription` - Change type of `Invoice.discounts` from `array(expandable(deletable($Discount))) | null` to `array(expandable(deletable($Discount)))` - Add support for `allowed_merchant_countries` and `blocked_merchant_countries` on `Issuing.Card.spending_controls`, `Issuing.CardCreateParams.spending_controls`, `Issuing.CardUpdateParams.spending_controls`, `Issuing.Cardholder.spending_controls`, `Issuing.CardholderCreateParams.spending_controls`, and `Issuing.CardholderUpdateParams.spending_controls` - Add support for `zip` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration` - Add support for `offline` on `SetupAttempt.payment_method_details.card_present` - Add support for `card_present` on `SetupIntent.payment_method_options`, `SetupIntentConfirmParams.payment_method_options`, `SetupIntentCreateParams.payment_method_options`, and `SetupIntentUpdateParams.payment_method_options` - Add support for new value `mobile_phone_reader` on enums `Terminal.Reader.device_type` and `Terminal.ReaderListParams.device_type` ### [`v14.23.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#14230---2024-03-28) [Compare Source](https://togithub.com/stripe/stripe-node/compare/v14.22.0...v14.23.0) - [#​2046](https://togithub.com/stripe/stripe-node/pull/2046) Update generated code - Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter` - Add support for `create`, `deactivate`, `list`, `reactivate`, `retrieve`, and `update` methods on resource `Meter` - Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent` - Add support for `amazon_pay_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities` - Add support for new value `verification_failed_representative_authority` on enums `Account.future_requirements.errors[].code`, `Account.requirements.errors[].code`, `BankAccount.future_requirements.errors[].code`, and `BankAccount.requirements.errors[].code` - Add support for `destination_on_behalf_of_charge_management` on `AccountSession.components.payment_details.features`, `AccountSession.components.payments.features`, `AccountSessionCreateParams.components.payment_details.features`, and `AccountSessionCreateParams.components.payments.features` - Add support for `mandate` on `Charge.payment_method_details.us_bank_account`, `Treasury.InboundTransfer.origin_payment_method_details.us_bank_account`, `Treasury.OutboundPayment.destination_payment_method_details.us_bank_account`, and `Treasury.OutboundTransfer.destination_payment_method_details.us_bank_account` - Add support for `second_line` on `Issuing.CardCreateParams` - Add support for `meter` on `PlanCreateParams`, `Plan`, `Price.recurring`, `PriceCreateParams.recurring`, and `PriceListParams.recurring` - [#​2045](https://togithub.com/stripe/stripe-node/pull/2045) esbuild test project fixes ### [`v14.22.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#14220---2024-03-21) [Compare Source](https://togithub.com/stripe/stripe-node/compare/v14.21.0...v14.22.0) - [#​2040](https://togithub.com/stripe/stripe-node/pull/2040) Update generated code - Add support for new resources `ConfirmationToken` and `Forwarding.Request` - Add support for `retrieve` method on resource `ConfirmationToken` - Add support for `create`, `list`, and `retrieve` methods on resource `Request` - Add support for `mobilepay_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities` - Add support for new values `forwarding_api_inactive`, `forwarding_api_invalid_parameter`, `forwarding_api_upstream_connection_error`, and `forwarding_api_upstream_connection_timeout` on enums `Invoice.last_finalization_error.code`, `PaymentIntent.last_payment_error.code`, `SetupAttempt.setup_error.code`, `SetupIntent.last_setup_error.code`, and `StripeError.code` - Add support for `mobilepay` on `Charge.payment_method_details`, `PaymentIntent.payment_method_options`, `PaymentIntentConfirmParams.payment_method_data`, `PaymentIntentConfirmParams.payment_method_options`, `PaymentIntentCreateParams.payment_method_data`, `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_data`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentMethodCreateParams`, `PaymentMethod`, `SetupIntentConfirmParams.payment_method_data`, `SetupIntentCreateParams.payment_method_data`, and `SetupIntentUpdateParams.payment_method_data` - Add support for `payment_reference` on `Charge.payment_method_details.us_bank_account` - Add support for new value `mobilepay` on enums `CustomerListPaymentMethodsParams.type`, `PaymentMethodCreateParams.type`, and `PaymentMethodListParams.type` - Add support for `confirmation_token` on `PaymentIntentConfirmParams`, `PaymentIntentCreateParams`, `SetupIntentConfirmParams`, and `SetupIntentCreateParams` - Add support for new value `mobilepay` on enums `PaymentIntentConfirmParams.payment_method_data.type`, `PaymentIntentCreateParams.payment_method_data.type`, `PaymentIntentUpdateParams.payment_method_data.type`, `SetupIntentConfirmParams.payment_method_data.type`, `SetupIntentCreateParams.payment_method_data.type`, and `SetupIntentUpdateParams.payment_method_data.type` - Add support for new value `mobilepay` on enum `PaymentMethod.type` - Add support for `name` on `Terminal.ConfigurationCreateParams`, `Terminal.ConfigurationUpdateParams`, and `Terminal.Configuration` - Add support for `payout` on `Treasury.ReceivedDebit.linked_flows` - [#​2043](https://togithub.com/stripe/stripe-node/pull/2043) Don't mutate error.type during minification ### [`v14.21.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#14210---2024-03-14) [Compare Source](https://togithub.com/stripe/stripe-node/compare/v14.20.0...v14.21.0) - [#​2035](https://togithub.com/stripe/stripe-node/pull/2035) Update generated code - Add support for new resources `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle` - Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PersonalizationDesign` - Add support for `list` and `retrieve` methods on resource `PhysicalBundle` - Add support for `personalization_design` on `Issuing.CardCreateParams`, `Issuing.CardListParams`, `Issuing.CardUpdateParams`, and `Issuing.Card` - Change type of `SubscriptionCreateParams.application_fee_percent` and `SubscriptionUpdateParams.application_fee_percent` from `number` to `emptyStringable(number)` - Add support for `sepa_debit` on `Subscription.payment_settings.payment_method_options`, `SubscriptionCreateParams.payment_settings.payment_method_options`, and `SubscriptionUpdateParams.payment_settings.payment_method_options` ### [`v14.20.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#14200---2024-03-07) [Compare Source](https://togithub.com/stripe/stripe-node/compare/v14.19.0...v14.20.0) - [#​2033](https://togithub.com/stripe/stripe-node/pull/2033) Update generated code - Add support for `documents` on `AccountSession.components` and `AccountSessionCreateParams.components` - Add support for `request_three_d_secure` on `Checkout.Session.payment_method_options.card` and `Checkout.SessionCreateParams.payment_method_options.card` - Add support for `created` on `CreditNoteListParams` - Add support for `sepa_debit` on `Invoice.payment_settings.payment_method_options`, `InvoiceCreateParams.payment_settings.payment_method_options`, and `InvoiceUpdateParams.payment_settings.payment_method_options` ### [`v14.19.0`](https://togithub.com/stripe/stripe-node/blob/HEAD/CHANGELOG.md#14190---2024-02-29) [Compare Source](https://togithub.com/stripe/stripe-node/compare/v14.18.0...v14.19.0) - [#​2029](https://togithub.com/stripe/stripe-node/pull/2029) Update generated code - Change `Identity.VerificationReport.type`, `SubscriptionSchedule.default_settings.invoice_settings.account_tax_ids`, `SubscriptionSchedule.phases[].invoice_settings.account_tax_ids`, and `TaxId.owner` to be required - Change type of `Identity.VerificationSession.type` from `enum('document'|'id_number') | null` to `enum('document'|'id_number')` - Add support for `number` on `InvoiceCreateParams` and `InvoiceUpdateParams` - Add support for `enable_customer_cancellation` on `Terminal.Reader.action.process_payment_intent.process_config`, `Terminal.Reader.action.process_setup_intent.process_config`, `Terminal.ReaderProcessPaymentIntentParams.process_config`, and `Terminal.ReaderProcessSetupIntentParams.process_config` - Add support for `refund_payment_config` on `Terminal.Reader.action.refund_payment` and `Terminal.ReaderRefundPaymentParams` - Add support for `payment_method` on `TokenCreateParams.bank_account` - [#​2027](https://togithub.com/stripe/stripe-node/pull/2027) vscode settings: true -> "explicit" </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=--> |
||
EYHN
|
c92bec0ebb
|
chore: bump blocksuite (#6448)
## Features - https://github.com/toeverything/BlockSuite/pull/6679 @pengx17 - https://github.com/toeverything/BlockSuite/pull/6620 @doouding - https://github.com/toeverything/BlockSuite/pull/6602 @golok727 - https://github.com/toeverything/BlockSuite/pull/6661 @Flrande - https://github.com/toeverything/BlockSuite/pull/6591 @fundon - https://github.com/toeverything/BlockSuite/pull/6634 @golok727 - https://github.com/toeverything/BlockSuite/pull/6626 @regischen - https://github.com/toeverything/BlockSuite/pull/6630 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/6605 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6614 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6508 @doouding - https://github.com/toeverything/BlockSuite/pull/6578 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6572 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6571 @golok727 - https://github.com/toeverything/BlockSuite/pull/6573 @fundon - https://github.com/toeverything/BlockSuite/pull/6580 @Flrande - https://github.com/toeverything/BlockSuite/pull/6540 @golok727 - https://github.com/toeverything/BlockSuite/pull/6567 @Flrande - https://github.com/toeverything/BlockSuite/pull/6565 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6561 @zzj3720 ## Bugfix - https://github.com/toeverything/BlockSuite/pull/6677 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6681 @fundon - https://github.com/toeverything/BlockSuite/pull/6673 @fundon - https://github.com/toeverything/BlockSuite/pull/6652 @fundon - https://github.com/toeverything/BlockSuite/pull/6641 @fourdim - https://github.com/toeverything/BlockSuite/pull/6649 @golok727 - https://github.com/toeverything/BlockSuite/pull/6648 @doouding - https://github.com/toeverything/BlockSuite/pull/6662 @Flrande - https://github.com/toeverything/BlockSuite/pull/6659 @zkwolf - https://github.com/toeverything/BlockSuite/pull/6644 @doouding - https://github.com/toeverything/BlockSuite/pull/6633 @golok727 - https://github.com/toeverything/BlockSuite/pull/6632 @golok727 - https://github.com/toeverything/BlockSuite/pull/6622 @RubaXa - https://github.com/toeverything/BlockSuite/pull/6622 @RubaXa - https://github.com/toeverything/BlockSuite/pull/6622 @RubaXa - https://github.com/toeverything/BlockSuite/pull/6622 @RubaXa - https://github.com/toeverything/BlockSuite/pull/6622 @RubaXa - https://github.com/toeverything/BlockSuite/pull/6600 @fourdim - https://github.com/toeverything/BlockSuite/pull/6617 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6618 @Flrande - https://github.com/toeverything/BlockSuite/pull/6576 @fundon - https://github.com/toeverything/BlockSuite/pull/6595 @fundon - https://github.com/toeverything/BlockSuite/pull/6596 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6574 @fundon - https://github.com/toeverything/BlockSuite/pull/6593 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/6588 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6590 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6589 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6584 @lawvs - https://github.com/toeverything/BlockSuite/pull/6579 @fundon - https://github.com/toeverything/BlockSuite/pull/6538 @golok727 - https://github.com/toeverything/BlockSuite/pull/6570 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6569 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6564 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/6563 @zzj3720 ## Refactor - https://github.com/toeverything/BlockSuite/pull/6683 @doodlewind - https://github.com/toeverything/BlockSuite/pull/6668 @Flrande - https://github.com/toeverything/BlockSuite/pull/6635 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6653 @fundon - https://github.com/toeverything/BlockSuite/pull/6615 @Flrande - https://github.com/toeverything/BlockSuite/pull/6534 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/6553 @golok727 ## Misc - chore(examples): cleanup types - https://github.com/toeverything/BlockSuite/pull/6664 @fourdim - https://github.com/toeverything/BlockSuite/pull/6657 @fourdim - https://github.com/toeverything/BlockSuite/pull/6654 @fourdim - https://github.com/toeverything/BlockSuite/pull/6587 @Saul-Mirone - https://github.com/toeverything/BlockSuite/pull/6562 @donteatfriedrice |
||
darkskygit
|
9f349a2300
|
feat: text to image impl (#6437)
fix CLOUD-18 fix CLOUD-28 fix CLOUD-29 |
||
darkskygit
|
7c38a54f81
|
feat: copilot controller (#6272)
fix CLOUD-27 |
||
darkskygit
|
e6a576551a
|
feat: add copilot impl (#6230)
fix CLOUD-22 fix CLOUD-24 |
||
darkskygit
|
46a368d7f1
|
feat: add session impl (#6254) | ||
CatsJuice
|
8a02c81745
|
feat(core): remove toggle workspace onboarding dialog (#6501) | ||
CatsJuice
|
a0c92b9966
|
feat(core): i18n for pricing plans (#6499)
feat(core): adjust pricing plans style feat(core): i18n for pricing plans |
||
JimmFly
|
6ea20e477b
|
feat(core): add sign in to not found page (#6496)
close AFF-211 |
||
L-Sun
|
7d131ee9fc
|
fix(core): viewport element not found in share page (#6453) | ||
EYHN
|
939fa9cef0
|
fix(component): sign up password max length notify (#6467)
The input `maxLength` causes password to be automatically truncated without notice user. |
||
JimmFly
|
a83f49e700
|
fix(core): unexpected horizontal scrolling after jump to block (#6475)
close TOV-788 |
||
CatsJuice
|
4a93582799
|
feat(core): ai subscription in billing page (#6476) | ||
EYHN
|
97c4ae48b5
|
fix(infra): fix sync issues on old ids (#6474) | ||
JimmFly
|
142896c41a
|
fix(core): remove unexpected duplicate notification (#6477)
close TOV-775 |
||
JimmFly
|
5064ef2a94
|
fix(core): remove duplicate windows controls when right sidebar is expanded (#6480)
close TOV-786 |
||
JimmFly
|
8bcc89f8fc
|
feat(core): add responsive styles to collection filter (#6486)
https://github.com/toeverything/AFFiNE/assets/102217452/caa4c09b-e1fd-4bd0-a504-535925607e2f |
||
renovate
|
891ab6ab51
|
chore: bump up style-loader version to v4 (#6490)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [style-loader](https://togithub.com/webpack-contrib/style-loader) | [`^3.3.4` -> `^4.0.0`](https://renovatebot.com/diffs/npm/style-loader/3.3.4/4.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/style-loader/4.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/style-loader/4.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/style-loader/3.3.4/4.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/style-loader/3.3.4/4.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>webpack-contrib/style-loader (style-loader)</summary> ### [`v4.0.0`](https://togithub.com/webpack-contrib/style-loader/blob/HEAD/CHANGELOG.md#400-2024-04-08) [Compare Source](https://togithub.com/webpack-contrib/style-loader/compare/v3.3.4...v4.0.0) ##### ⚠ BREAKING CHANGES - minimum supported webpack version is `5.27.0` - minimum support Node.js version is `18.12.0` - the `insert` option can only be a selector or the path to the module Migration: Before: **webpack.config.js** ```js module.exports = { module: { rules: [ { test: /\.css$/i, use: [ { loader: "style-loader", options: { injectType: "styleTag", styleTagTransform: function (css, style) { // Do something ... style.innerHTML = `${css}.modify{}\n`; document.head.appendChild(style); }, }, }, "css-loader", ], }, ], }, }; ``` After: **insert-function.js** ```js function insert(css, style) { var parent = options.target || document.head; parent.appendChild(element); } module.exports = insert; ``` **webpack.config.js** ```js module.exports = { module: { rules: [ { test: /\.css$/i, use: [ { loader: "style-loader", options: { insert: require.resolve("./insert.js"), }, }, "css-loader", ], }, ], }, }; ``` - the `styleTagTransform` option can only be the path to the module Migration: Before: **webpack.config.js** ```js module.exports = { module: { rules: [ { test: /\.css$/i, use: [ { loader: "style-loader", options: { injectType: "styleTag", styleTagTransform: function (css, style) { // Do something ... style.innerHTML = `${css}.modify{}\n`; document.head.appendChild(style); }, }, }, "css-loader", ], }, ], }, }; ``` After: **style-tag-transform-function.js** ```js function styleTagTransform(css, style) { // Do something ... style.innerHTML = `${css}.modify{}\n`; document.head.appendChild(style); } module.exports = styleTagTransform; ``` **webpack.config.js** ```js module.exports = { module: { rules: [ { test: /\.css$/i, use: [ { loader: "style-loader", options: { styleTagTransform: require.resolve("./style-tag-transform-function.js"), }, }, "css-loader", ], }, ], }, }; ``` ##### Bug Fixes - css experiments logic ([#​617](https://togithub.com/webpack-contrib/style-loader/issues/617)) ([8b9fc97]( |
||
CatsJuice
|
803b17ae78
|
style(component): remove button's shadow (#6481) | ||
CatsJuice
|
d9504e4eb7
|
fix(core): avoid flicking when click sidebar user avatar (#6482) | ||
renovate
|
f590d84711
|
chore: bump up vite version to v5.0.13 [SECURITY] (#6455)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vite](https://vitejs.dev) ([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite)) | [`5.0.12` -> `5.0.13`](https://renovatebot.com/diffs/npm/vite/5.0.12/5.0.13) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.0.13?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.0.13?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.0.12/5.0.13?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.0.12/5.0.13?slim=true)](https://docs.renovatebot.com/merge-confidence/) | ### GitHub Vulnerability Alerts #### [CVE-2024-31207](https://togithub.com/vitejs/vite/security/advisories/GHSA-8jhw-289h-jh2g) ### Summary [Vite dev server option](https://vitejs.dev/config/server-options.html#server-fs-deny) `server.fs.deny` did not deny requests for patterns with directories. An example of such a pattern is `/foo/**/*`. ### Impact Only apps setting a custom `server.fs.deny` that includes a pattern with directories, and explicitly exposing the Vite dev server to the network (using `--host` or [`server.host` config option](https://vitejs.dev/config/server-options.html#server-host)) are affected. ### Patches Fixed in vite@5.2.6, vite@5.1.7, vite@5.0.13, vite@4.5.3, vite@3.2.10, vite@2.9.18 ### Details `server.fs.deny` uses picomatch with the config of `{ matchBase: true }`. [matchBase](https://togithub.com/micromatch/picomatch/blob/master/README.md#options:~:text=Description-,basename,-boolean) only matches the basename of the file, not the path due to a bug ([https://github.com/micromatch/picomatch/issues/89](https://togithub.com/micromatch/picomatch/issues/89)). The vite config docs read like you should be able to set fs.deny to glob with picomatch. Vite also does not set `{ dot: true }` and that causes [dotfiles not to be denied](https://togithub.com/micromatch/picomatch/blob/master/README.md#options:~:text=error%20is%20thrown.-,dot,-boolean) unless they are explicitly defined. **Reproduction** Set fs.deny to `['**/.git/**']` and then curl for `/.git/config`. * with `matchBase: true`, you can get any file under `.git/` (config, HEAD, etc). * with `matchBase: false`, you cannot get any file under `.git/` (config, HEAD, etc). --- ### Release Notes <details> <summary>vitejs/vite (vite)</summary> ### [`v5.0.13`](https://togithub.com/vitejs/vite/releases/tag/v5.0.13) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.0.12...v5.0.13) Please refer to [CHANGELOG.md](https://togithub.com/vitejs/vite/blob/v5.0.13/packages/vite/CHANGELOG.md) for details. </details> --- ### Configuration 📅 **Schedule**: Branch creation - "" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=--> |
||
forehalo
|
b01a8bb2ab
|
fix(server): give s3 client a default request timeout (#6483) | ||
dependabot
|
9f66b810a6
|
build(deps): bump whoami from 1.4.1 to 1.5.1 (#6471)
Bumps [whoami](https://github.com/ardaku/whoami) from 1.4.1 to 1.5.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ardaku/whoami/blob/v1/CHANGELOG.md">whoami's changelog</a>.</em></p> <blockquote> <h2>[1.5.1] - 2024-03-09</h2> <h3>Fixed</h3> <ul> <li>Broken link in docs</li> </ul> <h2>[1.5.0] - 2024-03-03</h2> <h3>Added</h3> <ul> <li>WASI support</li> <li>Redox support</li> <li>Fallible functions <ul> <li><code>whoami::fallible::devicename()</code></li> <li><code>whoami::fallible::devicename_os()</code></li> <li><code>whoami::fallible::distro()</code></li> <li><code>whoami::fallible::hostname()</code> - notably doesn't normalize to lowercase</li> <li><code>whoami::fallible::realname()</code></li> <li><code>whoami::fallible::realname_os()</code></li> <li><code>whoami::fallible::username()</code></li> <li><code>whoami::fallible::username_os()</code></li> </ul> </li> <li><code>whoami::Language</code></li> <li><code>whoami::Country</code></li> <li><code>whoami::langs()</code></li> <li><code>whoami::fallible::account()</code></li> <li><code>whoami::fallible::account_os()</code></li> <li><code>whoami::DesktopEnv::is_gtk()</code></li> <li><code>whoami::DesktopEnv::is_kde()</code></li> </ul> <h3>Removed</h3> <ul> <li>Generated device names that infer casing based on the hostname when the device name is not available - now returns the hostname unchanged</li> <li>Partial (potentially unsound) support for Android, iOS, watchOS, tvOS, Fuchsia, Haiku, Solaris, and a few others. These targets now use the "fake" implementation.</li> </ul> <h3>Changed</h3> <ul> <li>Deprecated <code>whoami::distro_os()</code></li> <li>Deprecated <code>whoami::hostname()</code></li> <li>Deprecated <code>whoami::hostname_os()</code></li> <li>Deprecated <code>whoami::lang()</code></li> <li>illumos and Redox are no longer untested targets</li> <li>Documented that illumos and Redox have a higher MSRV (Rust 1.65) than other targets</li> <li>Display implementation on <code>Platform::Illumos</code> now displays in lowercase: illumos</li> </ul> <h3>Fixed</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
renovate
|
4736776ae9
|
chore: bump up jotai-effect version to v1 (#6472)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [jotai-effect](https://togithub.com/jotaijs/jotai-effect) | [`^0.6.0` -> `^1.0.0`](https://renovatebot.com/diffs/npm/jotai-effect/0.6.0/1.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/jotai-effect/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/jotai-effect/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/jotai-effect/0.6.0/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/jotai-effect/0.6.0/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>jotaijs/jotai-effect (jotai-effect)</summary> ### [`v1.0.0`](https://togithub.com/jotaijs/jotai-effect/releases/tag/v1.0.0) [Compare Source](https://togithub.com/jotaijs/jotai-effect/compare/v0.6.0...v1.0.0) I am thrilled to announce the release of Jotai Effect version 1.0! This milestone represents a significant achievement marking its readiness for production use. Jotai Effect was started last October with the aim of providing a utility package for reactive side effects within the Jotai ecosystem. Over the past six months, I have been closely monitoring the API's stability and its effectiveness in real-world applications. For those eagerly waiting for Jotai to be considered production-ready, the moment has finally arrived. The feedback from our community has been overwhelmingly positive, and today, I'm confident that Jotai Effect is ready for its prime time. I couldn't have reached this point without the help of our amazing contributors, Daishi Kato ([@​dai-shi](https://togithub.com/dai-shi)) and Alex Yang ([@​himself65](https://togithub.com/himself65)). Their early contributions were pivotal in honing the library to what it is today. Additionally, I want to extend my gratitude to our vibrant community on [Discord](https://discord.com/invite/poimandres) for their continuous support and feedback. Thank you. As we celebrate this release, I encourage you to explore [Jotai Effect](https://jotai.org/docs/extensions/effect) and discover how it can streamline your reactive programming workflows. Happy Coding! Best regards, David Maskasky *The full discussion can be viewed [here](https://togithub.com/jotaijs/jotai-effect/discussions/34).* </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=--> |
||
renovate
|
4351dc8541
|
chore: bump up css-loader version to v7 (#6458)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [css-loader](https://togithub.com/webpack-contrib/css-loader) | [`^6.10.0` -> `^7.0.0`](https://renovatebot.com/diffs/npm/css-loader/6.10.0/7.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/css-loader/7.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/css-loader/7.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/css-loader/6.10.0/7.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/css-loader/6.10.0/7.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>webpack-contrib/css-loader (css-loader)</summary> ### [`v7.0.0`](https://togithub.com/webpack-contrib/css-loader/blob/HEAD/CHANGELOG.md#700-2024-04-04) [Compare Source](https://togithub.com/webpack-contrib/css-loader/compare/v6.11.0...v7.0.0) ##### ⚠ BREAKING CHANGES - The `modules.namedExport` option is `true` by default if you enable the `esModule` option Migration guide: Before: ```js import style from "./style.css"; console.log(style.myClass); ``` After: ```js import * as style from "./style.css"; console.log(style.myClass); ``` - The `modules.exportLocalsConvention` has the value `as-is` when the `modules.namedExport` option is `true` and you don't specify a value - Minimum supported webpack version is `5.27.0` - Minimum supported Node.js version is `18.12.0` ##### Features - The `modules.namedExports` option works fine with any `modules.exportLocalsConvention` values ([f96a110]( |
||
renovate
|
39c90a4428
|
chore: bump up undici version to v6.11.1 [SECURITY] (#6457)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [undici](https://undici.nodejs.org) ([source](https://togithub.com/nodejs/undici)) | [`6.6.2` -> `6.11.1`](https://renovatebot.com/diffs/npm/undici/6.6.2/6.11.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/undici/6.11.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/undici/6.11.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/undici/6.6.2/6.11.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/undici/6.6.2/6.11.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | ### GitHub Vulnerability Alerts #### [CVE-2024-30260](https://togithub.com/nodejs/undici/security/advisories/GHSA-m4v8-wqvr-p9f7) ### Impact Undici cleared Authorization and Proxy-Authorization headers for `fetch()`, but did not clear them for `undici.request()`. ### Patches This has been patched in |
||
liuyi
|
edef9b2735
|
fix(server): only auto apply coupon in pro subscription (#6452) | ||
liuyi
|
6fa4b7da54
|
feat(core): avoid popup window being blocked (#6451) | ||
CatsJuice
|
3e9e2ce93b
|
feat(core): pricing plans ai subscription ui (#6449) | ||
JimmFly
|
e7de20f648
|
fix(core): add max-height to tag filter (#6442)
close TOV-778 close #6334 |
||
forehalo
|
2dc628eca5
|
fix(server): doc cache makes publish mode updating failed (#6444) | ||
JimmFly
|
dde4e165c6
|
feat(core): add confirm modal to add new doc button (#6436) | ||
JimmFly
|
f93ffbeb6f
|
fix(core): unexpected collection item drag event (#6443)
close TOV-785 before: https://github.com/toeverything/AFFiNE/assets/102217452/71b563a5-7a1a-4ec5-871f-8de373742bad |
||
JimmFly
|
4624a4923d
|
feat(core): add favorite operation to all collection (#6428)
https://github.com/toeverything/AFFiNE/assets/102217452/d90553aa-6076-4ecc-996b-a8398991982a |
||
CatsJuice
|
381be8a982
|
fix(component): useConfirmModal can't be closed automatically when 'onConfirm' is non-async (#6439) | ||
darkskygit
|
3c01d944fb
|
feat: add prompt service (#6241)
fix CLOUD-19 |
||
darkskygit
|
593161dccb
|
feat: basic copilot plugin implement (#6229)
fix CLOUD-25 |
||
EYHN
|
366e0a4b60
|
feat(server): adjust telemetry config (#6424) | ||
EYHN
|
8bd2408b0c
|
fix(core): selfhost should not use favicon from affine.pro (#6425) | ||
CatsJuice
|
9127bfae67
|
refactor(core): replace all notification relies on jotai (#6417)
- remove all notification that implemented with jotai and replaced with new `notify` - Add some notify presets: - `notify.error` - `notify.success` - `notify.warning` |
||
CatsJuice
|
a4cd51e503
|
refactor(component): new notification center implemented with sonner (#6416)
The Notification has been reimplemented using sooner, no longer relies on jotai, and new story has been added. - Before ```ts import { pushNotificationAtom } from '@affine/component/notification-center'; import { useSetAtom } from 'jotai'; export const Component = () => { const pushNotification = useSetAtom(pushNotificationAtom); pushNotification({ ... }); } ``` - After ```ts import { notify } from "@affine/component"; export const Component = () => { notify({ ... }); } ``` |
||
EYHN
|
80c7750f4a
|
fix(core): selfhost redirect url (#6426) | ||
Taylor Hoffmann
|
94ea6a07b3
|
fix: broken links in README.md (#6418) | ||
JimmFly
|
62d9b0c959
|
fix(core): unexpected editable state after trash page refresh (#6433)
close TOV-772 |
||
JimmFly
|
2631b41e6d
|
feat(core): add new doc button to collection page (#6423)
close TOV-64 You can add this document to the collection while creating a new document on the collection page. <img width="790" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/828f80af-a1a5-47c2-98c2-a574cf79052c"> |
||
EYHN
|
9c6eba8971
|
fix(electron): fix build script (#6422) | ||
CatsJuice
|
f4e1e23120
|
feat(core): add cloud usage in sidebar avatar menu (#6400)
- Extract logic of getting cloud storage usage information into new hook - Move `<StorageProgress />`: `component` → `core` - Set minimum progress `0.5%` - Add cloud usage progress bar in sidebar user avatar's dropdown ![CleanShot 2024-03-29 at 17.10.04@2x.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/1fe9371a-a870-49a1-b4bb-b923c2fa4fe6.png) |
||
CatsJuice
|
af2158cb0c
|
feat(core): compatible with multiple subscriptions (#6277) |