New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ra-i18n-polyglot

Package Overview
Dependencies
Maintainers
2
Versions
252
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
26

4.0.3

Diff

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 •

fzaninotto
published 4.0.0-RC.1 •

fzaninotto
published 4.0.0-RC.0 •

fzaninotto
published 4.0.0-beta.3 •

fzaninotto
published 4.0.0-beta.2 •

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