|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to this project will be documented in this file. |
| 4 | + |
| 5 | +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | +and this project adheres to [Semantic Versioning](https://semver.org/). |
| 7 | + |
| 8 | +## [Unreleased] |
| 9 | + |
| 10 | +### Added |
| 11 | + |
| 12 | +- 43 unit tests and 38 UI tests |
| 13 | +- Xcode schemes for running tests; `make test` and `make uitest` targets |
| 14 | +- `make lint`, `make analyze`, and `make format` targets |
| 15 | +- CI test step in build workflow |
| 16 | +- Sound choice persists across launches |
| 17 | +- Dark mode color support |
| 18 | +- VoiceOver accessibility for timer state and arrow control |
| 19 | + |
| 20 | +### Changed |
| 21 | + |
| 22 | +- Upgraded to Swift 6 |
| 23 | +- Raised deployment target to macOS 14 (Sonoma) |
| 24 | +- Replaced deprecated `NSUserNotification` with `UNUserNotificationCenter` |
| 25 | +- Adopted `async`/`await` throughout (timers, notifications, authorization) |
| 26 | +- Improved keyboard input to use character-based matching (better international keyboard support) |
| 27 | +- Reduced per-frame allocations by caching gradients, images, paths, and formatters |
| 28 | +- Extracted reusable logic into `TimerLogic` for testability |
| 29 | +- Split large files to stay within default SwiftLint thresholds |
| 30 | +- Modernized Xcode project settings and build configuration |
| 31 | +- Expanded SwiftLint opt-in rules from 6 to 73 |
| 32 | +- General code cleanup: tightened access control, removed force unwraps, reduced Obj-C surface |
| 33 | + |
| 34 | +### Removed |
| 35 | + |
| 36 | +- `Keycodes.swift` (replaced by character-based key matching) |
| 37 | +- ~500 lines of unused XIB menus and dead code |
| 38 | +- Deprecated `Info.plist` keys |
| 39 | + |
| 40 | +### Fixed |
| 41 | + |
| 42 | +- Window occlusion detection now checks actual visibility, not just window ordering |
| 43 | +- Secondary timer windows no longer overwrite the primary window's saved position |
| 44 | + |
| 45 | +### CI |
| 46 | + |
| 47 | +- Updated all GitHub Actions to current versions |
| 48 | +- Replaced deprecated SwiftLint and release actions |
| 49 | + |
| 50 | +## [1.6.0] - 2021-01-08 |
| 51 | + |
| 52 | +### Added |
| 53 | + |
| 54 | +- Sound selection menu: choose between 3 sounds or no sound (#107) |
| 55 | + |
| 56 | +### Changed |
| 57 | + |
| 58 | +- Updated cask install instructions (#106) |
| 59 | +- Updated brew cask command format (#98) |
| 60 | + |
| 61 | +## [1.5.5] - 2020-07-16 |
| 62 | + |
| 63 | +### Fixed |
| 64 | + |
| 65 | +- Simplified and fixed countdown display skipping seconds (#94) |
| 66 | + |
| 67 | +### Changed |
| 68 | + |
| 69 | +- Added SwiftLint for code style enforcement (#87) |
| 70 | + |
| 71 | +## [1.5.4] - 2020-07-09 |
| 72 | + |
| 73 | +### Changed |
| 74 | + |
| 75 | +- Use fixed-width font for less jittery countdown display (#86) |
| 76 | + |
| 77 | +## [1.5.3] - 2020-04-23 |
| 78 | + |
| 79 | +### Changed |
| 80 | + |
| 81 | +- Switch to `AVAudioPlayer` for playing the alert sound (#80) |
| 82 | + |
| 83 | +## [1.5.2] - 2020-04-12 |
| 84 | + |
| 85 | +### Added |
| 86 | + |
| 87 | +- Press `R` to restart with the last timer after Escape or completion (#75) |
| 88 | + |
| 89 | +### Changed |
| 90 | + |
| 91 | +- Updated text for "Show in Dock" menu option (#74) |
| 92 | + |
| 93 | +## [1.5.1] - 2020-04-11 |
| 94 | + |
| 95 | +### Fixed |
| 96 | + |
| 97 | +- Fixed buggy mouse control (#72) |
| 98 | + |
| 99 | +## [1.5.0] - 2020-04-11 |
| 100 | + |
| 101 | +### Added |
| 102 | + |
| 103 | +- Dark mode support (#67) |
| 104 | +- GitHub Actions for build and release (#62) |
| 105 | +- Issue templates and Code of Conduct (#63, #64) |
| 106 | +- Keyboard shortcuts documented in README (#65) |
| 107 | +- Makefile for build process (#47) |
| 108 | + |
| 109 | +### Changed |
| 110 | + |
| 111 | +- Updated window layout for Mojave compatibility (#50) |
| 112 | +- Improved battery life with timer tolerance and reduced display updates (#44) |
| 113 | +- Improved countdown precision to ~1/30 second with pre-timer for seconds-boundary alignment (#44) |
| 114 | +- Reduced CPU usage by 20x when window is hidden by tracking visibility (#44) |
| 115 | +- Window position auto-saved and restored across launches (#39) |
| 116 | +- Locale-aware time formatting with small-caps AM/PM (#38) |
| 117 | +- Migrated to Swift 4.1 (#37) |
| 118 | +- Windows properly deallocated when closed with weak references (#39) |
| 119 | + |
| 120 | +### Fixed |
| 121 | + |
| 122 | +- Fixed crash when reopening dock timer after switching dock assignment (#39) |
| 123 | +- Fixed memory leak in mouse event handling (#45) |
| 124 | +- Dock badge properly removed when unchecking "Show in Dock" (#42) |
| 125 | + |
| 126 | +## [1.4] - 2018-08-08 |
| 127 | + |
| 128 | +### Added |
| 129 | + |
| 130 | +- Keypad Enter support (#35) |
| 131 | +- Dock badge with timer countdown (#29) |
| 132 | +- Context menu with dock badge toggle (#29) |
| 133 | +- Current time label when idle (#27) |
| 134 | +- LICENSE file (#18) |
| 135 | +- `.gitignore` (#33) |
| 136 | + |
| 137 | +### Changed |
| 138 | + |
| 139 | +- Hidden unused menus (#34) |
| 140 | +- Compressed image assets (#32) |
| 141 | + |
| 142 | +### Fixed |
| 143 | + |
| 144 | +- Replaced `CGFloat(M_PI)` with `.pi` (#30) |
| 145 | + |
| 146 | +## [1.3] - 2017-06-01 |
| 147 | + |
| 148 | +### Added |
| 149 | + |
| 150 | +- Type seconds from keyboard — e.g., `.150` sets timer to 2:30 (#14) |
| 151 | +- Accept second values up to 599 (#14) |
| 152 | + |
| 153 | +### Fixed |
| 154 | + |
| 155 | +- Reduced beeping on key down (#15) |
| 156 | + |
| 157 | +## [1.2] - 2017-02-13 |
| 158 | + |
| 159 | +### Added |
| 160 | + |
| 161 | +- Homebrew cask install instructions |
| 162 | +- Stay on Top toggle with preference persistence (#9) |
| 163 | + |
| 164 | +### Changed |
| 165 | + |
| 166 | +- Migrated to Swift 3 (#8) |
| 167 | + |
| 168 | +## [1.1.0] - 2016-05-18 |
| 169 | + |
| 170 | +### Added |
| 171 | + |
| 172 | +- Keyboard input support |
| 173 | +- macOS 10.10 support |
| 174 | + |
| 175 | +### Fixed |
| 176 | + |
| 177 | +- Fixed countdown timing |
| 178 | + |
| 179 | +## [1.0.2] - 2016-03-30 |
| 180 | + |
| 181 | +### Changed |
| 182 | + |
| 183 | +- README updates |
| 184 | + |
| 185 | +## [1.0.1] - 2016-03-30 |
| 186 | + |
| 187 | +### Fixed |
| 188 | + |
| 189 | +- Fixed crash on launch |
| 190 | + |
| 191 | +[Unreleased]: https://github.com/karbassi/timer-app/compare/1.6.0...HEAD |
| 192 | +[1.6.0]: https://github.com/michaelvillar/timer-app/compare/1.5.5...1.6.0 |
| 193 | +[1.5.5]: https://github.com/michaelvillar/timer-app/compare/1.5.4...1.5.5 |
| 194 | +[1.5.4]: https://github.com/michaelvillar/timer-app/compare/1.5.3...1.5.4 |
| 195 | +[1.5.3]: https://github.com/michaelvillar/timer-app/compare/1.5.2...1.5.3 |
| 196 | +[1.5.2]: https://github.com/michaelvillar/timer-app/compare/1.5.1...1.5.2 |
| 197 | +[1.5.1]: https://github.com/michaelvillar/timer-app/compare/1.5.0...1.5.1 |
| 198 | +[1.5.0]: https://github.com/michaelvillar/timer-app/compare/1.4...1.5.0 |
| 199 | +[1.4]: https://github.com/michaelvillar/timer-app/compare/1.3...1.4 |
| 200 | +[1.3]: https://github.com/michaelvillar/timer-app/compare/1.2...1.3 |
| 201 | +[1.2]: https://github.com/michaelvillar/timer-app/compare/1.1.0...1.2 |
| 202 | +[1.1.0]: https://github.com/michaelvillar/timer-app/compare/1.0.2...1.1.0 |
| 203 | +[1.0.2]: https://github.com/michaelvillar/timer-app/compare/1.0.1...1.0.2 |
| 204 | +[1.0.1]: https://github.com/michaelvillar/timer-app/releases/tag/1.0.1 |
0 commit comments