Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More โ†’
Socket
Sign inDemoInstall
Socket

ra-i18n-polyglot

Package Overview
Dependencies
Maintainers
1
Versions
247
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ra-i18n-polyglot - npm Package Versions

1
โ€ฆ
โ€ฆ
25

4.1.1

Diff

Changelog

Source

v4.1.1

  • Fix <DateTimeInput validate={required()} /> doesn't work correctly (#7744) (djhi)
  • Fix validate function errors messages are not display when passed as translatable object (#7741) (djhi)
  • Fix useUpdateMany does not support the returnPromise option (#7740) (djhi)
  • Fix cannot remove <SimpleForm> and <TabbedForm> toolbar with toolbar={false} (#7738) (djhi)
  • Fix <Admin> calls its child function without permissions while loading them (#7737) (djhi)
  • Fix useConfigureAdminRouterFromChildren when child function return null (#7731) (djhi)
  • Fix <TabbedForm> ignores the sx prop (#7721) (slax57)
  • Fix <Loading> ignores the sx prop (#7723) (slax57)
  • Fix <Form> submit cannot be prevented with event.preventDefault (#7715) (slax57)
  • Fix <AutocompleteInput> tests regression (#7714) (slax57)
  • [Doc] Fix typo in useSaveContext code snippet (#7747) (wgiddens)
  • [Doc] Fix <SelectArrayInput> doc mentions non-existent prop resettable (#7743) (djhi)
  • [Doc] Fix <SaveButton> is documented in two different chapters (#7742) (fzaninotto)
  • [Doc] Fix typo in custom form layout example (#7734) (ApolloRisky)
  • [Doc] Fix useGetOne section about query aggregation (#7732) (fzaninotto)
  • [Doc] Fix global theme overrides example (#7727) (mediafreakch)
  • [Doc] Fix Form Validation section mentions ability to do both async validation per input and global validation (#7726) (slax57)
  • [Doc] Fix <BooleanInput> example for overriding check icon (#7720) (mediafreakch)
  • [Doc] Fix tutorial example cannot be run in CodeSandbox (#7713) (slax57)
  • [TypeScript] Fix <Button> component props accepts a record (#7764) (fzaninotto)
  • [TypeScript] Fix <Button> component props (#7750) (djhi)
  • [TypeScript] Fix <SingleFieldList> rejects the sx prop (#7735) (djhi)
  • [TypeScript] Fix missing useMutation error typing definitions (#7722) (soullivaneuh)
  • [TypeScript] Fix cannot specify the error type in mutation hooks (#7698) (soullivaneuh)
fzaninotto
published 4.1.0 โ€ข

Changelog

Source

v4.1.0

fzaninotto
published 4.0.5 โ€ข

Changelog

Source

v4.0.5

  • Fix <ReferenceField> sometimes gets stuck on loading state (#7708) (djhi)
  • Fix <ReferenceInput> sometimes gets stuck on loading state (#7707) (djhi)
  • Fix <ReferenceArrayInput> with <AutocompleteArrayInput> throws error if the array is empty (#7694) (slax57)
  • Fix <FormTab> doesn't highlight selected tab label (#7693) (slax57)
  • Fix <Filter> shows filter button even though there is no filter to add (#7691) (fzaninotto)
  • Fix <TextInput> changes 'on' into 'false' (#7682) (Andonyaa)
  • [Doc] Fix "Save And Add Another" example in forms section (#7709) (slax57)
  • [Doc] Fix missing doc for <Admin queryClient> prop (#7704) (fzaninotto)
  • [Doc] Fix Validation chapter misses section explaining that global and input level validation can not be combined (#7703) (slax57)
fzaninotto
published 4.0.4 โ€ข

Changelog

Source

v4.0.4

  • Fix cannot use theme to override input variant (#7636) (fzaninotto)
  • Fix <NumberInput> edge cases (#7673) (fzaninotto)
  • Fix <ShowBase>, <CreateBase> and <EditBase> components don't support resource override via props (#7652) (slax57)
  • Fix inconsistent casing for translation keys of ra-input-rich-text (#7683) (friday)
  • Fix warning when using some valid <Button color> values (#7681) (smeng9)
  • [TypeScript] Fix <Button> component prop type (#7664) (okovpashko)
  • [Doc] Fix "Prefilling the Form" example in Create chapter (#7684) (slax57)
  • [Doc] Fix <RichTextInputToolbar> example in ra-input-rich-text chapter (#7671) (friday)
  • [Doc] Fix <SaveButton formId> prop should be called <SaveButton form> (#7658) (smeng9)
fzaninotto
published 4.0.3 โ€ข

Changelog

Source

v4.0.3

  • Fix <SimpleFormIterator disableRemove> doesn't receive the record argument (#7645) (andrico1234)
  • Fix cannot create an admin without resources (#7609) (djhi)
  • Fix cannot define ressource config based on Permissions (#7606) (djhi)
  • Fix <Admin> forbids login when authProvider.setPermissions() isn't implemented (#7642) (djhi)
  • Fix <SimpleFormIterator> children display wrong labels (#7641) (djhi)
  • Fix style overrides in <SimpleFormIterator> (#7630) (andrico1234)
  • Fix ability to disable redirect in useCreateController (#7633) (waltheri)
  • Fix <FileInput> no longer passes source to name attribute (#7619) (djhi)
  • Fix <FileInput> doesn't accept options prop (#7611) (fzaninotto)
  • Fix duplicate key error in <SingleFieldList> (#7617) (djhi)
  • Fix Form validation when <SaveButton type> is "button" (#7557) (WiXSL)
  • Fix NullableBooleanInput helper text doesn't take isSubmitted into account (#7553) (afilp)
  • [TypeScript] Fix ra-data-graphql options type (#7638) (arjunyel)
  • [TypeScript] Fix <Button/> props type mention unsupported icon prop (#7627) (smeng9)
  • [Doc] Fix wrong import in List docs (#7647) (davidhenley)
  • [Doc] Fix Edit doc mentions unsupported prop (#7628) (fzaninotto)
  • [Doc] Fix <ArrayField> doc mentions unsupported fieldKey prop (#7613) (smeng9)
  • [Doc] Fix instructions for using react-admin in a sub path (#7612) (fzaninotto)
  • [Doc] Add Prisma REST to the list of third-party Data Providers (#7568) (mshd)
fzaninotto
published 4.0.2 โ€ข

Changelog

Source

v4.0.2

  • Publish GraphQL data provider packages (#7607) (fzaninotto)
  • Fix missing <Admin queryClient> prop (#7558) (joshq00)
  • Fix logout doesn't reset resource registration (#7539) (fzaninotto)
  • Fix <ListGuesser> does not update when resource changes (#7605) (djhi)
  • Fix cannot set custom icon in <BooleanInput> (#7556) (WiXSL)
  • Fix cannot clear filter form when clicking the clerar button on Firefox (#7574) (smeng9)
  • Fix <RichTextInput> buttons don't update correctly (#7585) (djhi)
  • [TypeScript] Fix missing <ArrayInput sx> prop (#7571) (djhi)
  • [TypeScript] Fix <SelectInput choices> type only allow Records (#7595) (bingluen)
  • [TypeScript] Fix <SelectInput> / <SelectArrayInput> onChange handler (#7519) (WiXSL)
  • [Doc] Add an example GraphQL data provider (#7602) (fzaninotto)
  • [Doc] Fix missing <SelectInput> props (#7566) (smeng9)
  • [Doc] Fix Upgrade instructions for List views (#7563) (hjr3)
  • [Doc] Fix Upgrade instructions regarding router imports (#7562) (hjr3)
fzaninotto
published 4.0.0 โ€ข

Changelog

Source

v4.0.0

React-admin v4 focuses on modernizing the inner workings of the library. It improves the developper experience a great deal, and paves the way for future changes. It is the result of 6 months of intensive refactoring, development, and test.

The following list concerns version 4.0.0, as well as all the pre-releases (alpha, beta, and rc).

๐ŸŽ‰ New features

  • Add <Admin requireAuth> to hide the app until auth is checked (#7475)
  • Add <Admin basename> to allow mounting react-admin inside a sub path (#7100, #6917)
  • Add the ability to pass custom params to all dataProvider hooks (#7116)
  • Add support for partial pagination (i.e. no total) (#7120)
  • Add support for sx props in all ra-ui-materialui components (#7175)
  • Add headless <Form> component (#7087)
  • Add <ReferenceOneField> (#7060)
  • Add <CustomRoutes> (#7345)
  • Add useStore and persistent preferences (backport from ra-enterprise) (#7158, #7366)
  • Add Saved Queries (#7354)
  • Add <ToggleThemeButton> (#7340)
  • Add <LocalesMenuButton> (#7332)
  • Add useSetTheme (#7008)
  • Add combineDataProvider helper (#7055)
  • Add <Datagrid expandSingle> to limit the number of expanded rows to 1 (#7454)
  • Add <ChoicesContextProvider> in all ReferenceInputs to avoid child cloning and allow choices filtering, pagination, and sorting (#7185)
  • Add <FileInput validateFileRemoval> prop to allow confirmation before file deletion (#7003)
  • Add ability to register custom <Resource options> (#7392)

๐Ÿ“ฆ Dependency Updates

  • Add React 18 compatibility (#7377)
  • Upgrade material-ui to v5 (#6650)
  • Use react-query for data fetching instead of home made solution (#6779, #6916, #7006, #7016, #7025, #6891, #7035, #7020, #7035, #7001)
  • Replace react-final-form with react-hook-form (#7087)
  • Upgrade react-router to V6 (#6873)
  • Replace Quill by TipTap in <RichTextInput> (#7153)
  • Upgrade dependencies to their latest major versions

๐Ÿน Updated Syntax

  • Change the Record TypeScript name to RaRecord (#7078)
  • Change data provider hooks signature to reflect the data provider signature
  • Remove prop injection and child cloning, use context instead (#7060, #7218, #7215, #7214, #7207, #7206, #7205, #7203).
  • Remove record prop injection
  • Remove permissions injection in main route controllers (#6921)
  • Avoid cloning Inputs components to pass variant and margin, and document theme override instead (#7223)
  • Rename loading to isLoading in authProvider hooks return type (#7334)
  • Rename initialValues to defaultValues in <Form> (caused by switch to react-hook-form)
  • Move bulkActionButtons from <List> to <Datagrid> (#7114)
  • Rename currentSort to sort (#7076)
  • Change setSort signature to make it consistent across components (#7065)
  • Use Material UI autocomplete instead of our own (#6924, #6971)
  • Rename <TranslationProvider> to <I18nContextProvider>
  • Switch <WithPermissions> wrapping to a useAuthenticated hook in main controllers (#6921)
  • Move <Notification> component into <AdminUI> to avoid gotchas when overriding the layout (#7082)

๐Ÿงน Cleanup

  • Remove Redux (#7177)
  • Remove redux-saga and saga-based side effects (#6684)
  • Remove connected-react-router (#6704)
  • Remove basePath (#7100)
  • Remove addLabel prop in Field components (#7223)
  • Remove Resource initialization, Store Resource definitions in Context rather than in store (#7051)
  • Remove HOCs (like addField) and render props
  • Remove useQuery and useMutation (as react-query already provides them) (#7001)
  • Remove application cache and validUntil (#7001)
  • Remove useVersion (#7001)
  • Remove allowEmpty prop in choice inputs (#7200)
  • Remove deprecated sort prop in <DataGridHeaderCell> (#7065)
  • Remove <FormWithRedirect> and handleSubmitWithRedirect (#7087)
  • Remove TestContext (<AdminContext> does the trick) and ra-test (#7148)
  • Remove declarative side effects support in dataProvider (#6687)
  • Remove useGetMatching (use getList instead) (#6916)
  • Remove support for undoable prop now that we have mutationMode (#6711)
  • Remove withTranslate HOC (#7157)
  • Remove ra-test (#7148)
  • Use esbuild instead of webpack for simple example
  • Use GitHub actions instead of Travis for CI

๐Ÿ“š Updated Documentation

  • The v4 documentation was deeply reorganized to allow easier discovery and faster navigation.
  • Most of the common hooks and components now have a dedicated documentation page.
  • We've added a Storybook to help you discover the components API.
  • The demos (e-commerce, CRM) were updated to show how to build application in idiomatic react-admin.

๐Ÿชœ Upgrade Guide

As this is a major release, there are breaking changes. We documented all the changes required in a react-admin v3 application to make it compatible with version 4 in the react-admin v4 Upgrade Guide.

๐Ÿ“Š Statistics

Since react-admin counts about 112,000 lines of code, this means that 90% of the codebase was touched.

๐Ÿ’Œ Thank You

Many thanks to all the contributors (whether they helped developing, testing, documenting, proofreading react-admin v4), and in particular to the core team (fzaninotto, djhi, WiXSL) for their hard work.

fzaninotto
published 3.19.11 โ€ข

Changelog

Source

v3.19.11

fzaninotto
published 4.0.0-rc.1 โ€ข

fzaninotto
published 4.0.0-rc.0 โ€ข

1
โ€ฆ
โ€ฆ
25
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc