@checkstack/gitops-common 0.1.0 → 0.1.1

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,27 @@
1
1
  # @checkstack/gitops-common
2
2
 
3
+ ## 0.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 86bab6a: ### GitOps: Fix authentication token handling
8
+
9
+ - Made `authToken` optional in `ReconcileProviderParams` and `ScraperOptions` to support unauthenticated access to public repositories
10
+ - GitHub and GitLab scrapers now conditionally set authentication headers only when a token is provided
11
+ - Sync worker now decrypts the encrypted `authToken` from the database before passing it to scrapers, fixing authentication failures caused by sending encrypted values in HTTP headers
12
+
13
+ ### SLO: Fix premature Nines Club achievement unlock
14
+
15
+ - The "Nines Club" achievement now requires both ≥99.99% availability **and** a 365-day compliance streak, preventing immediate unlock on newly created SLOs with 100% default availability
16
+
17
+ ### SLO: Align frontend achievement descriptions with backend criteria
18
+
19
+ - Fixed mismatched descriptions for Iron Uptime (7-day, not 30), Diamond Uptime (30-day, not 90), Clean Sheet (rolling window, not quarter), Full Coverage (3+ SLOs, not all systems in group), and Nines Club (99.99%)
20
+
21
+ ### SLO: Enrich milestones with system names
22
+
23
+ - The `getRecentMilestones` endpoint now resolves human-readable system names via the Catalog API instead of returning raw system IDs
24
+
3
25
  ## 0.1.0
4
26
 
5
27
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@checkstack/gitops-common",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -102,7 +102,7 @@ export const gitopsContract = {
102
102
  target: z.string().min(1).optional(),
103
103
  pathPattern: z.string().min(1).optional(),
104
104
  baseUrl: z.string().nullable().optional(),
105
- authToken: z.string().optional(),
105
+ authToken: z.string().nullable().optional(),
106
106
  syncInterval: z.number().int().min(60).optional(),
107
107
  deletionPolicy: deletionPolicySchema.optional(),
108
108
  }),