Vigia

Aktualizacja @wordpress/components z 43.x do 44.x

Porównanie publicznego API @wordpress/components 43.0.0 i 44.0.0, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.

Podsumowanie

Usunięte ścieżki importu0
Usunięte eksporty0
Zmienione sygnatury3
Usunięte składowe klas lub interfejsów0
Zmienione składowe klas lub interfejsów0
Nowo wycofane5
Zmiany wymagań (engines, zależności peer)4
Nowe eksporty0

Usunięte eksporty

Nie wykryto.

Zmienione sygnatury

exportPrzedPo
@wordpress/components · Autocomplete({ children, isSelected, ...options }: AutocompleteProps): any<TReplacement = RichTextValue>({ children, isSelected, ...options }: AutocompleteProps<TReplacement>): any
@wordpress/components · CustomGradientPicker({ value, onChange, enableAlpha, __experimentalIsRenderedInSidebar, }: CustomGradientPickerProps): any(props: CustomGradientPickerProps): any
@wordpress/components · __unstableUseAutocompleteProps(options: Omit<UseAutocompleteProps, "contentRef">): { ref: any; children?: undefined; 'aria-autocomplete'?: undefined; 'aria-haspopup'?: undefined; 'aria-controls'?: undefined; 'aria-owns'?: undefined; 'aria-activedescendant'?: undefined; } | { ref: any; children: any; 'aria-autocomplete': "list" | undefined; 'aria-haspopup': "listbox" | undefined; 'aria-controls': string | undefined; 'aria-owns': string | undefined; 'aria-activedescendant': string | undefined; }<TReplacement = RichTextValue>(options: Omit<UseAutocompleteProps<TReplacement>, "contentRef">): { ref: any; children?: undefined; 'aria-autocomplete'?: undefined; 'aria-haspopup'?: undefined; 'aria-controls'?: undefined; 'aria-owns'?: undefined; 'aria-activedescendant'?: undefined; } | { ref: any; children: any; 'aria-autocomplete': "list" | undefined; 'aria-haspopup': "listbox" | undefined; 'aria-controls': string | undefined; 'aria-owns': string | undefined; 'aria-activedescendant': string | undefined; }

Usunięte składowe klas lub interfejsów

Nie wykryto.

Zmienione składowe klas lub interfejsów

Nie wykryto.

Nowo wycofane

export@deprecated
@wordpress/components · TooltipUse `Tooltip` from `@wordpress/ui` instead.
@wordpress/components · FormToggleUse `Switch` from `@wordpress/ui` instead. ```jsx import { FormToggle } from '@wordpress/components'; import { useState } from '@wordpress/element'; const MyFormToggle = () => { const [ isChecked, setChecked ] = useState( true ); return ( <FormToggle checked={ isChecked } onChange={ () => setChec…
@wordpress/components · ProgressBarUse `Progress` from `@wordpress/ui` instead. ```jsx import { ProgressBar } from '@wordpress/components'; const MyLoadingComponent = () => { return <ProgressBar />; }; ```
@wordpress/components · TabbableContainer ```jsx import { TabbableContainer, Button, } from '@wordpress/components'; function onNavigate( index, target ) { console.log( `Navigates to ${ index }`, target ); } const MyTabbableContainer = () => ( <div> <span>Tabbable Container:</span> <TabbableContainer onNavigate…
@wordpress/components · CustomGradientPickerUse `GradientPicker` with `clearable={ false }` instead. ```jsx import { GradientPicker } from '@wordpress/components'; import { useState } from '@wordpress/element'; const MyGradientEditor = () => { const [ gradient, setGradient ] = useState(); return ( <GradientPicker clearable={ false } value=…

Zmiany wymagań (engines, zależności peer)

PrzedPo
engines.node>=22.13.0—
peerDependencies.react^18 || ^19—
peerDependencies.react-dom^18 || ^19—
peerDependencies.@types/react^18 || ^19—

Przekaż te dane swojemu agentowi AI

Vigia to darmowy serwer MCP: Twój agent programistyczny sprawdza wersje, zmiany łamiące zgodność i podatności, zanim napisze kod. Bez rejestracji i klucza API.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Dodaj do CursorDodaj do VS Code★ Gwiazdka na GitHubie

Dowolny inny klient MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill dla agentów (SKILL.md): mówi agentowi, kiedy używać Vigii · GitHub Action dla pull requestów

Najczęściej zadawane pytania

Jakie są zmiany niekompatybilne przy aktualizacji @wordpress/components z 43 do 44?

Między @wordpress/components 43.0.0 a 44.0.0 Vigia znalazła 0 usuniętych eksportów, 3 zmienionych sygnatur i 0 usuniętych lub zmienionych składowych klas lub interfejsów.

Co zostało wycofane w @wordpress/components 44?

5 eksportów lub składowych oznaczono w @wordpress/components 44.0.0 jako wycofane.

Dla agentów

GET https://vigia.coredls.cloud/v1/packages/npm/@wordpress/components/upgrade?from=43.0.0&to=44.0.0