@getstrata/core 3.1.1 → 3.1.5

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @getstrata/core changelog
2
2
 
3
+ ## 3.1.5
4
+
5
+ Fix published class-model type exports so inferred fields and strict model/repository contracts remain intact in installed applications.
6
+
7
+ ## 3.1.4
8
+
9
+ - Synchronize package versions and dependency pins at 3.1.4 for the corrected starter release validation. No additional runtime changes in this package.
10
+
11
+ ## 3.1.3
12
+
13
+ - Coordinate package versions at 3.1.3; core runtime behavior is unchanged.
14
+
15
+ ## 3.1.2
16
+
17
+ - Clarify the npm description around Laravel-inspired Bun and TypeScript application development. Synchronize packages at 3.1.2.
18
+
3
19
  ## 3.1.1
4
20
 
5
21
  - Synchronize the package version for the 3.1.1 application-agent guide release and update public documentation.
@@ -26,7 +26,6 @@ export type { PersistenceErrorCode, PersistenceErrorOptions, PersistenceResult,
26
26
  export { mapDatabaseError, PersistenceError, RecordNotFoundError, withDatabaseErrorHandling, } from "@getstrata/core/database/errors";
27
27
  export type { FactoryBehavior, FactoryConstruction, FactoryDefinition, FactoryMakeResult, FactoryParent, FactoryPersist, StatelessFactoryConstruction, } from "@getstrata/core/database/factory";
28
28
  export { defineFactory, Factory } from "@getstrata/core/database/factory";
29
- export type { AnyModelClass, AuthoredModelClass, InferModelFields, ModelClassOptions, ModelField, ModelFields, } from "@getstrata/core/database/model";
30
29
  export { DATABASE_SESSION_TOKEN } from "@getstrata/core/database/tokens";
31
30
  export { BadRequestError, ConflictError, ForbiddenError, HttpError, InternalServerError, InvalidCredentialsError, isHttpErrorLike, NotFoundError, PayloadTooLargeError, PreconditionFailedError, toHttpError, UnauthorizedError, UnprocessableEntityError, ValidationError, } from "@getstrata/core/errors/http";
32
31
  export { type ParsedUpload, parseMultipartUpload, parseMultipartUploadStream, sanitizeUploadFileName, UploadedFile, validateUploadFile, } from "@getstrata/core/http/parseMultipartUpload";
@@ -81,6 +80,7 @@ export { freshDatabase, getMigrationStatus, loadMigrationsFromDirectory, migrate
81
80
  export type { Migration, MigrationDatabase, MigrationStatus, } from "../core/database/migrations/types.ts";
82
81
  export type { CastType, ModelAttributes, ModelProjection, } from "../core/database/model.ts";
83
82
  export { applyCasts, dehydrateValue, filterMassAssignable, hydrateValue, } from "../core/database/modelAttributes.ts";
83
+ export type { AnyModelClass, AuthoredModelClass, InferModelFields, ModelClassOptions, ModelField, ModelFields, } from "../core/database/modelAuthoring";
84
84
  export type { MysqlConnection, MysqlExecutable, MysqlPool, } from "../core/database/mysqlConnection.ts";
85
85
  export { createMysqlConnection, createMysqlConnectionFromPool, createMysqlPool, } from "../core/database/mysqlConnection.ts";
86
86
  export { buildAdvancedWhereClause, buildCountQuery, buildDeleteByIdQuery, buildGroupedCountQuery, buildInsertQuery, buildJoinClause, buildOrderByClause, buildProjectionQuery, buildQueryWhereClause, buildRestoreByIdQuery, buildSelectQuery, buildSoftDeleteByIdQuery, buildUpdateQuery, buildWhereClause, parseQualifiedColumn, qualifyColumn, quoteIdentifier, resolveQualifiedColumn, resolveSoftDeleteColumn, } from "../core/database/query.ts";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@getstrata/core",
3
- "version": "3.1.1",
4
- "description": "Strata Bun framework public API",
3
+ "version": "3.1.5",
4
+ "description": "Laravel-inspired framework for Bun and TypeScript: models, authentication, queues, mail, and storage.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {