Skip to content

Commit 453a453

Browse files
lane711claude
andcommitted
chore: release v2.16.1
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8993d67 commit 453a453

68 files changed

Lines changed: 785 additions & 751 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sonicjs",
3-
"version": "2.16.0",
3+
"version": "2.16.1",
44
"private": true,
55
"type": "module",
66
"workspaces": [
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ interface SonicJSConfig {
5959
beforeAuth?: Array<(c: Context, next: () => Promise<void>) => Promise<void>>;
6060
afterAuth?: Array<(c: Context, next: () => Promise<void>) => Promise<void>>;
6161
};
62+
adminAccessRoles?: string[];
6263
version?: string;
6364
name?: string;
6465
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ interface SonicJSConfig {
5959
beforeAuth?: Array<(c: Context, next: () => Promise<void>) => Promise<void>>;
6060
afterAuth?: Array<(c: Context, next: () => Promise<void>) => Promise<void>>;
6161
};
62+
adminAccessRoles?: string[];
6263
version?: string;
6364
name?: string;
6465
}

packages/core/dist/chunk-3P36UZXJ.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

3-
var chunk43AB4EH4_cjs = require('./chunk-43AB4EH4.cjs');
4-
var chunkLMQZWQTT_cjs = require('./chunk-LMQZWQTT.cjs');
3+
var chunkQZ2VT2OE_cjs = require('./chunk-QZ2VT2OE.cjs');
4+
var chunkHLOJ4N7Q_cjs = require('./chunk-HLOJ4N7Q.cjs');
55
var chunkRCQ2HIQD_cjs = require('./chunk-RCQ2HIQD.cjs');
66
var jwt = require('hono/jwt');
77
var cookie = require('hono/cookie');
@@ -57,23 +57,23 @@ function bootstrapMiddleware(config = {}) {
5757
try {
5858
console.log("[Bootstrap] Starting system initialization...");
5959
console.log("[Bootstrap] Running database migrations...");
60-
const migrationService = new chunkLMQZWQTT_cjs.MigrationService(c.env.DB);
60+
const migrationService = new chunkHLOJ4N7Q_cjs.MigrationService(c.env.DB);
6161
await migrationService.runPendingMigrations();
6262
console.log("[Bootstrap] Syncing collection configurations...");
6363
try {
64-
await chunk43AB4EH4_cjs.syncCollections(c.env.DB);
64+
await chunkQZ2VT2OE_cjs.syncCollections(c.env.DB);
6565
} catch (error) {
6666
console.error("[Bootstrap] Error syncing collections:", error);
6767
}
6868
console.log("[Bootstrap] Syncing form collections...");
6969
try {
70-
await chunk43AB4EH4_cjs.syncAllFormCollections(c.env.DB);
70+
await chunkQZ2VT2OE_cjs.syncAllFormCollections(c.env.DB);
7171
} catch (error) {
7272
console.error("[Bootstrap] Error syncing form collections:", error);
7373
}
7474
if (!config.plugins?.disableAll) {
7575
console.log("[Bootstrap] Bootstrapping core plugins...");
76-
const bootstrapService = new chunk43AB4EH4_cjs.PluginBootstrapService(c.env.DB);
76+
const bootstrapService = new chunkQZ2VT2OE_cjs.PluginBootstrapService(c.env.DB);
7777
const needsBootstrap = await bootstrapService.isBootstrapNeeded();
7878
if (needsBootstrap) {
7979
await bootstrapService.bootstrapCorePlugins();
@@ -580,5 +580,5 @@ exports.securityHeadersMiddleware = securityHeadersMiddleware;
580580
exports.securityLoggingMiddleware = securityLoggingMiddleware;
581581
exports.validateCsrfToken = validateCsrfToken;
582582
exports.verifySecurityConfig = verifySecurityConfig;
583-
//# sourceMappingURL=chunk-IAWDRRU3.cjs.map
584-
//# sourceMappingURL=chunk-IAWDRRU3.cjs.map
583+
//# sourceMappingURL=chunk-63NHQEG3.cjs.map
584+
//# sourceMappingURL=chunk-63NHQEG3.cjs.map
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)