Skip to content

Commit

Permalink
v2.0.2 - randomDelay is now true by default
Browse files Browse the repository at this point in the history
  • Loading branch information
erikng committed Jul 20, 2024
1 parent 77e334e commit d5cd2ae
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ 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).

## [2.0.2] - 2024-07-20
Requires macOS 12.0 and higher.

### Changed
- With a default of `false`, many admins do not set the `randomDelay`, resulting in an increase in SOFA queries every 30 minutes due to the default LaunchAgent. Moving forward, this will be defaulted to `true` and an organization must actively opt-out of this behavior.

## [2.0.1] - 2024-07-19
Requires macOS 12.0 and higher.

Expand Down
2 changes: 1 addition & 1 deletion Example Assets/com.github.macadmins.Nudge.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"maxRandomDelayInSeconds": 1200,
"noTimers": false,
"nudgeRefreshCycle": 60,
"randomDelay": false
"randomDelay": true
},
"userInterface": {
"actionButtonPath": "munki://updates",
Expand Down
2 changes: 1 addition & 1 deletion Example Assets/com.github.macadmins.Nudge.mobileconfig
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
<key>nudgeRefreshCycle</key>
<integer>60</integer>
<key>randomDelay</key>
<false/>
<true/>
</dict>
<key>userInterface</key>
<dict>
Expand Down
4 changes: 2 additions & 2 deletions Nudge.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 2.0.1;
MARKETING_VERSION = 2.0.2;
PRODUCT_BUNDLE_IDENTIFIER = com.github.macadmins.Nudge;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -729,7 +729,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 2.0.1;
MARKETING_VERSION = 2.0.2;
PRODUCT_BUNDLE_IDENTIFIER = com.github.macadmins.Nudge;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
4 changes: 2 additions & 2 deletions Nudge/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>2.0.1</string>
<string>2.0.2</string>
<key>CFBundleVersion</key>
<string>2.0.1</string>
<string>2.0.2</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Nudge/Preferences/DefaultPreferencesNudge.swift
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ struct UserExperienceVariables {
static var randomDelay: Bool {
userExperienceProfile?["randomDelay"] as? Bool ??
userExperienceJSON?.randomDelay ??
false
true
}
}

Expand Down
2 changes: 1 addition & 1 deletion Schema/jamf/com.github.macadmins.Nudge.json
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@
"type": "boolean",
"options": {
"inputAttributes": {
"placeholder": "false"
"placeholder": "true"
}
}
}
Expand Down

0 comments on commit d5cd2ae

Please sign in to comment.