- Compatibility with react-admin v5
- Fix validation errors shown as "Server communication error" when creating an entity
- Enum support in field guesser
- Fix random error message about apiSchema being null
- Fix inconsistencies between dark and light theme
- Format identifier values on save (needed when not modified in the form)
- Fix empty array in form would trigger a file upload
- Add enum input guesser
- Handle multiple file upload
- Allow to use tabbed components in guessers
- Use native react-admin
sanitizeEmptyValues
- Fix reference input validation
- Fix missing fully-specified imports for @mui
- Build only ESM
- Fix operations registration in resource guesser
- Remove type module from package.json
- Fix getting the field type for https://schema.org
- Fix displaying name of relation in place of iri not working for https://schema.org/name
- A relative entrypoint can be used
- Improve performance
- Add
sanitizeEmptyValues
prop (defaulttrue
) toCreateGuesser
andEditGuesser
- Add
sanitizeEmptyValue
prop (defaulttrue
) toInputGuesser
- Fix
transform
prop inCreateGuesser
andEditGuesser
- Take the operations into account (list, create, edit, delete)
- Mercure: add back the possibility to use a boolean
- Add full OpenAPI support (introduce
OpenApiAdmin
) - Make sure i18n provider and theme are passed down to
AdminGuesser
- Introduce
useDisplayOverrideCode
hook to avoid displaying the code message if the guesser component is rendered multiple times
- Make sure columns can be sorted when there is an order filter in
ListGuesser
- Compatibility with react-admin 4 (see UPGRADE.md)
- Add a light/dark theme switcher by default
- Improve the error page with more information to get help
- Improve parsing and formatting of embedded relations
- Add a new
useIntrospect
hook (calling the actual introspection request, useuseIntrospection
to ask for a new introspection) - Partial pagination support is back (native to react-admin)
- Embedded support is enabled by default
- Hydra: manage empty response correctly
- Hydra: total was overridden by partial pagination
- Make sure i18n provider is passed down to
AdminGuesser
- TypeScript: make some props partial in HydraAdmin and AdminGuesser
- Hydra: use right URL for getManyReference
- Migrate codebase to TypeScript (export CommonJS module and ECMAScript module)
- Correctly parse the
id
input inInputGuesser
- Hydra: use pagination when fetching data with a search id filter (getMany)
- Mercure: close event source connection when unsubscribing
- Extract the Mercure hub from response headers
- Mercure support
- Hydra: add possibility to disable caching
- Make sure a property's value is not null before checking if there is a
toJSON
property in a form data value
- 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)