Skip to content

Releases: premieroctet/next-admin

@premieroctet/[email protected]

08 Jan 15:52
d3c8be0
Compare
Choose a tag to compare

Minor Changes

  • cbf6925: 📄 add option for custom pages

    In the options, add

    pages: {
      "/custom": {
        title: "Custom page"
      },
    },

    In the above example, navigating to <basePath>/custom will render the CustomPage component, in addition with the persistent Next Admin components (header, sidebar, message).

  • a261bc5: # New feature

    ✏️ add ability to render a custom input

  • 4ddf12f: 🛠 add ability to create custom actions on resources

  • 244820a: use the @id field of a model as the id field instead of defaulting to "id"

  • 2d3f8ac: # New feature

    ✨ Override model name in UI

  • 28053ff: add option optionFormatter to format select option of a related model at field option level

  • 603b499: 🛠 add support for JSON fields

  • af7f123: 🪄 allow sort by relationship count

Patch Changes

  • 11c3b5a: feat: allow slug version of model in url

@premieroctet/[email protected]

04 Dec 15:33
ab45bde
Compare
Choose a tag to compare

Patch Changes

@premieroctet/[email protected]

29 Nov 17:23
216ba52
Compare
Choose a tag to compare

Major Changes

  • 16aba39:

    New feature

    • 🎉 App router is now supported. You can find an exemple of its usage in the example app.
    • New context object, currently passed only to the formatter function

@premieroctet/[email protected]

22 Nov 17:20
25a7302
Compare
Choose a tag to compare

Major Changes

  • dbb5a3e: - Always fetch id property from items

    • Hide idcolumn in list if it doesn't have display: true options
    • Mutualize NextAdminOptions to reduce useless duplication of code
    • Add file upload input

    ⚠️ Breaking Changes

    To reduce the complexity and duplication of next-admin options, this PR contains major changes to the structure of the options.

    • Changed structure for display and search properties: fields are now entered as an array

Patch Changes

  • dbb5a3e: Add formatting system to relationship column
  • dbb5a3e: Add ability to choose format type for Date property between date-time and date in edit options
    Introduce handler object to handle custom logic for a property in edit mode
    Add ability to use input variant in edit mode
    Fix datetime-local input to store correct datetime

@premieroctet/[email protected]

30 Aug 16:37
000dd23
Compare
Choose a tag to compare

Minor Changes

  • 1fe2774: feat: display currently selected menu
  • dd0aa0d: feat: loading indicator on client side navigation
  • 96dd99b: Add e2e tests
  • c6459e8: feat: add Prisma 5 compatibility
  • 06c44a7: feat: dynamic base path
  • 088bfc9: feat: data server validation

@premieroctet/[email protected]

22 Aug 13:21
cdbe842
Compare
Choose a tag to compare

Patch Changes

  • 649b547: feat: field formatter option
  • 1c3f590: feat: hide models that are not defined in admin options
  • bb27872: refactor: ressource -> resource

@premieroctet/[email protected]

11 Aug 14:12
58b433d
Compare
Choose a tag to compare

⚠️ this release does not contain the dist files.

Patch Changes

  • 7bcf33c: change package properties

    Change type: fix

@premieroctet/[email protected]

09 Aug 12:39
8d3f29d
Compare
Choose a tag to compare

⚠️ this release does not contain the dist files.

Patch Changes

  • 7bcf33c: change package properties

@premieroctet/[email protected]

08 Aug 16:59
Compare
Choose a tag to compare

⚠️ this release does not contain the dist files.

Patch Changes

  • c7bbf42: Support differents name case