diff --git a/.changeset/early-suns-tan.md b/.changeset/early-suns-tan.md deleted file mode 100644 index caae90d3..00000000 --- a/.changeset/early-suns-tan.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@premieroctet/next-admin": patch ---- - -Add formatting system to relationship column diff --git a/.changeset/short-emus-move.md b/.changeset/short-emus-move.md deleted file mode 100644 index e04445e6..00000000 --- a/.changeset/short-emus-move.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@premieroctet/next-admin": major ---- - -- Always fetch `id` property from items -- Hide `id`column in list if it doesn't have `display: true` options -- Mutualize `NextAdminOptions` to reduce useless duplication of code - -⚠️ **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 diff --git a/.changeset/young-chicken-beam.md b/.changeset/young-chicken-beam.md deleted file mode 100644 index 3f26307b..00000000 --- a/.changeset/young-chicken-beam.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@premieroctet/next-admin": patch ---- - -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 diff --git a/packages/next-admin/CHANGELOG.md b/packages/next-admin/CHANGELOG.md index f18a92f7..c6db7a1f 100644 --- a/packages/next-admin/CHANGELOG.md +++ b/packages/next-admin/CHANGELOG.md @@ -1,5 +1,27 @@ # @premieroctet/next-admin +## 2.0.0 + +### Major Changes + +- dbb5a3e: - Always fetch `id` property from items + + - Hide `id`column in list if it doesn't have `display: true` options + - Mutualize `NextAdminOptions` to reduce useless duplication of code + + ⚠️ **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 + ## 1.4.1 ### Patch Changes diff --git a/packages/next-admin/package.json b/packages/next-admin/package.json index 20330482..702dfdaa 100644 --- a/packages/next-admin/package.json +++ b/packages/next-admin/package.json @@ -1,6 +1,6 @@ { "name": "@premieroctet/next-admin", - "version": "1.4.1", + "version": "2.0.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", "license": "MIT",