Skip to content

Releases: AhmedElywa/prisma-tools

v9.0.0 - Prisma 7 Support

04 Feb 11:40

Choose a tag to compare

PalJS v9.0.0

Major release with Prisma 7 support and complete rewrite of the generator.

Breaking Changes

  • Prisma 7 Required: This version requires Prisma 7.x
  • Removed Packages: @paljs/types, @paljs/utils, @paljs/schema have been removed and their functionality inlined
  • New Generator: Complete rewrite as a native Prisma generator
  • Configuration: New paljs.config.ts with defineConfig() helper

New Features

@paljs/generator@9.0.0

  • Native Prisma generator using @prisma/generator-helper
  • Configuration via paljs.config.ts with defineConfig()
  • Generates:
    • DMMF (Prisma schema metadata)
    • TypeScript types for PrismaSelect
    • Nexus GraphQL types, queries, and mutations
    • Client-side .graphql files with fragments
    • Admin UI pages and schema
  • Per-model configuration for exclusions and customization
  • Config file auto-detection in project root

@paljs/nexus@9.0.0

  • Updated for Prisma 7 DMMF format
  • PrismaSelect plugin for typed field selection

@paljs/plugins@9.0.0

  • Typed PrismaSelect for query optimization
  • Prisma 7 compatibility

@paljs/admin@9.0.0

  • React 19 support
  • Tailwind CSS 4
  • @tanstack/react-table v8 (replaced react-table v7)
  • @dnd-kit/sortable (replaced react-beautiful-dnd)
  • Improved TypeScript types

Installation

npm install @paljs/generator @paljs/nexus @paljs/plugins @paljs/admin

Configuration

Create paljs.config.ts in your project root:

import { defineConfig } from '@paljs/generator/config'

export default defineConfig({
  generateGraphQL: {
    nexus: true,
    client: true,
  },
  generateAdmin: true,
})

Add to your Prisma schema:

generator paljs {
  provider = "paljs-generator"
}

Migration Guide

See MIGRATION-v9.md for detailed migration instructions.

Full Changelog

v8.2.1...v9.0.0

PalJS v9.0.0 Beta

29 Jan 16:44

Choose a tag to compare

PalJS v9.0.0 Beta Pre-release
Pre-release

PalJS v9.0.0 Beta

PalJS v9 is a ground-up rewrite of the toolkit, built for Prisma 7 and modern React.

What's New

  • Native Prisma Generator — PalJS now runs as part of prisma generate. No separate CLI, no extra build step. Add generator paljs to your schema and you're done.
  • Typed PrismaSelect — The generator produces a ModelsObject type so PrismaSelect calls are fully typed. No more as any.
  • defineConfig() API — Type-safe configuration via paljs.config.ts with autocomplete and validation.
  • React 19 Admin UI@paljs/admin rebuilt with Tailwind CSS 4, modern React patterns, and shadcn/ui components.
  • Unified Output — All generated code lands in one directory: dmmf/, types/, nexus/, admin/, graphql/.

What's Removed

  • @paljs/cli — Replaced by the native Prisma generator
  • @paljs/create — Use create-next-app and add PalJS packages manually
  • @paljs/display — No longer needed
  • SDL and GraphQL Modules generators — Nexus code-first only

Install

# Generator (dev dependency)
npm install -D @paljs/generator@beta prisma

# Runtime packages
npm install @paljs/plugins@beta @paljs/nexus@beta @paljs/admin@beta

Quick Start

  1. Add to your Prisma schema:
generator paljs {
  provider = "paljs-generator"
  output   = "../generated/paljs"
}
  1. Create paljs.config.ts next to your schema:
import { defineConfig } from '@paljs/generator/config';

export default defineConfig({
  generateGraphQL: true,
  generateTypes: true,
  generateAdmin: { enabled: true, output: './admin', routerType: 'app' },
});
  1. Generate:
npx prisma generate

Migration from v8

See the full Migration Guide for step-by-step instructions.

Published Packages

Package Version
@paljs/generator 9.0.0-beta.2
@paljs/nexus 9.0.0-beta.3
@paljs/plugins 9.0.0-beta.3
@paljs/admin 9.0.0-beta.3
@paljs/types 9.0.0-beta.0
@paljs/utils 9.0.0-beta.0

Feedback

This is a beta release. Please report issues at https://github.com/paljs/prisma-tools/issues with the v9-beta label.

v8.2.1

09 Jul 12:28

Choose a tag to compare

Full Changelog: v8.2.0...v8.2.1

v8.2.0

07 May 09:55

Choose a tag to compare

Full Changelog: v8.0.0...v8.2.0

v8.0.0

14 Dec 15:28

Choose a tag to compare

What's Changed

Full Changelog: v7.1.0...v8.0.0

v7.1.0

11 Nov 20:47

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v7.0.0...v7.1.0

v7.0.0

30 May 17:53

Choose a tag to compare

Major Changes

  • We encourage you to update your applications to utilize the newest features and improvements.

    Key Changes

    • Prisma (5.14): We have upgraded Prisma to version 5.14 to leverage recent Prisma features and improvements.
    • React (18): We have also upgraded React to version 18 to take advantage of the latest React features.
    • ESLint (9): The project now uses ESLint version 9 for an improved and more effective linting process.
    • Admin Taple: We broke changes if you use custom inputs. We updated the way we send react-hool form props by using useContext and useControler

    Breaking Changes

    We had to introduce some breaking changes while making these changes. As such, please exercise caution and test your applications thoroughly after the upgrade.

    Fixes

    We have fixed many issues and are optimizing our package to provide a smoother development experience.


    Please update your applications with these new versions and let us know if you encounter any issues. We always strive to improve our products and appreciate your feedback!

    (Note: Always back up your projects before applying any major updates to avoid unexpected data loss)

    Stay tuned for more updates!

What's Changed

  • Set PNPM as package manager for VS Code by @f8k8 in #327
  • Fix path test for Windows by @f8k8 in #328
  • Fix errors relating to exporting types by @f8k8 in #329
  • Bump graphql from 16.6.0 to 16.8.1 by @dependabot in #315
  • Bump postcss from 8.4.14 to 8.4.31 by @dependabot in #318
  • Update the aggregate resolver return type by @f8k8 in #321

Full Changelog: v6.0.6...v7.0.0

v6.0.6

11 Sep 15:19

Choose a tag to compare

What's Changed

  • Make findMany return a non-nullable array by @f8k8 in #312
  • Bump @apollo/server from 4.5.0 to 4.9.3 by @dependabot in #313

New Contributors

Full Changelog: v6.0.3...v6.0.6

v6.0.3

25 Aug 19:41

Choose a tag to compare

What's Changed

  • Handle extended WhereUnique arguments by @f8k8 in #311

Full Changelog: v6.0.2...v6.0.3

v6.0.2

23 Aug 18:54

Choose a tag to compare

What's Changed

Full Changelog: v6.0.0...v6.0.2