@tuturuuu/utils 0.23.0 → 0.24.0

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,48 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.24.0](https://github.com/tutur3u/platform/compare/utils-v0.23.1...utils-v0.24.0) (2026-08-09)
4
+
5
+
6
+ ### Features
7
+
8
+ * **ai:** add workspace AI Studio and legal coverage ([6de4e39](https://github.com/tutur3u/platform/commit/6de4e395cc5568f4943604ac667e3cebf324be13))
9
+ * **apps:** unify and redesign app catalog ([b679068](https://github.com/tutur3u/platform/commit/b679068339143a83b38610f363bec7f53ddc3706))
10
+ * **chat:** add connected site sync bridge ([#5078](https://github.com/tutur3u/platform/issues/5078)) ([3de1a07](https://github.com/tutur3u/platform/commit/3de1a07dfa2fec96982aa0d116e003d0aa3fe47c))
11
+ * **forms:** merge satellite migration ([e739f1b](https://github.com/tutur3u/platform/commit/e739f1bead568905458a42373ae24d13cd778907))
12
+ * **forms:** migrate product to satellite app ([51b9392](https://github.com/tutur3u/platform/commit/51b93928f1a12ebd4f4c753595fb33902ebfa66c))
13
+ * **git:** add fast repository satellite ([51982ae](https://github.com/tutur3u/platform/commit/51982ae8618bb7463e30c97f6e731551ec673660))
14
+ * **inventory:** secure Square POS event checkout ([532b463](https://github.com/tutur3u/platform/commit/532b46372116ee0bebfd83ba2af762cc9f668c3c))
15
+ * **offline:** own service worker runtime and refresh dependencies ([ae44477](https://github.com/tutur3u/platform/commit/ae44477603c39f0513244514771653287338a89f))
16
+ * **onboarding:** connect product guidance across apps ([68cf626](https://github.com/tutur3u/platform/commit/68cf626c9650e5044b6c123f9423a6cebf1bba9a))
17
+ * **platform:** expose the running build over HTTP for every app ([7b90d42](https://github.com/tutur3u/platform/commit/7b90d425a38048a1bf317b46f0da78225474f0e5))
18
+ * **reports:** add periodic reporting automation ([ec7bd5e](https://github.com/tutur3u/platform/commit/ec7bd5e10abb137e217d1dcf143624530276392f))
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * **ai:** accept rich embedding payloads ([a65b13f](https://github.com/tutur3u/platform/commit/a65b13fa80034959e5f18ee4515b3081002558e2))
24
+ * **ci:** keep task helper collection source-only ([7355a05](https://github.com/tutur3u/platform/commit/7355a05385ccd8d1e2d1bcf6ac15ae5297e057ad))
25
+ * **e2e:** run tasks lifecycle in CI ([bed2cd5](https://github.com/tutur3u/platform/commit/bed2cd590572748f65e75fcb15b7e4b714b9034c))
26
+ * **platform:** merge notification and group visibility fixes ([4fe9e97](https://github.com/tutur3u/platform/commit/4fe9e970bf61bffaee4353b1ebb83ce2f880a4c8))
27
+ * **platform:** restore notifications and group visibility ([eb570a4](https://github.com/tutur3u/platform/commit/eb570a47e7a3d38fc855fbf3e887ecbde853ece0))
28
+ * resolve code quality findings ([63f10b5](https://github.com/tutur3u/platform/commit/63f10b5ec22a4194f48f448ee2b1b088b5da8f08))
29
+ * **security:** remediate code scanning findings ([023db2e](https://github.com/tutur3u/platform/commit/023db2edf4b0557be108a9d772cbc7e2223af947))
30
+ * **tooling:** support webpack verification builds ([5275e10](https://github.com/tutur3u/platform/commit/5275e10c4007ae92e84be6c057a79f223980700c))
31
+ * **workspaces:** preserve creator administration access ([cea32ea](https://github.com/tutur3u/platform/commit/cea32ea22acaae6be6e39552be4af47e6f4dcdc7))
32
+
33
+
34
+ ### Performance Improvements
35
+
36
+ * **storefront:** share customer navigation shell ([21cb78d](https://github.com/tutur3u/platform/commit/21cb78db484d1e1fdb9f2469fcac4e3a948bd176))
37
+
38
+ ## [0.23.1](https://github.com/tutur3u/platform/compare/utils-v0.23.0...utils-v0.23.1) (2026-08-09)
39
+
40
+
41
+ ### Bug Fixes
42
+
43
+ * **platform:** merge notification and group visibility fixes ([4fe9e97](https://github.com/tutur3u/platform/commit/4fe9e970bf61bffaee4353b1ebb83ce2f880a4c8))
44
+ * **platform:** restore notifications and group visibility ([eb570a4](https://github.com/tutur3u/platform/commit/eb570a47e7a3d38fc855fbf3e887ecbde853ece0))
45
+
3
46
  ## [0.23.0](https://github.com/tutur3u/platform/compare/utils-v0.22.0...utils-v0.23.0) (2026-08-07)
4
47
 
5
48
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tuturuuu/utils",
3
3
  "license": "MIT",
4
- "version": "0.23.0",
4
+ "version": "0.24.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/tutur3u/platform",
@@ -2,6 +2,7 @@ import { tryToParsePath } from 'next/dist/lib/try-to-parse-path';
2
2
  import { describe, expect, it } from 'vitest';
3
3
  import {
4
4
  createTuturuuuNextConfig,
5
+ createTuturuuuWebWorkspaceApiRewrites,
5
6
  isTuturuuuNextCacheComponentsEnabled,
6
7
  isTuturuuuNextReactCompilerEnabled,
7
8
  isTuturuuuTurbopackRustReactCompilerEnabled,
@@ -249,6 +250,19 @@ describe('createTuturuuuNextConfig', () => {
249
250
  });
250
251
  });
251
252
 
253
+ describe('createTuturuuuWebWorkspaceApiRewrites', () => {
254
+ it('routes reserved static workspace endpoints before satellite dynamic routes', () => {
255
+ expect(
256
+ createTuturuuuWebWorkspaceApiRewrites('https://tuturuuu.com/')
257
+ ).toEqual([
258
+ {
259
+ source: '/api/workspaces/invitations',
260
+ destination: 'https://tuturuuu.com/api/workspaces/invitations',
261
+ },
262
+ ]);
263
+ });
264
+ });
265
+
252
266
  describe('isTuturuuuNextCacheComponentsEnabled', () => {
253
267
  it('keeps cache components enabled by default', () => {
254
268
  expect(isTuturuuuNextCacheComponentsEnabled({})).toBe(true);
@@ -13,6 +13,10 @@ export const TUTURUUU_NEXT_OPTIMIZE_PACKAGE_IMPORTS = [
13
13
  'lucide-react',
14
14
  ] as const;
15
15
 
16
+ export const TUTURUUU_WEB_WORKSPACE_API_RESERVED_PATHS = [
17
+ '/api/workspaces/invitations',
18
+ ] as const;
19
+
16
20
  type NextImageConfig = NonNullable<NextConfig['images']>;
17
21
  type NextImageRemotePattern = NonNullable<
18
22
  NextImageConfig['remotePatterns']
@@ -151,6 +155,15 @@ export function trimTrailingSlashes(value: string) {
151
155
  return end === value.length ? value : value.slice(0, end);
152
156
  }
153
157
 
158
+ export function createTuturuuuWebWorkspaceApiRewrites(webAppUrl: string) {
159
+ const destinationOrigin = trimTrailingSlashes(webAppUrl);
160
+
161
+ return TUTURUUU_WEB_WORKSPACE_API_RESERVED_PATHS.map((source) => ({
162
+ source,
163
+ destination: `${destinationOrigin}${source}`,
164
+ }));
165
+ }
166
+
154
167
  export function isTuturuuuNextDeployedEnvironment(
155
168
  env: Environment = process.env
156
169
  ) {
@@ -7,7 +7,7 @@ import {
7
7
 
8
8
  describe('platform release metadata', () => {
9
9
  it('uses the centralized shared browser app version', () => {
10
- expect(TUTURUUU_PLATFORM_VERSION).toBe('0.35.0'); // x-release-please-version
10
+ expect(TUTURUUU_PLATFORM_VERSION).toBe('0.36.0'); // x-release-please-version
11
11
  });
12
12
 
13
13
  it('preserves the source timestamp in builtAt and derives a short hash', () => {
@@ -1,6 +1,6 @@
1
1
  import { PLATFORM_BUILD_METADATA } from './generated/platform-build-metadata';
2
2
 
3
- export const TUTURUUU_PLATFORM_VERSION = '0.35.0'; // x-release-please-version
3
+ export const TUTURUUU_PLATFORM_VERSION = '0.36.0'; // x-release-please-version
4
4
 
5
5
  export type PlatformBuildMetadataInput = {
6
6
  /** ISO timestamp of the source commit used for the build, not deployment time. */