@serve.zone/interfaces 17.2.1 → 17.3.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,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-07-23 - 17.3.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- add service image retention count option (data-service)
|
|
8
|
+
- Adds optional imageRetentionCount to service data definitions for configuring pushed image version retention.
|
|
9
|
+
- Documents the platform default retention count of 3 and protection for active desired or immutable deployments.
|
|
10
|
+
|
|
3
11
|
## 2026-07-22 - 17.2.1
|
|
4
12
|
|
|
5
13
|
### Fixes
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@serve.zone/interfaces',
|
|
6
|
-
version: '17.
|
|
6
|
+
version: '17.3.0',
|
|
7
7
|
description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHVGQUF1RjtDQUNyRyxDQUFBIn0=
|
|
@@ -148,6 +148,13 @@ export interface IService {
|
|
|
148
148
|
* For example, 3 for cores3 or coremongo
|
|
149
149
|
*/
|
|
150
150
|
maxReplicas?: number;
|
|
151
|
+
/**
|
|
152
|
+
* How many pushed image versions to keep for this service. Older
|
|
153
|
+
* versions beyond this count are pruned from the registry, always
|
|
154
|
+
* protecting versions referenced by the current desired state or an
|
|
155
|
+
* active immutable deployment. Absent means the platform default of 3.
|
|
156
|
+
*/
|
|
157
|
+
imageRetentionCount?: number;
|
|
151
158
|
/**
|
|
152
159
|
* Whether to enforce anti-affinity rules
|
|
153
160
|
* When true, tries to spread deployments across different BareMetal servers
|
package/package.json
CHANGED
package/ts/00_commitinfo_data.ts
CHANGED
package/ts/data/service.ts
CHANGED
|
@@ -291,6 +291,14 @@ export interface IService {
|
|
|
291
291
|
* For example, 3 for cores3 or coremongo
|
|
292
292
|
*/
|
|
293
293
|
maxReplicas?: number;
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* How many pushed image versions to keep for this service. Older
|
|
297
|
+
* versions beyond this count are pruned from the registry, always
|
|
298
|
+
* protecting versions referenced by the current desired state or an
|
|
299
|
+
* active immutable deployment. Absent means the platform default of 3.
|
|
300
|
+
*/
|
|
301
|
+
imageRetentionCount?: number;
|
|
294
302
|
|
|
295
303
|
/**
|
|
296
304
|
* Whether to enforce anti-affinity rules
|