react-admin

A frontend Framework for building data-driven applications running on top of REST/GraphQL APIs, using TypeScript, React and Material Design

MIT License

Downloads
1.9M
Stars
23.9K
Committers
661

Bot releases are hidden (Show)

react-admin - 5.1.4

Published by djhi about 1 month ago

  • Fix useFormGroup doesn't return validation errors with react-hook-form 7.53.0 (#10168) (slax57)
  • Avoid "no source" warning when theres a finalSource in useInput (#10153) (GuilhermeCarra)
  • [chore] Bump webpack from 5.83.1 to 5.94.0 (#10175) (dependabot[bot])
  • [Doc]: Fix <SimpleFormIterator> add and remove buttons snippets (#10173) (julienV)
react-admin - 5.1.3

Published by slax57 about 2 months ago

react-admin - 5.1.2

Published by slax57 about 2 months ago

  • Fix <PrevNextButtons> index when using paginated results (#10144) (slax57)
  • Fix useInput should call a custom validator with the final source in respect to the <SourceContext> (#10148) (slax57)
  • Fix ra-data-graphql incorrectly warns about deprecated override option being set (#10138) (JonasDoe)
  • Fix create-react-admin CLI to generate valid react-admin v5 apps (#10131) (djhi)
  • [Doc] Fix <ReferenceInput> usage incorrectly mentions the validate prop (#10134) (fzaninotto)
  • [Doc] Fix broken links to webm videos (#10143) (slax57)
  • [Doc] Improve types in QuickFilter doc (#10150) (slax57)
  • [Doc] Update ra-search documentation to mention disableHighlight (#10135) (djhi)
  • [Doc] Add ra-data-nestjs-query to the list of Data Providers (#10145) (mrnkr)
react-admin - 5.1.1

Published by fzaninotto 3 months ago

  • Fix <TranslatableInputs> throws error when used with null value (#10125) (glauff)
  • Fix ListContext.setSort ignores the sort order when the chosen field is the current one (#10114) (adguernier)
  • Fix <Datagrid rowClick> is called on mount (#10102) (djhi)
  • Fix <SimpleFormIterator> adds a left padding when there is no label (#10092) (fzaninotto)
  • Fix <DateInput> and <DateTimeInput> do not handle partial values correctly on Firefox (#9543) (arimet)
react-admin - 5.1.0

Published by djhi 3 months ago

react-admin - 4.16.20

Published by fzaninotto 3 months ago

react-admin - 5.0.5

Published by djhi 3 months ago

  • Fix <AutocompleteInput> clear button does not clear new choice (#10023) (adguernier)
  • Fix <FilterLiveSearch> should react to filter values change (#9996) (slax57)
  • Fix defaultDataProvider breaking change (#10001) (Nilegfx)
  • Fix TabbedForm with uri encoded identifiers (#10021) (djhi)
  • [Doc] Update ra-relationships documentation (#10018) (djhi)
  • [Doc] Verify if Beginning mode exist before add event (#10016) (arimet)
react-admin - 5.0.4

Published by fzaninotto 3 months ago

  • Fix warning when using <List filter>instead of filters (#9980) (djhi)
  • Fix ra-data-graphql custom context gets overwritten on queries (#9976) (jspizziri)
  • [Chore] Backport missing changes from 4.x (#9989) (slax57)
  • [Doc] Fix Remix installation instructions (#9982) (djhi)
  • [Doc] Update <Admin> doc to explain how to allow anonymous access to dashboard (#9992) (fzaninotto)
  • [Doc] Fix <Datagrid> standalone usage misses required resource prop (#9991) (fzaninotto)
  • [Doc] Update <Breadcrumb> doc according V5 upgrade (#9988) (adguernier)
  • [Doc] Update ra-rbac documentation following v5 upgrade (#9987) (slax57)
  • [Doc] Update ra-datagrid-ag doc according to V5 (#9985) (adguernier)
  • [Doc] Improve <EditableDatagrid> documentation (#9984) (adguernier)
  • [Doc] Fix react-query upgrade codemod snippets (#9977) (adguernier)
  • [TypeScript] Update mutations results types to include isLoading (#9978) (djhi)
  • [TypeScript] Fix <WrapperField source> prop should not be required (#9983) (jonathan-marmelab)
  • [TypeScript] Fix <ReferenceField> Props type is confusing (#9972) (fzaninotto)
  • [TypeScript] Fix useGetOne and useGetMany params type when id param is undefined (#9971) (fzaninotto)
  • [TypeScript] Fix data provider packages export non-strict types (#9970) (fzaninotto)
react-admin - 5.0.3

Published by fzaninotto 4 months ago

  • Fix npm install error due to outdated peer dependencies (#9964) (fzaninotto)
  • Fix <SimpleShowLayout> uses a wrong translation key for field labels (#9966) (fzaninotto)
  • Fix ra-data-fakerest log of queries (#9960) (fzaninotto)
  • [TypeScript] Fix useGetManyReference return type (#9963) (fzaninotto)
  • [Demo] Fix ReviewList scrolls to top when editing a review (#9958) (djhi)
react-admin - 5.0.2

Published by fzaninotto 4 months ago

  • Fix useUpdate throws an error when record id is a valid falsy value such as zero (#9957) (djhi)
  • Fix <DatagridHeader> Tooltip when using React element as a field label (#9948) (djhi)
  • Fix Inputs used outside <Form> need a SourceContext (#9944) (adguernier)
  • Backport Changes from 4.x branch (#9949) (djhi)
  • [Doc] Fix basename usage in routing chapter (#9956) (djhi)
  • [Doc] Update tutorial for v5 (#9945) (djhi)
  • [Doc] Explain that <Form sanitizeEmptyValues> does not work on nested fields (#9950) (djhi)
  • [Dev] Fix flaky tests (#9952) (djhi)
react-admin - 5.0.1

Published by slax57 4 months ago

react-admin - 5.0.0

Published by fzaninotto 4 months ago

🎉 New major release! React-admin v5 introduces new features and some breaking changes. 🚀

👉 Read the announcement blog post 👈

Here are the highlights:

🎨 UI Improvements

  • Apps now have a theme switcher and a dark theme by default (#9479)
  • Inputs now default to full width (#9704)
  • Links are now underlined (#9483)
  • List pages restore scroll position when coming back from Edit and Create views (#9774)
  • Errors in the Layout code now trigger the Error Boundary (#9799)
  • Button size can be set via props (#9735)

🏁 App Initialization

  • Simpler custom layout components just need to render their children (#9591)
  • No more props drilling for Layout, AppBar, Menu, etc (#9591)
  • useDefaultTitle() hook returns the application title from anywhere in the app (#9591)

🗄️ Data Providers

  • Data providers can now cancel queries for unmounted components (opt-in) (#9612)
  • GraphQL data providers are easier to initialize (they are now synchronous) (#9820)
  • GraphQL-Simple data provider supports Sparse Fields in queries (#9392)
  • GraphQL-Simple data provider supports updateMany and deleteMany mutations (#9393)
  • withLifecycleCallbacks now supports for wildcard and array of callbacks (#9577)
  • Middlewares are more powerful and handle errors better (#9875)

📋 List pages

  • Datagrid has rowClick enabled by default, it links to the edit or show view depending on the resource definition (#9466)
  • List bulkActionButtons is now a Datagrid prop (#9707)
  • setFilters doesn't debounce by default, so custom filters work as expected (#9682)
  • List parameters persistence in the store can be disabled (#9742)

📝 Forms & Inputs

  • Inputs no longer require to be touched to display a validation error (#9781)
  • ReferenceInputs are now smarter by default as they use the recordRepresentation (#9902)
  • Server-Side validation is now more robust (#9848)
  • warnWhenUnsavedChanges works again (#9657)
  • Smart input components like TranslatableInputs, ArrayInput, or ReferenceManyInput now compose more seamlessly thanks to a new SourceContext. There is no need for getSource in FormDataConsumer. (#9533)
  • All inputs now have a unique ID - no more duplicate ID warnings (#9788)
  • Learning Forms is facilitated by a new Form chapter in the doc (#9864)

💻 DX Improvements

  • The default Record Representation for resources is now smarter (#9650)
  • Data provider hooks like useGetOne have a smart return type based on the request state. This will force you to plan for the error case. (#9743)
  • Stricter TypeScript types will detect more errors at compile time (#9741)
  • PropTypes are gone, so there is no conflict with TypeScript types (#9851)
  • create-react-admin can run in non-interactive mode (#9544)
  • ra-data-fakerest accepts a delay parameter to simulate network delays (#9908)
  • data-generator-retail now exposes types for the generated data (#9764)

🔄 Bump dependencies

  • React-admin requires React 18 to leverage Concurrent React (#9827)
  • React-admin uses the latest version of react-router, react-query, date-fns, fakerest, etc. (#9657, #9473, #9812, #9801, #9908)
  • Internet Explorer is no longer supported (#9530)

🔄 Upgrading to v5

We've written a migration guide to help you upgrade your apps to v5. It covers all the breaking changes and how to adapt your code to the new APIs.

We estimate that a react-admin app with 50,000 lines of code will require about 2 days of work to upgrade to v5.

📜 Changelog

For a detailed changelog, see the release notes for the following pre-releases:

react-admin - 5.0.0-rc.1

Published by fzaninotto 4 months ago

react-admin - 5.0.0-rc.0

Published by fzaninotto 4 months ago

  • Ensure React 19 compatibility (#9919) (djhi)
  • Fix data provider queries are doubled in development when using strict mode (#9901) (djhi)
  • Fix default <Error> background in global ErrorBoundary (#9913) (fzaninotto)
  • Fix combineDataProvider throws a runtime error (#9910) (fzaninotto)
  • Fix <List> should not render <Error> component on fetch error (#9912) (fzaninotto)
  • Fix useDelete doesn't delete record if its id is zero (#9894) (adguernier)
  • Update <ArrayInput> to use SourceContext instead of cloning children (#9911) (adguernier)
  • Update <SelectArrayInput> to use default record representation when used inside <ReferenceArrayInput> (#9902) (djhi)
  • Upgrade FakeRest to 4.0 (#9908) (fzaninotto)
  • [TypeScript] Fix types of Field components (#9903) (slax57)
  • [Dev] Fix useRegisterMutationMiddleware stories (#9899) (djhi)
  • [Dev] Deduplicate yarn.lock (#9897) (fzaninotto)
  • Backport changes from master (#9923) (slax57)
react-admin - 4.16.19

Published by djhi 4 months ago

react-admin - 5.0.0-beta.3 Latest Release

Published by fzaninotto 5 months ago

react-admin - 5.0.0-beta.2

Published by fzaninotto 5 months ago

  • Fix middlewares do not handle optimistic cases (#9875) (djhi)
  • Fix ra-core is missing react-error-boundary dependency (#9873) (djhi)
  • Fix broken app build by downgrading query-string (#9871) (djhi)
  • Upgrade prettier to v3 (#9874) (djhi)
  • Backport changes from master to next (#9866) (djhi)
react-admin - 5.0.0-beta.1

Published by fzaninotto 5 months ago

react-admin - 4.16.18

Published by fzaninotto 5 months ago

  • Fix <Datagrid> uses wrong element for "Select All" label (#9826) (fzaninotto)
  • Fix <ListView> crashes when inside a tab (#9824) (fzaninotto)
  • Fix warning about defaultProps in React 18.3 (#9832) (djhi)
  • Bump ejs from 3.1.8 to 3.1.10 (#9814) (dependabot bot)
  • [Doc] Improve doc for <Autocomplete onCreate> and similar props (#9858) (fzaninotto)
  • [Doc] Add missing fetchUtils import to make custom httpClient snippet clearer in TypeScript (#9843) (adguernier)
  • [Doc] update italian locale reference (#9830) (christianascone)
  • [Doc] Fix Input usage mentions disabled instead of readOnly (#9825) (fzaninotto)
  • [Typescript] Fix compilation error in <MenuItemLink>, <ResettableTextField> and <InspectorButton> with latest @types/react (#9853) (ilia-os)
  • [Storybook] Fix <TitlePortal> stories (#9834) (djhi)
react-admin - 5.0.0-beta.0

Published by fzaninotto 6 months ago

This version contains breaking changes. Check the 5.0 upgrade guide to upgrade your application.

Package Rankings
Top 0.39% on Npmjs.org
Top 14.07% on Repo1.maven.org
Top 3.29% on Proxy.golang.org
Badges
Extracted from project README
Build status FOSSA Status StandWithUkraine react-admin-demo FOSSA Status
Related Projects