Skip to content

Commit

Permalink
Version Packages (#73)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Nov 22, 2023
1 parent dbb5a3e commit 25a7302
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 26 deletions.
5 changes: 0 additions & 5 deletions .changeset/early-suns-tan.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/short-emus-move.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/young-chicken-beam.md

This file was deleted.

22 changes: 22 additions & 0 deletions packages/next-admin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/next-admin/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

2 comments on commit 25a7302

@vercel
Copy link

@vercel vercel bot commented on 25a7302 Nov 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 25a7302 Nov 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

next-admin – ./apps/example

next-admin-po.vercel.app
next-admin-premieroctet.vercel.app
next-admin-git-main-premieroctet.vercel.app

Please sign in to comment.