github refinedev/refine @refinedev/inferencer@4.5.17

Patch Changes

  • #5373 dff476ca41 Thanks @aliemir! - Show and List type inferencers were failing to provide a preview when there's a relational property without a presentational key. Updated generated code blocks to handle fields with no accessor keys and display a placeholder message instead. Fixes #5184

  • #5373 dff476ca41 Thanks @aliemir! - Fixed the issue of wrongfully assuming id key of relational fields in Chakra UI and Headless edit inferencers. Fixes #5274

  • #5373 dff476ca41 Thanks @aliemir! - Even though id is required for Refine to work properly, in some list queries there may not be an id field. Material UI Datagrid requires an identifier for each row, if there's no id field, we're fallbacking to the first key of the row. Fixes the errors thrown for this case in Material UI List inferencers.

  • #5373 dff476ca41 Thanks @aliemir! - Updated the object field inferencer to check for fields end with name and label and use them as the display name for the field. Previously the check was done for a predefined set of properties, now it's done for any property that ends with name or label which results with more accurate code generation.

  • Updated dependencies [75bb61dd3b, 93e00fd770, e5888b6b9c, b621223bfb, 19ceffbe9f]:

    • @refinedev/core@4.46.2

Don't miss a new refine release

NewReleases is sending notifications on new releases.