Skip to content

Releases: beltex/SMCKit

0.1.0

09 Oct 02:12
Compare
Choose a tag to compare
  • Updated to Swift 3.1 (Xcode 8.3.3). Thanks to @alexpovh & @perfaram for the help on this!
  • [#15] [Addressed] WIRELESS_MODULE (TW0P) temperature sensor misreports 129°C on MacBookPro11,1
  • [SMCKitTool] New -u, --unknown-temperature-sensors flag
    • Show the list of temperature sensors whose hardware mapping is unknown.

Versions

Xcode 8.3.3
Build version 8E3004b
Apple Swift version 3.1 (swiftlang-802.0.53 clang-802.0.42)

0.0.15

05 Aug 17:52
Compare
Choose a tag to compare
  • Updated to Swift 2.0 (Xcode 7 Beta 3)
  • [SMCKitTool] Version 0.0.2
  • [#20] [Completed] Update to Swift 2.0
Xcode 7.0
Build version 7A152u
Apple Swift version 2.0 (swiftlang-700.0.45 clang-700.0.57.2)

0.0.14

15 Jun 03:49
Compare
Choose a tag to compare
  • Updated to Xcode 6.3.2 Gold Master
  • New SMCKitTool (smckit(1)) command line tool for interfacing with the SMC
    • Version 0.0.1
    • Replaces Example target
    • Added CommandLine as a Git submodule, used for the CLI
    • Makefile added to build from command line
    • Manual page added via ronn
  • New powermetricsTests for cross-referencing with Apple’s powermetrics(1) tool
  • New temperature sensor CPU_0_DIE (TC0F) discovered via DTrace script
  • Internal cleanup
  • [#1] [Completed] Unit tests via XCTest
  • [#2] [Closed] Programmatically elevate privileges for writes
  • [#11] [Closed] Use array instead of enumerating values in SMCParamStruct
  • [#16] [Addressed] How to use in a swift project
Xcode 6.3.2
Build version 6D2105
Apple Swift version 1.2 (swiftlang-602.0.53.1 clang-602.0.53)

0.0.13

12 Mar 18:57
Compare
Choose a tag to compare
  • Updated to Xcode 6.3 Beta 2
    • size_t now imported as Int
  • Removed WIRELESS_MODULE temperature sensor. See #15

0.0.12

26 Feb 00:19
Compare
Choose a tag to compare
  • Updated to Swift 1.2 (Xcode 6.3 Beta 1)

0.0.11

12 Feb 05:33
Compare
Choose a tag to compare
  • Minor cleanup
  • This release is meant to be a marker before the upgrade to Swift 1.2, which will have breaking changes

0.0.10

12 Jan 19:32
Compare
Choose a tag to compare
  • Switch to MIT license
  • SMC now a struct
  • More unit tests
  • Completed/Closed:
    • #3 - Generate API doc
    • #6 - Use type properties once supported by Swift
    • #10 - Replace open() & close() with failable init() deinit

0.0.9

02 Dec 15:24
Compare
Choose a tag to compare
  • Improved getAllValidTMPKeys() (now getAllValidTemperatureKeys())
  • Added maxNumberBatteries()
  • More detailed example
  • I/O Kit return codes are now full 32-bit values (correct return code). Now at global scope
  • More tests
  • Internal cleanup
  • Renamed
    • getAllValidTMPKeys() -> getAllValidTemperatureKeys()
    • getFanInfo() -> getFanInformation()
    • getTMP() -> getTemperature()
    • TMP -> Temperature
    • TMP_UNIT -> TemperatureUnit
    • FAN -> Fan
    • NUM_KEYS -> COUNT
    • SMC_KEY -> SMCKeyMisc
  • Few enums now private
    • Fan
    • SMCKeyMisc
    • DataType

0.0.8

01 Nov 18:55
Compare
Choose a tag to compare
  • Update to Xcode 6.1 (no code changes)
  • Completed:
    • #5 - Add debug logging
    • #7 - Convert Xcode project to "Cocoa Framework"
  • New temperature sensor SMC key - PALM_REST

0.0.7

12 Oct 01:53
Compare
Choose a tag to compare
  • Rename swift-smc -> SMCKit
  • Update to Xcode 6.1 GM seed 2 (no code changes)
  • New methods:
    • isCharging()
    • isACPresent()
    • isBatteryOk()
  • Improvements to machineProfile()