Skip to Content

Release v2.3.370

Prepared: November 1, 2026 (draft, django-cfg backend and @djangocfg/ui-core)

Behavior change: security emails are opt-in

A visitor who signed in with Google was emailed “Security Alert: Profile Updated” within seconds, because the sign-in filled in the name from Google. The “New sign-in” email also mails a user right after they signed in themselves. Both are now off by default:

from django_cfg import AccountEmailsConfig, DjangoConfig class MyConfig(DjangoConfig): account_emails = AccountEmailsConfig( profile_change_email=True, # default False new_sign_in_email=True, # default False )
LetterBeforeNow
Profile Updated, name or username changedsentnever sent (Telegram still reports it)
Profile Updated, email address changedsent to the new addressonly with profile_change_email, sent to the previous address
Profile Updated, written by sign-in or registrationsentnever sent
New sign-insent for a new device after the first 24honly with new_sign_in_email, same rules (test accounts, 24h grace, same-device dedup)
Account deactivated, user deleted their own accountsent (“by administrator”)not sent (Telegram still reports it)

Both switches gate only the email to the user. Telegram and admin notifications are unchanged. The welcome letter, the OTP code and administrator activation or deactivation letters are unchanged. See Login Alerts.

Visual change: one height ladder for buttons and fields

@djangocfg/ui-core had two unrelated size ladders: Button defaulted to 36px and Input to 40px, so <Input/> <Button/> in one row never lined up. Both now read one map, CONTROL_SIZE, and every field-like control has the same height as a Button of the same size. The chosen default is the Button one:

SizeHeightBefore (Input / Select trigger)
xs28pxnot available (new)
sm32px36px
default36px40px
lg44pxnot available (new)
  • Inputs, select triggers, InputGroup, InputAffix, DateField, TimeField, DateTimeField, MaskInput and PhoneInput are 4px shorter at the default size. Input with inputSize="sm" is 32px (was 36px). Toggle with size="lg" is 44px (was 40px).
  • Input, InputGroup, InputAffix and the date fields gain inputSize="xs" | "lg"; SelectTrigger gains size. Button is unchanged.
  • An uncontrolled Input now honours inputSize and bare (it used to ignore both).
  • Multi-select triggers keep growing with their content; their minimum height is now 36px (was 40px).
  • CONTROL_SIZE and the ControlSize / FieldControlSize types are exported from @djangocfg/ui-core/components.

If your app worked around the mismatch with className="h-9" on an Input or size="sm" on a Button, remove it. A call site that wants the old 40px passes className="h-10" on that control.

Upgrading

Projects that want the old behavior set both switches to True. Everyone else changes nothing on the backend. Frontends on @djangocfg/ui-core get the shorter inputs described above; check forms with fixed-height rows.

Last updated on