diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..30968618 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +root = true + +[*] +charset = utf-8 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.ts] +indent_style = tab +indent_size = 2 + +[*.js] +indent_style = tab +indent_size = 2 diff --git a/package-lock.json b/package-lock.json index 385ff7e7..14aae881 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "tempo-monorepo", - "version": "3.5.1", + "version": "3.5.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "tempo-monorepo", - "version": "3.5.1", + "version": "3.5.2", "workspaces": [ "packages/*" ], @@ -10149,7 +10149,7 @@ }, "packages/library": { "name": "@magmacomputing/library", - "version": "3.5.1", + "version": "3.5.2", "license": "MIT", "dependencies": { "tslib": "^2.8.1" diff --git a/package.json b/package.json index e532b8ac..e4100e88 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tempo-monorepo", - "version": "3.5.1", + "version": "3.5.2", "private": true, "engines": { "node": ">=20.0.0" diff --git a/packages/library/package.json b/packages/library/package.json index e18e5c4b..fa449bcd 100644 --- a/packages/library/package.json +++ b/packages/library/package.json @@ -1,6 +1,6 @@ { "name": "@magmacomputing/library", - "version": "3.5.1", + "version": "3.5.2", "description": "Shared utility library for Tempo", "author": "Magma Computing Solutions", "license": "MIT", diff --git a/packages/library/src/common/international.library.ts b/packages/library/src/common/international.library.ts index a7121914..63471f5e 100644 --- a/packages/library/src/common/international.library.ts +++ b/packages/library/src/common/international.library.ts @@ -3,8 +3,8 @@ import { memoizeFunction } from '#library/function.library.js'; import { isFunction, isDefined } from '#library/assertion.library.js'; /** memoized helper for Intl.RelativeTimeFormat instances */ -const getRTF = memoizeFunction((locale?: string, style: Intl.RelativeTimeFormatStyle = 'narrow') => { - return new Intl.RelativeTimeFormat(locale, { style }); +const getRTF = memoizeFunction((locale?: string, style: Intl.RelativeTimeFormatStyle = 'narrow', numeric: Intl.RelativeTimeFormatNumeric = 'always') => { + return new Intl.RelativeTimeFormat(locale, { style, numeric }); }); /** memoized helper for Intl.ListFormat instances */ @@ -63,9 +63,9 @@ export function canonicalLocale(locale: string): string | undefined { } /** return a localized relative time string (e.g., 'in 2 days') */ -export function getRelativeTime(value: number, unit: Intl.RelativeTimeFormatUnit, locale?: string, style: Intl.RelativeTimeFormatStyle = 'narrow') { +export function getRelativeTime(value: number, unit: Intl.RelativeTimeFormatUnit, locale?: string, style: Intl.RelativeTimeFormatStyle = 'narrow', numeric: Intl.RelativeTimeFormatNumeric = 'always') { try { - return getRTF(locale, style).format(value, unit); + return getRTF(locale, style, numeric).format(value, unit); } catch (e) { return `${value} ${unit}`; } diff --git a/packages/tempo/.vitepress/config.ts b/packages/tempo/.vitepress/config.ts index 97ebc73d..166b9187 100644 --- a/packages/tempo/.vitepress/config.ts +++ b/packages/tempo/.vitepress/config.ts @@ -58,7 +58,7 @@ export default defineConfig({ { text: 'Modularity', link: '/doc/tempo.modularity' }, { text: 'Terms Plugins', link: '/doc/tempo.plugin' }, { text: 'Extension Plugins', link: '/doc/tempo.extension' }, - { text: 'Premium Plugins ↗', link: 'https://magmacomputing.github.io/tempo-plugin-docs/' }, + { text: 'Plugin Ecosystem', link: '/doc/ecosystem' } ] }, { diff --git a/packages/tempo/.vitepress/theme/components/CatalogList.vue b/packages/tempo/.vitepress/theme/components/CatalogList.vue new file mode 100644 index 00000000..133e4d4c --- /dev/null +++ b/packages/tempo/.vitepress/theme/components/CatalogList.vue @@ -0,0 +1,201 @@ + + + + + diff --git a/packages/tempo/.vitepress/theme/index.ts b/packages/tempo/.vitepress/theme/index.ts new file mode 100644 index 00000000..5077e978 --- /dev/null +++ b/packages/tempo/.vitepress/theme/index.ts @@ -0,0 +1,10 @@ +import DefaultTheme from 'vitepress/theme' +import type { Theme } from 'vitepress' +import CatalogList from './components/CatalogList.vue' + +export default { + extends: DefaultTheme, + enhanceApp({ app }) { + app.component('CatalogList', CatalogList) + } +} satisfies Theme diff --git a/packages/tempo/CHANGELOG.md b/packages/tempo/CHANGELOG.md index be609ae8..f13f884f 100644 --- a/packages/tempo/CHANGELOG.md +++ b/packages/tempo/CHANGELOG.md @@ -6,6 +6,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.5.2] - 2026-07-04 + +### Added +- **Minified Global Bundles**: The build pipeline now natively produces highly optimized, minified IIFE bundles (`*.min.js`) for both Tempo Core and all Community Plugins, significantly reducing payload size for developers using CDN ` - - + + + + + ``` diff --git a/packages/tempo/doc/releases/index.md b/packages/tempo/doc/releases/index.md index a2ed6ddc..32d2c10e 100644 --- a/packages/tempo/doc/releases/index.md +++ b/packages/tempo/doc/releases/index.md @@ -2,9 +2,9 @@ Explore the evolution of Tempo through its version history. -- [Version 3.x](./v3.x) - Removal of deprecated shorthands and major engine hardening. - [Version 4.x (Planned)](./v4.x) - Removal of deprecated legacy discovery root properties. -- [Version 2.x (Current)](./v2.x) - Modular architecture, Shorthand engine, and Ticker stability. +- [Version 3.x (Current)](./v3.x) - Removal of deprecated shorthands and major engine hardening. +- [Version 2.x](./v2.x) - Modular architecture, Shorthand engine, and Ticker stability. - [Version 1.x (Legacy)](./v1.x) - Initial public release and Temporal polyfill integration. - [Version 0.x (Legacy)](./v0.x) - Initial release. diff --git a/packages/tempo/doc/releases/v3.x.md b/packages/tempo/doc/releases/v3.x.md index 10a34091..420f1cbc 100644 --- a/packages/tempo/doc/releases/v3.x.md +++ b/packages/tempo/doc/releases/v3.x.md @@ -1,5 +1,27 @@ # 📜 Version 3.x History +## [v3.5.2] - 2026-07-04 + +### ✨ What's New — Minified Global Bundles +The build pipeline now natively produces highly optimized, minified IIFE bundles (`*.min.js`) for both Tempo Core and all Community Plugins, significantly reducing payload size for developers using CDN `