Skip to content

Releases: xtrinch/nestjs-dj-admin

0.1.10

Choose a tag to compare

@xtrinch xtrinch released this 19 Apr 15:04

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

Choose a tag to compare

@xtrinch xtrinch released this 17 Apr 18:41

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

Choose a tag to compare

@xtrinch xtrinch released this 17 Apr 13:05
bffcd96

What's Changed

  • add extension-registered embed pages (for e.g. Grafana) by @xtrinch in #2

Full Changelog: 0.1.6...0.1.7

0.1.6

Choose a tag to compare

@xtrinch xtrinch released this 17 Apr 08:33

What's Changed

New Contributors

Full Changelog: 0.1.4...0.1.6

0.1.4

Choose a tag to compare

@xtrinch xtrinch released this 16 Apr 16:19

What's Changed

  • improved npm/GitHub release automation

Notes

  • No runtime feature changes in this release.
  • This release focuses on packaging and publish reliability.

0.1.0

Choose a tag to compare

@xtrinch xtrinch released this 15 Apr 19:35

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.