Releases: xtrinch/nestjs-dj-admin
Releases · xtrinch/nestjs-dj-admin
Release list
0.1.10
What's Changed
Backwards compat
Display dto should now be passed, can be copied from e.g. create dto for existing users.
@AdminResource({
model: User,
list: ['id', 'email', 'role', 'active', 'createdAt'],
search: ['email'],
filters: ['role', 'active'],
readonly: ['createdAt'],
schema: adminSchemaFromClassValidator({
displayDto: CategoryDisplayDto,
}),
})
Full Changelog: 0.1.8...0.1.9
0.1.8
What's Changed
Backwards compatibilty note:
Permissions have changed (for more info see readme). Please use
AdminModule.forRoot({
path: '/admin',
auth: {
authenticate: async ({ email, password }) => {
// ...
return {
id: '1',
email,
permissions: [],
isSuperuser: true, // <---- this is now required
};
},
},
});Full Changelog: 0.1.7...0.1.8
0.1.7
0.1.6
0.1.4
0.1.0
nestjs-dj-admin 0.1.0 is the first public release of a Django-admin-inspired admin library for NestJS. It ships with TypeORM, Prisma, and in-memory adapters; DTO- and schema-driven forms; search, filters, actions, bulk actions, soft delete support, password change flows, audit logging, and a reusable frontend admin UI. class-validator is the primary schema path, with Zod supported as an alternate provider. This release is production-capable for disciplined host apps.