Releases: refinedev/refine
@pankod/[email protected]
Patch Changes
- #3073
38dfde0c2ec
Thanks @samelhusseini! - FixedqueryOptions
parameter ofuseShow
hook
@pankod/[email protected]
Patch Changes
- #3083
9a2f3bd2d61
Thanks @alicanerdurmaz! - Added: undefinedprocess.NODE_ENV
value set to thedevelopment
fromproduction
.
@pankod/[email protected]
Minor Changes
- #3067
6f83ddba2ad
Thanks @alicanerdurmaz! - Added:whoami
command torefine-cli
. It's shows details of the development environment.
Added: telemetry torefine-cli
commands.
Patch Changes
-
#3080
407250fba24
Thanks @alicanerdurmaz! - Added:@types/figlet
as adevDependencies
-
#3078
37fac3e9cfa
Thanks @alicanerdurmaz! - Fixed:figlet
moved todependencies
fromdevDependencies
[email protected]
Minor Changes
- #3028
2af26e9b91b
Thanks @yildirayunlu! - Initial release for@pankod/refine-cli
andrefine-create-app
🎉
Patch Changes
- #3049
da4d6320580
Thanks @yildirayunlu! - - Fixcreate-refine-app
argument error.- Add bin params on
refine-cli
package.json
- Add bin params on
@pankod/[email protected]
Patch Changes
- #3045
753fda3186d
Thanks @aliemir! - UpdatedCreateButton
tests to handledisabled
check.
@pankod/[email protected]
Patch Changes
-
#3027
177d0a764fe
Thanks @aliemir! - FixLayout
component forTable
overflows.Table
was not respecting the flex layout even insideScrollArea
component. This was causing the table to overflow the parent container. -
#3027
177d0a764fe
Thanks @aliemir! - Fixed shrink issue for Layout -
#3027
177d0a764fe
Thanks @aliemir! - Added...rest
props toMarkdownField
component -
#3027
177d0a764fe
Thanks @aliemir! - FixedTagField
prop types.
@pankod/[email protected]
Minor Changes
-
#3027
177d0a764fe
Thanks @aliemir! - Initial release of the Inferencer package.This package provides series of components per each UI integration to generate list, show and edit pages for your resources. The fields and their representation are inferred from your resource's API response. Code is generated and presented with a preview and option to copy and edit in your project.
Note: It's highly advised to only use this package in development environments. While generating the sample code, multiple requests are made to the API and the result might not be the best application for your data.
Usage
Components for UI integrations are exported in sub directories. For example, to use the components for Ant Design integration, you can import them like this:
import { AntdListInferencer, AntdShowInferencer, AntdEditInferencer, } from "@pankod/refine-inferencer/antd";
After importing the component, you can directly use it in
<Refine/>
component'sresources
prop.<Refine resources={[ { name: "posts", list: AntdListInferencer, show: AntdShowInferencer, edit: AntdEditInferencer, }, ]} />
Tip: Relation data is only handled if the resource is present in the
resources
array. For example, if you have aposts
resource with ausers
relation, you need to addusers
resource to theresources
array as well. Otherwise, inferencer will try to show the relation data as a simple field like string or a number.
Patch Changes
- #3064
27df262dd0a
Thanks @aliemir! - Addedundefined
check for date field values in@pankod/refine-inferencer/antd
'sEditInferencer
component to prevent setting it to current date when it's not provided.
@pankod/[email protected]
Minor Changes
- #3028
2af26e9b91b
Thanks @yildirayunlu! - Initial release for@pankod/refine-cli
andrefine-create-app
🎉
Patch Changes
-
#3058
5f43dc6361f
Thanks @alicanerdurmaz! - Added: The description ofdev
,start
,build
commands changed according to project type. -
1fa9e25ac23
Thanks @omeraplak! - Added some fun -
#3060
1a53f4c4699
Thanks @yildirayunlu! - - Rename command namegenerate:resource
tocreate-resource
.- Removed the requirement for the
resource name
parameter. Ask forresource name
andactions
withinquirer
. - Add multiple resource create support. (
refine create-resource post category user
)
- Removed the requirement for the
-
#3056
29417155780
Thanks @alicanerdurmaz! - Fixedrefine check-updates
showing packages when current version ahead of next -
#3063
949b8bd6ac9
Thanks @yildirayunlu! - Added unique check oncreate-resource
withrefine-cli
. -
#3049
da4d6320580
Thanks @yildirayunlu! - - Fixcreate-refine-app
argument error.- Add bin params on
refine-cli
package.json
- Add bin params on
@pankod/[email protected]
Minor Changes
- #3030
d0998d66cd0
Thanks @yildirayunlu! - AddqueryOptions
params onuseShow
hook.
@pankod/[email protected]
Patch Changes
- #3011
593531713c3
Thanks @aliemir! - Fixed<NumberField />
type for missingvalue
prop type, which was erroring out when using<NumberField />
.