@baseplate-dev/fastify-generators 0.5.1 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/CHANGELOG.md +587 -0
  2. package/dist/constants/fastify-packages.d.ts +5 -5
  3. package/dist/constants/fastify-packages.js +5 -5
  4. package/dist/generators/auth/auth-context/auth-context.generator.d.ts +1 -0
  5. package/dist/generators/auth/auth-context/auth-context.generator.d.ts.map +1 -1
  6. package/dist/generators/auth/auth-context/generated/index.d.ts +3 -0
  7. package/dist/generators/auth/auth-context/generated/index.d.ts.map +1 -1
  8. package/dist/generators/auth/auth-context/generated/template-renderers.d.ts +1 -0
  9. package/dist/generators/auth/auth-context/generated/template-renderers.d.ts.map +1 -1
  10. package/dist/generators/auth/auth-context/generated/typed-templates.d.ts +4 -0
  11. package/dist/generators/auth/auth-context/generated/typed-templates.d.ts.map +1 -1
  12. package/dist/generators/auth/auth-context/templates/module/utils/auth-context.utils.ts +1 -1
  13. package/dist/generators/auth/authorizer-utils-stub/authorizer-utils-stub.generator.d.ts +1 -0
  14. package/dist/generators/auth/authorizer-utils-stub/authorizer-utils-stub.generator.d.ts.map +1 -1
  15. package/dist/generators/auth/authorizer-utils-stub/generated/index.d.ts +2 -0
  16. package/dist/generators/auth/authorizer-utils-stub/generated/index.d.ts.map +1 -1
  17. package/dist/generators/auth/authorizer-utils-stub/generated/template-renderers.d.ts +1 -0
  18. package/dist/generators/auth/authorizer-utils-stub/generated/template-renderers.d.ts.map +1 -1
  19. package/dist/generators/auth/authorizer-utils-stub/generated/typed-templates.d.ts +2 -0
  20. package/dist/generators/auth/authorizer-utils-stub/generated/typed-templates.d.ts.map +1 -1
  21. package/dist/generators/core/app-module/app-module.generator.d.ts.map +1 -1
  22. package/dist/generators/core/app-module/app-module.generator.js.map +1 -1
  23. package/dist/generators/core/axios/axios.generator.d.ts.map +1 -1
  24. package/dist/generators/core/axios/axios.generator.js +6 -1
  25. package/dist/generators/core/axios/axios.generator.js.map +1 -1
  26. package/dist/generators/core/error-handler-service/error-handler-service.generator.d.ts +2 -0
  27. package/dist/generators/core/error-handler-service/error-handler-service.generator.d.ts.map +1 -1
  28. package/dist/generators/core/error-handler-service/generated/index.d.ts +1 -0
  29. package/dist/generators/core/error-handler-service/generated/index.d.ts.map +1 -1
  30. package/dist/generators/core/error-handler-service/generated/ts-import-providers.d.ts +3 -0
  31. package/dist/generators/core/error-handler-service/generated/ts-import-providers.d.ts.map +1 -1
  32. package/dist/generators/core/error-handler-service/generated/ts-import-providers.js +2 -0
  33. package/dist/generators/core/error-handler-service/generated/ts-import-providers.js.map +1 -1
  34. package/dist/generators/core/error-handler-service/generated/typed-templates.d.ts.map +1 -1
  35. package/dist/generators/core/error-handler-service/generated/typed-templates.js +1 -0
  36. package/dist/generators/core/error-handler-service/generated/typed-templates.js.map +1 -1
  37. package/dist/generators/core/error-handler-service/templates/src/plugins/error-handler.ts +5 -0
  38. package/dist/generators/core/error-handler-service/templates/src/utils/http-errors.ts +16 -0
  39. package/dist/generators/core/fastify/fastify.generator.d.ts +0 -5
  40. package/dist/generators/core/fastify/fastify.generator.d.ts.map +1 -1
  41. package/dist/generators/core/fastify/fastify.generator.js +2 -5
  42. package/dist/generators/core/fastify/fastify.generator.js.map +1 -1
  43. package/dist/generators/core/fastify-graceful-shutdown/fastify-graceful-shutdown.generator.d.ts +1 -0
  44. package/dist/generators/core/fastify-graceful-shutdown/fastify-graceful-shutdown.generator.d.ts.map +1 -1
  45. package/dist/generators/core/fastify-graceful-shutdown/generated/index.d.ts +2 -0
  46. package/dist/generators/core/fastify-graceful-shutdown/generated/index.d.ts.map +1 -1
  47. package/dist/generators/core/fastify-graceful-shutdown/generated/template-renderers.d.ts +1 -0
  48. package/dist/generators/core/fastify-graceful-shutdown/generated/template-renderers.d.ts.map +1 -1
  49. package/dist/generators/core/fastify-graceful-shutdown/generated/typed-templates.d.ts +1 -0
  50. package/dist/generators/core/fastify-graceful-shutdown/generated/typed-templates.d.ts.map +1 -1
  51. package/dist/generators/core/fastify-sentry/fastify-sentry.generator.d.ts +1 -0
  52. package/dist/generators/core/fastify-sentry/fastify-sentry.generator.d.ts.map +1 -1
  53. package/dist/generators/core/fastify-sentry/generated/index.d.ts +2 -0
  54. package/dist/generators/core/fastify-sentry/generated/index.d.ts.map +1 -1
  55. package/dist/generators/core/fastify-sentry/generated/template-renderers.d.ts +1 -0
  56. package/dist/generators/core/fastify-sentry/generated/template-renderers.d.ts.map +1 -1
  57. package/dist/generators/core/fastify-sentry/generated/typed-templates.d.ts +1 -0
  58. package/dist/generators/core/fastify-sentry/generated/typed-templates.d.ts.map +1 -1
  59. package/dist/generators/core/logger-service/logger-service.generator.js +4 -3
  60. package/dist/generators/core/logger-service/logger-service.generator.js.map +1 -1
  61. package/dist/generators/core/service-file/service-file.generator.js +2 -2
  62. package/dist/generators/core/service-file/service-file.generator.js.map +1 -1
  63. package/dist/generators/prisma/_shared/crud-method/primary-key-input.js +2 -2
  64. package/dist/generators/prisma/_shared/crud-method/primary-key-input.js.map +1 -1
  65. package/dist/generators/prisma/data-utils/data-utils.generator.d.ts +1 -0
  66. package/dist/generators/prisma/data-utils/data-utils.generator.d.ts.map +1 -1
  67. package/dist/generators/prisma/data-utils/generated/index.d.ts +2 -0
  68. package/dist/generators/prisma/data-utils/generated/index.d.ts.map +1 -1
  69. package/dist/generators/prisma/data-utils/generated/template-renderers.d.ts +1 -0
  70. package/dist/generators/prisma/data-utils/generated/template-renderers.d.ts.map +1 -1
  71. package/dist/generators/prisma/data-utils/generated/typed-templates.d.ts +2 -0
  72. package/dist/generators/prisma/data-utils/generated/typed-templates.d.ts.map +1 -1
  73. package/dist/generators/prisma/data-utils/templates/src/utils/data-operations/field-definitions.ts +9 -41
  74. package/dist/generators/prisma/index.d.ts +1 -0
  75. package/dist/generators/prisma/index.d.ts.map +1 -1
  76. package/dist/generators/prisma/index.js +1 -0
  77. package/dist/generators/prisma/index.js.map +1 -1
  78. package/dist/generators/prisma/prisma-authorizer-utils/generated/index.d.ts +2 -0
  79. package/dist/generators/prisma/prisma-authorizer-utils/generated/index.d.ts.map +1 -1
  80. package/dist/generators/prisma/prisma-authorizer-utils/generated/template-renderers.d.ts +1 -0
  81. package/dist/generators/prisma/prisma-authorizer-utils/generated/template-renderers.d.ts.map +1 -1
  82. package/dist/generators/prisma/prisma-authorizer-utils/generated/typed-templates.d.ts +2 -0
  83. package/dist/generators/prisma/prisma-authorizer-utils/generated/typed-templates.d.ts.map +1 -1
  84. package/dist/generators/prisma/prisma-authorizer-utils/prisma-authorizer-utils.generator.d.ts +1 -0
  85. package/dist/generators/prisma/prisma-authorizer-utils/prisma-authorizer-utils.generator.d.ts.map +1 -1
  86. package/dist/generators/prisma/prisma-model-authorizer/index.d.ts +2 -0
  87. package/dist/generators/prisma/prisma-model-authorizer/index.d.ts.map +1 -0
  88. package/dist/generators/prisma/prisma-model-authorizer/index.js +2 -0
  89. package/dist/generators/prisma/prisma-model-authorizer/index.js.map +1 -0
  90. package/dist/generators/prisma/prisma-model-authorizer/prisma-model-authorizer.generator.d.ts +54 -0
  91. package/dist/generators/prisma/prisma-model-authorizer/prisma-model-authorizer.generator.d.ts.map +1 -0
  92. package/dist/generators/prisma/prisma-model-authorizer/prisma-model-authorizer.generator.js +96 -0
  93. package/dist/generators/prisma/prisma-model-authorizer/prisma-model-authorizer.generator.js.map +1 -0
  94. package/dist/generators/stripe/fastify-stripe/fastify-stripe.generator.d.ts +1 -0
  95. package/dist/generators/stripe/fastify-stripe/fastify-stripe.generator.d.ts.map +1 -1
  96. package/dist/generators/stripe/fastify-stripe/generated/index.d.ts +2 -0
  97. package/dist/generators/stripe/fastify-stripe/generated/index.d.ts.map +1 -1
  98. package/dist/generators/stripe/fastify-stripe/generated/template-renderers.d.ts +1 -0
  99. package/dist/generators/stripe/fastify-stripe/generated/template-renderers.d.ts.map +1 -1
  100. package/dist/generators/stripe/fastify-stripe/generated/typed-templates.d.ts +2 -0
  101. package/dist/generators/stripe/fastify-stripe/generated/typed-templates.d.ts.map +1 -1
  102. package/dist/generators/yoga/yoga-plugin/generated/index.d.ts +4 -0
  103. package/dist/generators/yoga/yoga-plugin/generated/index.d.ts.map +1 -1
  104. package/dist/generators/yoga/yoga-plugin/generated/template-renderers.d.ts +1 -0
  105. package/dist/generators/yoga/yoga-plugin/generated/template-renderers.d.ts.map +1 -1
  106. package/dist/generators/yoga/yoga-plugin/generated/typed-templates.d.ts +4 -0
  107. package/dist/generators/yoga/yoga-plugin/generated/typed-templates.d.ts.map +1 -1
  108. package/dist/generators/yoga/yoga-plugin/yoga-plugin.generator.d.ts +2 -0
  109. package/dist/generators/yoga/yoga-plugin/yoga-plugin.generator.d.ts.map +1 -1
  110. package/dist/generators/yoga/yoga-plugin/yoga-plugin.generator.js.map +1 -1
  111. package/dist/types/service-output.d.ts.map +1 -1
  112. package/dist/types/service-output.js.map +1 -1
  113. package/dist/writers/pothos/scalars.d.ts.map +1 -1
  114. package/dist/writers/pothos/scalars.js.map +1 -1
  115. package/dist/writers/prisma-schema/model-writer.js +2 -2
  116. package/dist/writers/prisma-schema/model-writer.js.map +1 -1
  117. package/package.json +10 -10
package/CHANGELOG.md ADDED
@@ -0,0 +1,587 @@
1
+ # @baseplate-dev/fastify-generators
2
+
3
+ ## 0.5.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`cb2446e`](https://github.com/halfdomelabs/baseplate/commit/cb2446e235794bf5d45a1671ae320ccce12eb504), [`6c190fe`](https://github.com/halfdomelabs/baseplate/commit/6c190fe50240f0ddc984af757b7900d053433bb1), [`254d675`](https://github.com/halfdomelabs/baseplate/commit/254d675079930e5b569bf1c0c4576f1459d23a03), [`9129381`](https://github.com/halfdomelabs/baseplate/commit/9129381e17504136837d07deb9958708791da43e)]:
8
+ - @baseplate-dev/core-generators@0.5.3
9
+ - @baseplate-dev/sync@0.5.3
10
+ - @baseplate-dev/utils@0.5.3
11
+
12
+ ## 0.5.2
13
+
14
+ ### Patch Changes
15
+
16
+ - [#753](https://github.com/halfdomelabs/baseplate/pull/753) [`ef1354d`](https://github.com/halfdomelabs/baseplate/commit/ef1354da11e2c48a80af03f44834555ce63a2948) Thanks [@kingston](https://github.com/kingston)! - Add prisma-model-authorizer generator that produces model authorizer files from authorizer role configuration
17
+ - New `prisma/prisma-model-authorizer` generator in fastify-generators
18
+ - Expression codegen utility to transform DSL expressions to TypeScript code
19
+ - Compiler wiring to instantiate generator per model with authorizer roles
20
+
21
+ - [#749](https://github.com/halfdomelabs/baseplate/pull/749) [`683eb15`](https://github.com/halfdomelabs/baseplate/commit/683eb15c2c37259266959e0760b419e07f70a27e) Thanks [@kingston](https://github.com/kingston)! - Add rate limiting plugin for Baseplate projects
22
+
23
+ This release introduces a new rate limiting plugin that provides:
24
+ - **Rate Limiting Service**: `createRateLimiter` and `memoizeRateLimiter` functions for flexible rate limiting
25
+ - **Prisma/PostgreSQL Backend**: Uses `rate-limiter-flexible` with Prisma storage
26
+ - **TooManyRequestsError**: New HTTP error class with `Retry-After` header support in error-handler-service
27
+ - **Model Merger**: Automatically creates the `RateLimiterFlexible` model via the project builder UI
28
+ - **Type-Safe API**: Full TypeScript support for rate limiter configuration and results
29
+
30
+ The auth plugin now supports rate limiting for login attempts via the rate-limit plugin integration.
31
+
32
+ - [#760](https://github.com/halfdomelabs/baseplate/pull/760) [`938a7b1`](https://github.com/halfdomelabs/baseplate/commit/938a7b113550a7a245b65b5dfe3cc641f11096b7) Thanks [@kingston](https://github.com/kingston)! - Simplify scalarField helper by removing unused transform option
33
+
34
+ - [#755](https://github.com/halfdomelabs/baseplate/pull/755) [`02740a6`](https://github.com/halfdomelabs/baseplate/commit/02740a6e230c7fbf28fc768543353e847671c51b) Thanks [@kingston](https://github.com/kingston)! - Upgrade linting packages
35
+
36
+ **Major version bumps:**
37
+ - eslint: 9.32.0 → 9.39.2
38
+ - @eslint/js: 9.32.0 → 9.39.2
39
+ - eslint-plugin-perfectionist: 4.15.0 → 5.4.0
40
+ - eslint-plugin-react-hooks: 5.2.0 → 7.0.1
41
+ - eslint-plugin-unicorn: 60.0.0 → 62.0.0
42
+ - globals: 16.4.0 → 17.3.0
43
+ - prettier-plugin-packagejson: 2.5.19 → 3.0.0
44
+ - storybook: 10.1.10 → 10.2.8
45
+
46
+ **Minor/patch bumps:**
47
+ - @vitest/eslint-plugin: 1.3.4 → 1.6.6 (tools), 1.6.5 → 1.6.6 (core-generators)
48
+ - eslint-plugin-storybook: 10.1.10 → 10.2.3
49
+ - prettier-plugin-tailwindcss: 0.6.14 → 0.7.2
50
+ - typescript-eslint: 8.38.0 → 8.54.0
51
+ - @types/eslint-plugin-jsx-a11y: 6.10.0 → 6.10.1
52
+
53
+ **Config changes:**
54
+ - Updated eslint-plugin-react-hooks v7 API: `configs['recommended-latest']` → `configs.flat['recommended-latest']`
55
+ - Disabled new strict rules from react-hooks v7 (refs, set-state-in-effect, preserve-manual-memoization, incompatible-library)
56
+
57
+ - [#756](https://github.com/halfdomelabs/baseplate/pull/756) [`dd40bcd`](https://github.com/halfdomelabs/baseplate/commit/dd40bcd219c79f0cd7b66c0427c77deda0664072) Thanks [@kingston](https://github.com/kingston)! - Upgrade packages to fix security vulnerabilities and update to latest versions
58
+
59
+ **Security fixes:**
60
+ - @modelcontextprotocol/sdk: 1.25.1 → 1.26.0 (fixes CVE-2026-25536 - cross-client data leak)
61
+ - fastify: 5.6.2 → 5.7.4 (security patches)
62
+ - diff: 8.0.2 → 8.0.3 (fixes CVE-2026-24001 - DoS vulnerability)
63
+ - testcontainers: 11.10.0 → 11.11.0 (fixes undici vulnerability)
64
+
65
+ **Package updates (monorepo):**
66
+ - @tailwindcss/vite: 4.1.13 → 4.1.18
67
+ - tailwindcss: 4.1.13 → 4.1.18
68
+ - @tanstack/react-router: 1.139.7 → 1.159.5
69
+ - @tanstack/router-plugin: 1.139.7 → 1.159.5
70
+ - @testing-library/jest-dom: 6.6.3 → 6.9.1
71
+ - concurrently: 9.0.1 → 9.2.1
72
+ - ts-morph: 26.0.0 → 27.0.2
73
+
74
+ **Package updates (generated projects):**
75
+ - prisma/@prisma/client/@prisma/adapter-pg: 7.2.0 → 7.4.0
76
+ - postmark: 4.0.2 → 4.0.5
77
+ - axios: 1.12.0 → 1.13.5
78
+
79
+ - Updated dependencies [[`02740a6`](https://github.com/halfdomelabs/baseplate/commit/02740a6e230c7fbf28fc768543353e847671c51b), [`dd40bcd`](https://github.com/halfdomelabs/baseplate/commit/dd40bcd219c79f0cd7b66c0427c77deda0664072), [`7d1a9d6`](https://github.com/halfdomelabs/baseplate/commit/7d1a9d6d381279434f2ac632e9f8accde34dda25), [`63bd074`](https://github.com/halfdomelabs/baseplate/commit/63bd074b3b24b0978d4271a5bc76a8531b0f60c2)]:
80
+ - @baseplate-dev/core-generators@0.5.2
81
+ - @baseplate-dev/sync@0.5.2
82
+ - @baseplate-dev/utils@0.5.2
83
+
84
+ ## 0.5.1
85
+
86
+ ### Patch Changes
87
+
88
+ - [#740](https://github.com/halfdomelabs/baseplate/pull/740) [`2de5d5c`](https://github.com/halfdomelabs/baseplate/commit/2de5d5c43c5354571d50707a99b4028ff8792534) Thanks [@kingston](https://github.com/kingston)! - Add email plugin with Postmark implementation for queue-based email delivery
89
+ - Add `@baseplate-dev/plugin-email/transactional-lib` library type for generating transactional email libraries
90
+ - Include reusable email components (Button, Heading, Text, Link, Divider, Section, Layout)
91
+
92
+ - [#741](https://github.com/halfdomelabs/baseplate/pull/741) [`ecebd3b`](https://github.com/halfdomelabs/baseplate/commit/ecebd3bf50cfa2d2a62501e0be39c411b42bed25) Thanks [@kingston](https://github.com/kingston)! - Fix duplicate identifier bug in generated nested field buildData functions
93
+ - Split `buildData` into separate `buildCreateData` and `buildUpdateData` functions
94
+ - Each function now has its own scope, avoiding duplicate identifier errors when FK fields are destructured
95
+ - Use `Promise.all` for parallel execution of buildCreateData and buildUpdateData
96
+
97
+ - [#739](https://github.com/halfdomelabs/baseplate/pull/739) [`ff4203e`](https://github.com/halfdomelabs/baseplate/commit/ff4203e45a057b25a0ded5ecb3e1c07f5c7108b4) Thanks [@kingston](https://github.com/kingston)! - Fix stale data bug in data operations when afterExecute/afterCommit hooks modify related records
98
+ - Add conditional re-fetch after hooks complete when query includes relations
99
+ - Add required `getWhereUnique` to `CreateOperationConfig` for ID extraction
100
+ - Extend `findUnique` in `GenericPrismaDelegate` to accept optional `include`
101
+
102
+ - Updated dependencies []:
103
+ - @baseplate-dev/core-generators@0.5.1
104
+ - @baseplate-dev/sync@0.5.1
105
+ - @baseplate-dev/utils@0.5.1
106
+
107
+ ## 0.5.0
108
+
109
+ ### Patch Changes
110
+
111
+ - [#732](https://github.com/halfdomelabs/baseplate/pull/732) [`fbabdec`](https://github.com/halfdomelabs/baseplate/commit/fbabdecf6715c21799d1c224b3a2162ef1f49797) Thanks [@kingston](https://github.com/kingston)! - Remove root: 'src/' from vitest.config.ts
112
+
113
+ - [#736](https://github.com/halfdomelabs/baseplate/pull/736) [`d09175d`](https://github.com/halfdomelabs/baseplate/commit/d09175dc41d33fb0a818d53c2e2da899430a48cd) Thanks [@kingston](https://github.com/kingston)! - Move scripts directory from `scripts/` to `src/scripts/` for fastify-generated projects, allowing TypeScript files to compile alongside the rest of the app and use `@src/` imports
114
+
115
+ - Updated dependencies [[`fbabdec`](https://github.com/halfdomelabs/baseplate/commit/fbabdecf6715c21799d1c224b3a2162ef1f49797), [`9b31726`](https://github.com/halfdomelabs/baseplate/commit/9b31726ee0dce77dc7b16fa334eb597d86349599), [`97bd14e`](https://github.com/halfdomelabs/baseplate/commit/97bd14e381206b54e55c22264d1d406e83146146), [`c7d373e`](https://github.com/halfdomelabs/baseplate/commit/c7d373ebaaeda2522515fdaeae0d37d0cd9ce7fe), [`2d5abd5`](https://github.com/halfdomelabs/baseplate/commit/2d5abd53fccfc2b15f8142fc796c5e4ea4c2f92a), [`8bfc742`](https://github.com/halfdomelabs/baseplate/commit/8bfc742b8a93393a5539babfd11b97a88ee9c39e)]:
116
+ - @baseplate-dev/core-generators@0.5.0
117
+ - @baseplate-dev/sync@0.5.0
118
+ - @baseplate-dev/utils@0.5.0
119
+
120
+ ## 0.4.4
121
+
122
+ ### Patch Changes
123
+
124
+ - [#726](https://github.com/halfdomelabs/baseplate/pull/726) [`ec2f1e9`](https://github.com/halfdomelabs/baseplate/commit/ec2f1e9716e84cd4a901c071eacf4971436962d9) Thanks [@kingston](https://github.com/kingston)! - Fix handling of Prisma scalar fields without options
125
+
126
+ - Updated dependencies []:
127
+ - @baseplate-dev/core-generators@0.4.4
128
+ - @baseplate-dev/sync@0.4.4
129
+ - @baseplate-dev/utils@0.4.4
130
+
131
+ ## 0.4.3
132
+
133
+ ### Patch Changes
134
+
135
+ - [#720](https://github.com/halfdomelabs/baseplate/pull/720) [`12d1e62`](https://github.com/halfdomelabs/baseplate/commit/12d1e625bc04256eeb2704faa3f36dfda00545f9) Thanks [@kingston](https://github.com/kingston)! - Use block syntax instead of arrow function implicit returns in generated data operation callbacks for better error diagnostics
136
+
137
+ - [#718](https://github.com/halfdomelabs/baseplate/pull/718) [`6e23a6f`](https://github.com/halfdomelabs/baseplate/commit/6e23a6f2ff99954eebcb78b450d0c18618aa0b54) Thanks [@kingston](https://github.com/kingston)! - Fix nestedOneToOneField to not error when setting to null on non-existent relation
138
+
139
+ Previously, setting a nested one-to-one field to `null` would throw an error if the related record didn't exist, because Prisma's `delete: true` syntax requires the record to exist. Now the deletion is performed via an `afterExecute` hook using `deleteMany`, which is idempotent and won't error if no record exists.
140
+
141
+ - [#719](https://github.com/halfdomelabs/baseplate/pull/719) [`f1bab33`](https://github.com/halfdomelabs/baseplate/commit/f1bab3310fa8c00c645a6d9aca0a6a757cb661f1) Thanks [@kingston](https://github.com/kingston)! - Refactor authorization system to use ABAC pattern with string-based roles
142
+ - Add `authorizerCache` and `authorizerModelCache` fields to ServiceContext via the `authorizer-utils` generator for caching authorization decisions
143
+ - Remove `AuthRole` type and `extractRoles` config from pothos-auth generator as authorization now uses string-based roles with instance role functions
144
+ - Add new authorizer utilities including `checkGlobalAuthorization`, `checkInstanceAuthorization`, and `createModelAuthorizer` for flexible authorization patterns
145
+
146
+ - [#717](https://github.com/halfdomelabs/baseplate/pull/717) [`83e4e7f`](https://github.com/halfdomelabs/baseplate/commit/83e4e7f60adf67480cebb4ff419c015ff282010d) Thanks [@kingston](https://github.com/kingston)! - Add support for generating vitest on web apps
147
+
148
+ - [#722](https://github.com/halfdomelabs/baseplate/pull/722) [`8622c4e`](https://github.com/halfdomelabs/baseplate/commit/8622c4e2b91788ad4a368c9f06f82a17ee1a29ed) Thanks [@kingston](https://github.com/kingston)! - Add support for generating files in package.json
149
+
150
+ - Updated dependencies [[`83e4e7f`](https://github.com/halfdomelabs/baseplate/commit/83e4e7f60adf67480cebb4ff419c015ff282010d), [`8622c4e`](https://github.com/halfdomelabs/baseplate/commit/8622c4e2b91788ad4a368c9f06f82a17ee1a29ed)]:
151
+ - @baseplate-dev/core-generators@0.4.3
152
+ - @baseplate-dev/sync@0.4.3
153
+ - @baseplate-dev/utils@0.4.3
154
+
155
+ ## 0.4.2
156
+
157
+ ### Patch Changes
158
+
159
+ - [#711](https://github.com/halfdomelabs/baseplate/pull/711) [`bde61e3`](https://github.com/halfdomelabs/baseplate/commit/bde61e3e5dfc4d6d19c0d2a71491de4605cd2c20) Thanks [@kingston](https://github.com/kingston)! - Add BullMQ plugin as managed child of queue plugin
160
+ - Create new BullMQ plugin (`@baseplate-dev/plugin-queue/bullmq`) following the pg-boss plugin pattern
161
+ - Add migration (021) to migrate `enableBullQueue` from backend app config to queue/bullmq plugin config
162
+ - Remove old `bullMqGenerator` and `fastifyBullBoardGenerator` from fastify-generators
163
+ - Remove Bull Board integration (to be replaced with local alternative in the future)
164
+ - Remove `enableBullQueue` option from backend app schema and UI
165
+
166
+ - [#701](https://github.com/halfdomelabs/baseplate/pull/701) [`e8576b9`](https://github.com/halfdomelabs/baseplate/commit/e8576b9ba5912acf9d81bcc1b18a0fbc8df91220) Thanks [@kingston](https://github.com/kingston)! - Upgrade Fastify to 5.6.2 and fastify-plugin to 5.1.0
167
+
168
+ - [#701](https://github.com/halfdomelabs/baseplate/pull/701) [`e8576b9`](https://github.com/halfdomelabs/baseplate/commit/e8576b9ba5912acf9d81bcc1b18a0fbc8df91220) Thanks [@kingston](https://github.com/kingston)! - Upgrade to Zod v4
169
+
170
+ - [#700](https://github.com/halfdomelabs/baseplate/pull/700) [`5d4ae05`](https://github.com/halfdomelabs/baseplate/commit/5d4ae05b1781100ee21c5a60784f0107014bade4) Thanks [@kingston](https://github.com/kingston)! - Pass service context to create/update/delete operations in data operations
171
+
172
+ - [#697](https://github.com/halfdomelabs/baseplate/pull/697) [`11fa86f`](https://github.com/halfdomelabs/baseplate/commit/11fa86fb8e7a209175f132b1b3d59cd24cf13d54) Thanks [@kingston](https://github.com/kingston)! - Ignore \*.map files from built output in package.json
173
+
174
+ - [#713](https://github.com/halfdomelabs/baseplate/pull/713) [`74529e7`](https://github.com/halfdomelabs/baseplate/commit/74529e7fffae8a70f8cfe801a1897204d010e291) Thanks [@kingston](https://github.com/kingston)! - Migrate Vitest global setup from single merged file to individual files per generator
175
+ - Replace `globalSetupOperations` Map with `globalSetupFiles` array in vitest config provider
176
+ - Vitest generator now always renders `global-setup-env.ts` for environment loading
177
+ - Each generator (Redis, Prisma) now creates its own global setup file
178
+ - Vitest config outputs `globalSetup` as an array with env file first, then sorted additional files
179
+
180
+ - [#714](https://github.com/halfdomelabs/baseplate/pull/714) [`2395821`](https://github.com/halfdomelabs/baseplate/commit/239582148fe92d80457a31021036fa1e2c51cf5d) Thanks [@kingston](https://github.com/kingston)! - Fix handling of data operations with falsy update values
181
+
182
+ - [#710](https://github.com/halfdomelabs/baseplate/pull/710) [`e426b52`](https://github.com/halfdomelabs/baseplate/commit/e426b52d37f04f71ca960eb4cad2246af0603bd3) Thanks [@kingston](https://github.com/kingston)! - Upgrade Prisma to v7
183
+ - prisma: 6.17.1 → 7.2.0
184
+ - @prisma/client: 6.17.1 → 7.2.0
185
+ - @prisma/adapter-pg: 6.17.1 → 7.2.0
186
+ - @pothos/plugin-prisma: 4.12.0 → 4.14.1
187
+
188
+ - Updated dependencies [[`795ee4c`](https://github.com/halfdomelabs/baseplate/commit/795ee4c18e7b393fb9247ced23a12de5e219ab15), [`e8576b9`](https://github.com/halfdomelabs/baseplate/commit/e8576b9ba5912acf9d81bcc1b18a0fbc8df91220), [`11fa86f`](https://github.com/halfdomelabs/baseplate/commit/11fa86fb8e7a209175f132b1b3d59cd24cf13d54), [`74529e7`](https://github.com/halfdomelabs/baseplate/commit/74529e7fffae8a70f8cfe801a1897204d010e291), [`4be6c7d`](https://github.com/halfdomelabs/baseplate/commit/4be6c7dc7d900c37585b93cf5bb7198de6a41f1f), [`4be6c7d`](https://github.com/halfdomelabs/baseplate/commit/4be6c7dc7d900c37585b93cf5bb7198de6a41f1f)]:
189
+ - @baseplate-dev/sync@0.4.2
190
+ - @baseplate-dev/core-generators@0.4.2
191
+ - @baseplate-dev/utils@0.4.2
192
+
193
+ ## 0.4.1
194
+
195
+ ### Patch Changes
196
+
197
+ - Updated dependencies []:
198
+ - @baseplate-dev/core-generators@0.4.1
199
+ - @baseplate-dev/sync@0.4.1
200
+ - @baseplate-dev/utils@0.4.1
201
+
202
+ ## 0.4.0
203
+
204
+ ### Minor Changes
205
+
206
+ - [#692](https://github.com/halfdomelabs/baseplate/pull/692) [`c3c2a00`](https://github.com/halfdomelabs/baseplate/commit/c3c2a001d57a21f76e064af55941a43bedf26f18) Thanks [@kingston](https://github.com/kingston)! - Replace imperative CRUD service pattern with declarative, type-safe data operations architecture
207
+
208
+ ## Overview
209
+
210
+ This change migrates from manually-written imperative CRUD functions to a declarative, type-safe data operations system featuring composable field definitions and automatic type inference. This represents a fundamental architectural improvement in how Baseplate generates data access code.
211
+
212
+ ## Key Changes
213
+
214
+ ### Architecture Shift
215
+
216
+ **Before**: Manual, imperative functions with explicit Prisma calls and complex data transformations
217
+
218
+ ```typescript
219
+ // 250+ lines of manual data handling
220
+ export async function createUser({ data, query, context }) {
221
+ const { roles, customer, userProfile, images, ...rest } = data;
222
+
223
+ const customerOutput = await createOneToOneCreateData({ input: customer });
224
+ const imagesOutput = await createOneToManyCreateData({
225
+ /* complex config */
226
+ });
227
+ // ... more manual transformations
228
+
229
+ return applyDataPipeOutput(
230
+ [rolesOutput, customerOutput, userProfileOutput, imagesOutput],
231
+ prisma.user.create({
232
+ /* manually built data object */
233
+ }),
234
+ );
235
+ }
236
+ ```
237
+
238
+ **After**: Declarative operations with composable field definitions
239
+
240
+ ```typescript
241
+ // ~100 lines with clear separation of concerns
242
+ export const createUser = defineCreateOperation({
243
+ model: 'user',
244
+ fields: userInputFields,
245
+ create: ({ tx, data, query }) =>
246
+ tx.user.create({
247
+ data,
248
+ ...query,
249
+ }),
250
+ });
251
+ ```
252
+
253
+ ### Composable Field Definitions
254
+
255
+ Field definitions are now centralized, reusable components:
256
+
257
+ ```typescript
258
+ export const userInputFields = {
259
+ name: scalarField(z.string().nullish()),
260
+ email: scalarField(z.string()),
261
+ customer: nestedOneToOneField({
262
+ buildData: (data) => data,
263
+ fields: { stripeCustomerId: scalarField(z.string()) },
264
+ getWhereUnique: (parentModel) => ({ id: parentModel.id }),
265
+ model: 'customer',
266
+ parentModel,
267
+ relationName: 'user',
268
+ }),
269
+ images: nestedOneToManyField({
270
+ buildData: (data) => data,
271
+ fields: pick(userImageInputFields, ['id', 'caption', 'file']),
272
+ getWhereUnique: (input) => (input.id ? { id: input.id } : undefined),
273
+ model: 'userImage',
274
+ parentModel,
275
+ relationName: 'user',
276
+ }),
277
+ };
278
+ ```
279
+
280
+ ## Breaking Changes
281
+ - **File naming**: Services now use `*-data-service.ts` instead of `*-crud.ts`
282
+ - **Import paths**: New utilities from `@src/utils/data-operations/`
283
+ - **Service signatures**: Remain compatible - same inputs and outputs
284
+
285
+ - [#680](https://github.com/halfdomelabs/baseplate/pull/680) [`ac912b3`](https://github.com/halfdomelabs/baseplate/commit/ac912b384559f48c3603976d070eb54c9f20fb9b) Thanks [@kingston](https://github.com/kingston)! - Switch backend to ESM instead of CommonJS. This may break some packages but
286
+ most packages at this point are now ESM compatible.
287
+
288
+ ### Patch Changes
289
+
290
+ - [#693](https://github.com/halfdomelabs/baseplate/pull/693) [`e79df28`](https://github.com/halfdomelabs/baseplate/commit/e79df28eb7ab0275da2f630edcb1243bee40b7a5) Thanks [@kingston](https://github.com/kingston)! - Use Zod schema defined in mutations instead of restrictObjectNulls to allow for cleaner mutations and validation
291
+
292
+ - [#676](https://github.com/halfdomelabs/baseplate/pull/676) [`e68624e`](https://github.com/halfdomelabs/baseplate/commit/e68624e9372480da767d220cae60d45d9ed3c636) Thanks [@kingston](https://github.com/kingston)! - Allow prisma.config.mts to gracefully handle missing .env files by checking file existence before calling loadEnvFile(), enabling pnpm prisma generate to run successfully in environments without .env files
293
+
294
+ - [#677](https://github.com/halfdomelabs/baseplate/pull/677) [`6daff18`](https://github.com/halfdomelabs/baseplate/commit/6daff18a033d2d78746984edebba4d8c6fe957a5) Thanks [@kingston](https://github.com/kingston)! - Upgrade Prisma to 6.17.1 and adopt the new Prisma generator architecture:
295
+ - Updated to Prisma 6.17.1 for improved performance and features
296
+ - Migrated Prisma generated client location from `node_modules/.prisma/client` to `@src/generated/prisma/client.js` for better control and type safety
297
+
298
+ - [#680](https://github.com/halfdomelabs/baseplate/pull/680) [`ac912b3`](https://github.com/halfdomelabs/baseplate/commit/ac912b384559f48c3603976d070eb54c9f20fb9b) Thanks [@kingston](https://github.com/kingston)! - Upgrade TSX to 4.20.6
299
+
300
+ - [#673](https://github.com/halfdomelabs/baseplate/pull/673) [`852c3a5`](https://github.com/halfdomelabs/baseplate/commit/852c3a5ff3a185e60efaeb2cbb90eed59a95ec2b) Thanks [@kingston](https://github.com/kingston)! - Replace custom Date/DateTime/UUID scalars with graphql-scalars package and add JSON/JSONObject scalar support
301
+
302
+ This change migrates from custom scalar implementations to the well-maintained graphql-scalars package, providing:
303
+ - **Reduced maintenance burden**: No custom scalar code to maintain
304
+ - **Battle-tested implementations**: Comprehensive edge case handling from widely-used library
305
+ - **Standards compliance**: RFC 3339 compliant Date/DateTime handling
306
+ - **Better error messages**: Detailed validation error messages out of the box
307
+ - **Additional scalars**: JSON and JSONObject scalars now available
308
+
309
+ **Breaking Changes:**
310
+ - Date scalar now uses RFC 3339 format (stricter than previous YYYY-MM-DD regex)
311
+ - DateTime scalar automatically shifts non-UTC timezones to UTC
312
+ - UUID scalar has more comprehensive validation
313
+
314
+ **New Features:**
315
+ - JSON scalar for any valid JSON value (objects, arrays, primitives, null)
316
+ - JSONObject scalar for JSON objects only (rejects arrays and primitives)
317
+
318
+ **Dependencies:**
319
+ - Added graphql-scalars@1.23.0 to generated backend packages
320
+
321
+ - [#692](https://github.com/halfdomelabs/baseplate/pull/692) [`c3c2a00`](https://github.com/halfdomelabs/baseplate/commit/c3c2a001d57a21f76e064af55941a43bedf26f18) Thanks [@kingston](https://github.com/kingston)! - Remove support for password transformer since it is no longer used.
322
+
323
+ - [#680](https://github.com/halfdomelabs/baseplate/pull/680) [`ac912b3`](https://github.com/halfdomelabs/baseplate/commit/ac912b384559f48c3603976d070eb54c9f20fb9b) Thanks [@kingston](https://github.com/kingston)! - Upgrade ioredis to 5.8.1 and ioredis-mock to 8.13.0-
324
+
325
+ - [#693](https://github.com/halfdomelabs/baseplate/pull/693) [`e79df28`](https://github.com/halfdomelabs/baseplate/commit/e79df28eb7ab0275da2f630edcb1243bee40b7a5) Thanks [@kingston](https://github.com/kingston)! - Add support for validation plugin in Pothos
326
+
327
+ - Updated dependencies [[`839cbdf`](https://github.com/halfdomelabs/baseplate/commit/839cbdfc6ddc059aa86d24bf6ec5d8e95cce9042), [`c3c2a00`](https://github.com/halfdomelabs/baseplate/commit/c3c2a001d57a21f76e064af55941a43bedf26f18), [`c3c2a00`](https://github.com/halfdomelabs/baseplate/commit/c3c2a001d57a21f76e064af55941a43bedf26f18), [`6daff18`](https://github.com/halfdomelabs/baseplate/commit/6daff18a033d2d78746984edebba4d8c6fe957a5)]:
328
+ - @baseplate-dev/sync@0.4.0
329
+ - @baseplate-dev/core-generators@0.4.0
330
+ - @baseplate-dev/utils@0.4.0
331
+
332
+ ## 0.3.8
333
+
334
+ ### Patch Changes
335
+
336
+ - [#671](https://github.com/halfdomelabs/baseplate/pull/671) [`fc93dd7`](https://github.com/halfdomelabs/baseplate/commit/fc93dd70c182ac99d1f025745d88a32d6de733f5) Thanks [@kingston](https://github.com/kingston)! - Upgrade Prisma to 6.16.2
337
+
338
+ - Updated dependencies []:
339
+ - @baseplate-dev/core-generators@0.3.8
340
+ - @baseplate-dev/sync@0.3.8
341
+ - @baseplate-dev/utils@0.3.8
342
+
343
+ ## 0.3.7
344
+
345
+ ### Patch Changes
346
+
347
+ - [#664](https://github.com/halfdomelabs/baseplate/pull/664) [`d6f70e0`](https://github.com/halfdomelabs/baseplate/commit/d6f70e03f539bd8687d9e9abfc0e7cef5c9e6e29) Thanks [@kingston](https://github.com/kingston)! - Fix cookie clearing by passing options to ensure secure cookies are properly cleared. The CookieStore interface now accepts optional CookieSerializeOptions when clearing cookies, and the auth module template now passes COOKIE_OPTIONS when clearing session cookies to maintain consistency with cookie creation.
348
+
349
+ - Updated dependencies [[`9508a8e`](https://github.com/halfdomelabs/baseplate/commit/9508a8ee75e33ea0c0632f3f5ef5621b020f530d)]:
350
+ - @baseplate-dev/core-generators@0.3.7
351
+ - @baseplate-dev/sync@0.3.7
352
+ - @baseplate-dev/utils@0.3.7
353
+
354
+ ## 0.3.6
355
+
356
+ ### Patch Changes
357
+
358
+ - Updated dependencies [[`1186a21`](https://github.com/halfdomelabs/baseplate/commit/1186a21df267d112a84a42ff1d3c87b495452ce0)]:
359
+ - @baseplate-dev/core-generators@0.3.6
360
+ - @baseplate-dev/sync@0.3.6
361
+ - @baseplate-dev/utils@0.3.6
362
+
363
+ ## 0.3.5
364
+
365
+ ### Patch Changes
366
+
367
+ - Updated dependencies []:
368
+ - @baseplate-dev/core-generators@0.3.5
369
+ - @baseplate-dev/sync@0.3.5
370
+ - @baseplate-dev/utils@0.3.5
371
+
372
+ ## 0.3.4
373
+
374
+ ### Patch Changes
375
+
376
+ - [#642](https://github.com/halfdomelabs/baseplate/pull/642) [`217de38`](https://github.com/halfdomelabs/baseplate/commit/217de385f3ac869c5ef740af32634db9bcab6b0c) Thanks [@kingston](https://github.com/kingston)! - Upgrade Prisma to 6.14.0
377
+
378
+ - [#646](https://github.com/halfdomelabs/baseplate/pull/646) [`67dba69`](https://github.com/halfdomelabs/baseplate/commit/67dba697439e6bc76b81522c133d920af4dbdbb1) Thanks [@kingston](https://github.com/kingston)! - Upgrade Zod to 3.25.76
379
+
380
+ - [#643](https://github.com/halfdomelabs/baseplate/pull/643) [`7d9e6d0`](https://github.com/halfdomelabs/baseplate/commit/7d9e6d01e0a9920cee4c4d499beeffc1c663494a) Thanks [@kingston](https://github.com/kingston)! - Upgrade to TypeScript 5.8 with erasable syntax only mode
381
+
382
+ This upgrade modernizes the codebase with TypeScript 5.8, enables erasable syntax only mode for better performance, and updates runtime dependencies.
383
+
384
+ **Key Changes:**
385
+ - Upgraded TypeScript to version 5.8
386
+ - Enabled `erasableSyntaxOnly` compiler option for improved build performance
387
+ - Updated Node.js requirement to 22.18
388
+ - Updated PNPM requirement to 10.15
389
+ - Fixed parameter property syntax to be compatible with erasable syntax only mode
390
+
391
+ - Updated dependencies [[`67dba69`](https://github.com/halfdomelabs/baseplate/commit/67dba697439e6bc76b81522c133d920af4dbdbb1), [`7d9e6d0`](https://github.com/halfdomelabs/baseplate/commit/7d9e6d01e0a9920cee4c4d499beeffc1c663494a)]:
392
+ - @baseplate-dev/sync@0.3.4
393
+ - @baseplate-dev/core-generators@0.3.4
394
+ - @baseplate-dev/utils@0.3.4
395
+
396
+ ## 0.3.3
397
+
398
+ ### Patch Changes
399
+
400
+ - Updated dependencies []:
401
+ - @baseplate-dev/core-generators@0.3.3
402
+ - @baseplate-dev/sync@0.3.3
403
+ - @baseplate-dev/utils@0.3.3
404
+
405
+ ## 0.3.2
406
+
407
+ ### Patch Changes
408
+
409
+ - [#635](https://github.com/halfdomelabs/baseplate/pull/635) [`04a4978`](https://github.com/halfdomelabs/baseplate/commit/04a49785642685ca4b56aec27dc0a18520674ef9) Thanks [@kingston](https://github.com/kingston)! - Upgrade GraphQL to 16.11.0
410
+
411
+ - [#633](https://github.com/halfdomelabs/baseplate/pull/633) [`cca138a`](https://github.com/halfdomelabs/baseplate/commit/cca138a84abbb901ab628bf571ae29211a180dbb) Thanks [@kingston](https://github.com/kingston)! - Upgrade graphql-yoga, envelop, and pothos packages to latest versions
412
+ - @envelop/core: 5.0.1 → 5.3.0
413
+ - @envelop/disable-introspection: 6.0.0 → 8.0.0
414
+ - @envelop/types: 5.0.0 → 5.2.1
415
+ - graphql-yoga: 5.6.1 → 5.15.1
416
+ - @pothos/core: 4.3.0 → 4.8.1
417
+ - @pothos/plugin-simple-objects: 4.1.0 → 4.1.3
418
+ - @pothos/plugin-relay: 4.3.0 → 4.6.2
419
+ - @pothos/plugin-prisma: 4.3.1 → 4.10.0
420
+
421
+ - Updated dependencies [[`b4c15b9`](https://github.com/halfdomelabs/baseplate/commit/b4c15b98a518c53828f81624764ba693def85faf)]:
422
+ - @baseplate-dev/core-generators@0.3.2
423
+ - @baseplate-dev/sync@0.3.2
424
+ - @baseplate-dev/utils@0.3.2
425
+
426
+ ## 0.3.1
427
+
428
+ ### Patch Changes
429
+
430
+ - [#629](https://github.com/halfdomelabs/baseplate/pull/629) [`d79b0cf`](https://github.com/halfdomelabs/baseplate/commit/d79b0cfb9061dbeccc976a2f018b264849bef788) Thanks [@kingston](https://github.com/kingston)! - Add queue plugin with pg-boss implementation
431
+
432
+ Introduces a new queue plugin that provides background job processing capabilities for Baseplate projects. The initial implementation uses pg-boss as the queue backend, providing:
433
+ - **Queue Plugin Architecture**: Modular queue system with provider-based implementation pattern
434
+ - **pg-boss Integration**: PostgreSQL-based queue system with robust job processing features
435
+ - **Type-Safe Queue Definitions**: Full TypeScript support for queue job payloads and handlers
436
+ - **Job Management Features**:
437
+ - Delayed job execution
438
+ - Retry logic with configurable backoff strategies (fixed or exponential)
439
+ - Priority-based job processing
440
+ - Repeatable/cron jobs with schedule patterns
441
+ - **Worker Script Generation**: Automatic generation of worker scripts for processing background jobs
442
+ - **Queue Registry Pattern**: Centralized queue management with automatic discovery
443
+ - **Maintenance Operations**: Configurable job retention and cleanup policies
444
+ - **Graceful Shutdown**: Proper cleanup and job completion on worker termination
445
+
446
+ The plugin follows Baseplate's spec-implementation pattern, allowing for future queue backends while maintaining a consistent API.
447
+
448
+ - [#629](https://github.com/halfdomelabs/baseplate/pull/629) [`d79b0cf`](https://github.com/halfdomelabs/baseplate/commit/d79b0cfb9061dbeccc976a2f018b264849bef788) Thanks [@kingston](https://github.com/kingston)! - Improve package.json script naming conventions
449
+
450
+ Updates the generated package.json scripts for better clarity and consistency:
451
+ - **Development Scripts**:
452
+ - `dev:server` - Runs the Fastify server in development mode
453
+ - `dev:workers` - Runs background job workers in development mode
454
+ - Both scripts now use `--env-file-if-exists` for optional .env file loading
455
+ - **Script Utilities**:
456
+ - `script:dev` - Generic development script runner with watch mode
457
+ - `script:run` - Generic script runner for one-off executions
458
+ - **Worker Scripts**:
459
+ - `start:workers` - Production worker startup command
460
+
461
+ These naming conventions make it clearer what each script does and follow a consistent pattern of `category:action` for better organization.
462
+
463
+ - Updated dependencies [[`d79b0cf`](https://github.com/halfdomelabs/baseplate/commit/d79b0cfb9061dbeccc976a2f018b264849bef788)]:
464
+ - @baseplate-dev/core-generators@0.3.1
465
+ - @baseplate-dev/sync@0.3.1
466
+ - @baseplate-dev/utils@0.3.1
467
+
468
+ ## 0.3.0
469
+
470
+ ### Patch Changes
471
+
472
+ - [#626](https://github.com/halfdomelabs/baseplate/pull/626) [`8ec33fc`](https://github.com/halfdomelabs/baseplate/commit/8ec33fcdc8fea9cb20e79586b854bf075270ab53) Thanks [@kingston](https://github.com/kingston)! - Remove dotenv references and replace with native node --env-file option
473
+
474
+ - [#625](https://github.com/halfdomelabs/baseplate/pull/625) [`96a3099`](https://github.com/halfdomelabs/baseplate/commit/96a3099ff9eba05fc3b3618b54407014cc555dc2) Thanks [@kingston](https://github.com/kingston)! - Add ability to set Prisma seed scripts and add seed script for local auth users
475
+
476
+ - Updated dependencies [[`687a47e`](https://github.com/halfdomelabs/baseplate/commit/687a47e5e39abc5138ba3fc2d0db9cfee6e4dbfe), [`8ec33fc`](https://github.com/halfdomelabs/baseplate/commit/8ec33fcdc8fea9cb20e79586b854bf075270ab53), [`fbde70f`](https://github.com/halfdomelabs/baseplate/commit/fbde70ffbcae025318480e9607924978847fba2b)]:
477
+ - @baseplate-dev/sync@0.3.0
478
+ - @baseplate-dev/core-generators@0.3.0
479
+ - @baseplate-dev/utils@0.3.0
480
+
481
+ ## 0.2.6
482
+
483
+ ### Patch Changes
484
+
485
+ - Updated dependencies []:
486
+ - @baseplate-dev/core-generators@0.2.6
487
+ - @baseplate-dev/sync@0.2.6
488
+ - @baseplate-dev/utils@0.2.6
489
+
490
+ ## 0.2.5
491
+
492
+ ### Patch Changes
493
+
494
+ - [#608](https://github.com/halfdomelabs/baseplate/pull/608) [`01c47c7`](https://github.com/halfdomelabs/baseplate/commit/01c47c77f039a463de03271de6461cd969d5a8e8) Thanks [@kingston](https://github.com/kingston)! - Fix pothos writer to write typed args correctly (t.arg.string instead of t.string)
495
+
496
+ - Updated dependencies [[`e0d690c`](https://github.com/halfdomelabs/baseplate/commit/e0d690c1e139f93a8ff60c9e0c90bc72cdf705a4), [`2aae451`](https://github.com/halfdomelabs/baseplate/commit/2aae45107cb6331234d14d8a6491b55e7f6d9f33)]:
497
+ - @baseplate-dev/sync@0.2.5
498
+ - @baseplate-dev/core-generators@0.2.5
499
+ - @baseplate-dev/utils@0.2.5
500
+
501
+ ## 0.2.4
502
+
503
+ ### Patch Changes
504
+
505
+ - Updated dependencies [[`ffe791f`](https://github.com/halfdomelabs/baseplate/commit/ffe791f6ab44e82c8481f3a18df9262dec71cff6)]:
506
+ - @baseplate-dev/utils@0.2.4
507
+ - @baseplate-dev/core-generators@0.2.4
508
+ - @baseplate-dev/sync@0.2.4
509
+
510
+ ## 0.2.3
511
+
512
+ ### Patch Changes
513
+
514
+ - [#598](https://github.com/halfdomelabs/baseplate/pull/598) [`69eea11`](https://github.com/halfdomelabs/baseplate/commit/69eea11c3662fbad9b8d2283d5127195c8379c07) Thanks [@kingston](https://github.com/kingston)! - Change environment names from long format to short abbreviations (development→dev, staging→stage, production→prod)
515
+
516
+ - Updated dependencies [[`f3bd169`](https://github.com/halfdomelabs/baseplate/commit/f3bd169b8debc52628179ca6ebd93c20b8a6f841), [`a506e88`](https://github.com/halfdomelabs/baseplate/commit/a506e88893bf395916ef3fbf6dd9dd7c0ff17acb), [`f0cb763`](https://github.com/halfdomelabs/baseplate/commit/f0cb7632f04bfb487722785fac7218d76d3b7e3b), [`059edf7`](https://github.com/halfdomelabs/baseplate/commit/059edf771755f1ff846494f238d777a9d1f7f5d7), [`059edf7`](https://github.com/halfdomelabs/baseplate/commit/059edf771755f1ff846494f238d777a9d1f7f5d7), [`de9e1b4`](https://github.com/halfdomelabs/baseplate/commit/de9e1b4f3a8a7dcf6b962781a0aa589eb970c7a8)]:
517
+ - @baseplate-dev/core-generators@0.2.3
518
+ - @baseplate-dev/sync@0.2.3
519
+ - @baseplate-dev/utils@0.2.3
520
+
521
+ ## 0.2.2
522
+
523
+ ### Patch Changes
524
+
525
+ - Updated dependencies [[`f8c9284`](https://github.com/halfdomelabs/baseplate/commit/f8c9284752c12c6aab70481bf98e6fa402e61075), [`f8c9284`](https://github.com/halfdomelabs/baseplate/commit/f8c9284752c12c6aab70481bf98e6fa402e61075), [`dce88ac`](https://github.com/halfdomelabs/baseplate/commit/dce88ac8d1f951f7336c12c5e004107de3a23e97)]:
526
+ - @baseplate-dev/utils@0.2.2
527
+ - @baseplate-dev/sync@0.2.2
528
+ - @baseplate-dev/core-generators@0.2.2
529
+
530
+ ## 0.2.1
531
+
532
+ ### Patch Changes
533
+
534
+ - Updated dependencies [[`d7d9985`](https://github.com/halfdomelabs/baseplate/commit/d7d998540ca5886259f93b5020c4d8939c5cdf5f)]:
535
+ - @baseplate-dev/core-generators@0.2.1
536
+ - @baseplate-dev/sync@0.2.1
537
+ - @baseplate-dev/utils@0.2.1
538
+
539
+ ## 0.2.0
540
+
541
+ ### Patch Changes
542
+
543
+ - [#568](https://github.com/halfdomelabs/baseplate/pull/568) [`06b4faf`](https://github.com/halfdomelabs/baseplate/commit/06b4fafaf3d2ed848d959a9911b9bfa26702d4a3) Thanks [@kingston](https://github.com/kingston)! - Enable the import-x/consistent-type-specifier-style rule to clean up type imports
544
+
545
+ - [#574](https://github.com/halfdomelabs/baseplate/pull/574) [`f5d7a6f`](https://github.com/halfdomelabs/baseplate/commit/f5d7a6f781b1799bb8ad197973e5cec04f869264) Thanks [@kingston](https://github.com/kingston)! - Refactored naming of project paths to output paths to be clearer about their meaning
546
+
547
+ - [#570](https://github.com/halfdomelabs/baseplate/pull/570) [`56a3a89`](https://github.com/halfdomelabs/baseplate/commit/56a3a8944b9a557cca0484d78851fca10122e5f9) Thanks [@kingston](https://github.com/kingston)! - Implement phase 1 of reverse template generator v2
548
+
549
+ - Updated dependencies [[`06b4faf`](https://github.com/halfdomelabs/baseplate/commit/06b4fafaf3d2ed848d959a9911b9bfa26702d4a3), [`f5d7a6f`](https://github.com/halfdomelabs/baseplate/commit/f5d7a6f781b1799bb8ad197973e5cec04f869264), [`fd63554`](https://github.com/halfdomelabs/baseplate/commit/fd635544eb6df0385501f61f3e51bce554633458), [`a94eed9`](https://github.com/halfdomelabs/baseplate/commit/a94eed9c12236c5fb772d998b9c34ca876c10c13), [`56a3a89`](https://github.com/halfdomelabs/baseplate/commit/56a3a8944b9a557cca0484d78851fca10122e5f9), [`a94eed9`](https://github.com/halfdomelabs/baseplate/commit/a94eed9c12236c5fb772d998b9c34ca876c10c13), [`56a3a89`](https://github.com/halfdomelabs/baseplate/commit/56a3a8944b9a557cca0484d78851fca10122e5f9)]:
550
+ - @baseplate-dev/core-generators@0.2.0
551
+ - @baseplate-dev/utils@0.2.0
552
+ - @baseplate-dev/sync@0.2.0
553
+
554
+ ## 0.1.3
555
+
556
+ ### Patch Changes
557
+
558
+ - [#562](https://github.com/halfdomelabs/baseplate/pull/562) [`30fdf49`](https://github.com/halfdomelabs/baseplate/commit/30fdf4988de244c30d13c93b7761587d4c1413ad) Thanks [@kingston](https://github.com/kingston)! - Switch to Typescript project references for building/watching project
559
+
560
+ - Updated dependencies [[`30fdf49`](https://github.com/halfdomelabs/baseplate/commit/30fdf4988de244c30d13c93b7761587d4c1413ad)]:
561
+ - @baseplate-dev/core-generators@0.1.3
562
+ - @baseplate-dev/utils@0.1.3
563
+ - @baseplate-dev/sync@0.1.3
564
+
565
+ ## 0.1.2
566
+
567
+ ### Patch Changes
568
+
569
+ - [#560](https://github.com/halfdomelabs/baseplate/pull/560) [`7e38ae9`](https://github.com/halfdomelabs/baseplate/commit/7e38ae9102c7c8ea958d2dab94e76be848d1c1a8) Thanks [@kingston](https://github.com/kingston)! - Add README files to all packages and plugins explaining their purpose within the Baseplate monorepo.
570
+
571
+ - Updated dependencies [[`7e38ae9`](https://github.com/halfdomelabs/baseplate/commit/7e38ae9102c7c8ea958d2dab94e76be848d1c1a8)]:
572
+ - @baseplate-dev/sync@0.1.2
573
+ - @baseplate-dev/core-generators@0.1.2
574
+ - @baseplate-dev/utils@0.1.2
575
+
576
+ ## 0.1.1
577
+
578
+ ### Patch Changes
579
+
580
+ - [#559](https://github.com/halfdomelabs/baseplate/pull/559) [`17dd71e`](https://github.com/halfdomelabs/baseplate/commit/17dd71e3b9f83e3359eb007f8eab1c4792bdbb8b) Thanks [@kingston](https://github.com/kingston)! - Rename workspace to @baseplate-dev/\* and reset versions to 0.1.0
581
+
582
+ - [#557](https://github.com/halfdomelabs/baseplate/pull/557) [`9caaa0a`](https://github.com/halfdomelabs/baseplate/commit/9caaa0aed05677a75fed79601dcfd24ec85ab5ad) Thanks [@kingston](https://github.com/kingston)! - Update LICENSE to modified MPL-2.0 license
583
+
584
+ - Updated dependencies [[`17dd71e`](https://github.com/halfdomelabs/baseplate/commit/17dd71e3b9f83e3359eb007f8eab1c4792bdbb8b), [`9caaa0a`](https://github.com/halfdomelabs/baseplate/commit/9caaa0aed05677a75fed79601dcfd24ec85ab5ad)]:
585
+ - @baseplate-dev/core-generators@0.1.1
586
+ - @baseplate-dev/utils@0.1.1
587
+ - @baseplate-dev/sync@0.1.1
@@ -1,5 +1,5 @@
1
1
  export declare const FASTIFY_PACKAGES: {
2
- readonly fastify: "5.6.2";
2
+ readonly fastify: "5.7.4";
3
3
  readonly '@fastify/helmet': "13.0.0";
4
4
  readonly 'fastify-plugin': "5.1.0";
5
5
  readonly nanoid: "5.1.6";
@@ -25,9 +25,9 @@ export declare const FASTIFY_PACKAGES: {
25
25
  readonly 'graphql-scalars': "1.23.0";
26
26
  readonly '@graphql-yoga/redis-event-target': "2.0.0";
27
27
  readonly 'graphql-ws': "5.16.0";
28
- readonly '@prisma/client': "7.2.0";
29
- readonly prisma: "7.2.0";
30
- readonly '@prisma/adapter-pg': "7.2.0";
28
+ readonly '@prisma/client': "7.4.0";
29
+ readonly prisma: "7.4.0";
30
+ readonly '@prisma/adapter-pg': "7.4.0";
31
31
  readonly ms: "2.1.3";
32
32
  readonly '@types/redis-info': "3.0.3";
33
33
  readonly '@types/ms': "0.7.34";
@@ -47,7 +47,7 @@ export declare const FASTIFY_PACKAGES: {
47
47
  readonly 'vitest-mock-extended': "3.1.0";
48
48
  readonly 'pg-connection-string': "2.6.4";
49
49
  readonly '@node-rs/argon2': "2.0.2";
50
- readonly postmark: "4.0.2";
50
+ readonly postmark: "4.0.5";
51
51
  readonly stripe: "14.5.0";
52
52
  readonly bullmq: "5.61.2";
53
53
  };
@@ -1,6 +1,6 @@
1
1
  export const FASTIFY_PACKAGES = {
2
2
  // Fastify
3
- fastify: '5.6.2',
3
+ fastify: '5.7.4',
4
4
  '@fastify/helmet': '13.0.0',
5
5
  'fastify-plugin': '5.1.0',
6
6
  nanoid: '5.1.6',
@@ -28,9 +28,9 @@ export const FASTIFY_PACKAGES = {
28
28
  '@graphql-yoga/redis-event-target': '2.0.0',
29
29
  'graphql-ws': '5.16.0',
30
30
  // Prisma
31
- '@prisma/client': '7.2.0',
32
- prisma: '7.2.0',
33
- '@prisma/adapter-pg': '7.2.0',
31
+ '@prisma/client': '7.4.0',
32
+ prisma: '7.4.0',
33
+ '@prisma/adapter-pg': '7.4.0',
34
34
  // Utils
35
35
  ms: '2.1.3',
36
36
  '@types/redis-info': '3.0.3',
@@ -59,7 +59,7 @@ export const FASTIFY_PACKAGES = {
59
59
  // Auth
60
60
  '@node-rs/argon2': '2.0.2',
61
61
  // Postmark
62
- postmark: '4.0.2',
62
+ postmark: '4.0.5',
63
63
  // Stripe
64
64
  stripe: '14.5.0',
65
65
  // BullMQ