- Always use an array for
inputChildren
in guessers
- Do not use modern operators
- Accept
extraInformation
in data passed to data provider. Use ahasFileField
field to force multipart encoding. CreateGuesser
andEditGuesser
add thehasFileField
field toextraInformation
if a child is aFile
- Call
toJSON
instead ofJSON.stringify
when there is atoJSON
property in a form data value
- Use
JSON.stringify
when there is atoJSON
property in a form data value
- Downgrade history
- Remove final-form-submit-errors
- Bump dependencies (history, jsonld)
- Submission errors per field
- Add missing props for
SimpleForm
andDatagrid
in guessers - Improve react-admin compatibility
- Hydra: return id when deleting in the data provider
- Fix
customSagas
prop type inAdminGuesser
- Pause validation when the Final Form field is registered in
InputGuesser
- Add
rowClick
prop inListGuesser
- Do not display user menu if there is no auth provider
- Do not use guessers in
ResourceGuesser
ifcreate
,edit
,show
,list
props have a falsy value - Add ESLint hook rules
- Add sort for nested properties in ListGuesser
- Hydra: use
fetchJsonLd
when expanding an error (to use authorization header)
- Fix sent
FormData
when a value is an object or an array (use JSON)
- Fix
ResourceGuesser
propTypes
- Bump dependencies (
@api-platform/api-doc-parser
to 0.11)
- Call
logoutIfAccessDenied
if theschemaAnalyzer
throws an error (to logout in case of an unauthorized access)
- Hydra: manage file upload (use
FormData
instead of JSON)
- Humanize
ReferenceInput
andReferenceArrayInput
label inInputGuesser
- Introspection should be done before loading
- Set loading when introspecting with
useIntrospection
- Add React 17 as peer dependency
- Add
useIntrospection
hook in order to ask for a new introspection if needed - Hydra:
apiSchema
should not be cached if there are no resources
- Add custom
searchParams
for the Hydra data provider methods
- Define history only in a browser context
- Add missing propTypes
- Fix
loading
props usage inAdminUI
- Remove unuseful optional chaining
- Fix updateMany to send parameters into data fetch
- Hydra: display empty page when
hydra:totalItems
is 0
- Hydra: correctly display all errors
- Embedded support for array relation
- Fix optimistic introspect calls
- Hydra: better CORS error
- Add embedded support (disabled by default, set
useEmbedded
totrue
in the Hydra data provider) - BC: If your API uses an embedded, it will not be a reference anymore if you use
ListGuesser
,InputGuesser
orResourceGuesser
. Use the new way of handling embedded instead. - BC: In the
schemaAnalyser
,getReferenceNameField
has been renamed togetFieldNameFromSchema
. - Require
@api-platform/api-doc-parser
^0.9 (embedded) - Add partial pagination support
- Hydra: fix default per page parameter value
- Hydra: remove
trace
in error - Hydra: add
body
toHttpError
- If a search filter for the identifier is available, use it for
MANY
requests
- Fix authentication
- Better error handling
- Use readable and writable fields instead of fields
- Use array notation for exists, range and date filters
- Compatibility with react-admin 3
- Use hooks instead of classes
AdminGuesser
can be used instead ofHydraAdmin
- A custom
resourceSchemaAnalyzer
can be pass as a prop ofAdminGuesser
- A custom
history
can be pass as a prop - The Hydra data provider is using the new type
- Do not display guesser console logs in production
- Better UI when displaying errors at the first loading
- Undoable editing has been fixed
Breaking Changes:
dataProvider
imported from@api-platform/admin
has been renamed tohydraDataProvider
- Pass down initial props to
HydraAdmin
- Allow to disable filters on
ListGuesser
- Fix nested search filters and search filter for collection in Hydra data provider
- Add console logs in guessers to improve DX
- Check for the value to be defined before checking the position of the prefix in
InputGuesser
- Render login page when unauthorized
- Allow to inject custom API documentation parser in Hydra data provider
- Initial release (use
Guesser
components)