## Version 0.0.18 (2026-11-18)
### Improved
- Performance: Pre-built an in-memory `userLicensesMap` in `groupSync()` for `addLicense()`, eliminating repeated `Assigned` sheet reads per user.
- Performance: Reduced Directory API calls by fetching group and OU memberships once per row and filtering suspended/archived users in memory.
- Performance: Removed redundant per-user `AdminDirectory.Users.get()` calls during unarchive checks in favor of cached `lastLogins` data.
- Performance: Updated `findUsersWithObsoleteLicenses()` to reuse already-loaded `Members`, `Assigned`, and membership data instead of re-reading sheets and re-fetching APIs.
## Version 0.0.17 (2026-11-08)
### Fixed
- Bug fix: Replaced `.forEach()` archive and unarchive loops in `groupSync()` with `for...of` loops that recompute the current timestamp on each iteration so timeout checks and rescheduling trigger accurately.
- Bug fix: Aligned `runLimit` handling across `groupSync()`, `getLicenses()`, and `getLastLogin()` to pause and reschedule cleanly before hitting Apps Script's 6-minute execution limit.
## Version 0.0.16 (2026-10-30)
### Fixed
- Bug fix: Updated `getLicenses()` to persist and resume from `{ index, pageToken }` without clearing the `Assigned` sheet on resumed runs.
- Bug fix: Added row and column bounds checks in `simulateSync()`, `getMembers()`, and `getLastLogin()` to prevent empty-range errors.
- Bug fix: Updated `findUsersWithObsoleteLicenses()` to filter by the current row's `skuId` so users are not flagged for unrelated licenses.
### Improved
- Performance: Removed the synchronous `checkUpdate()` call from `onOpen()` to speed up spreadsheet startup.
## Version 0.0.15 (2026-09-21)
### Fixed
- Bug fix: Added missing array commas in `updateLicenseSheet()` that caused a runtime error.
- Bug fix: Fixed `const` reassignment error in `getLastLoginMap()` when prompting for a login data refresh.
- Bug fix: Replaced `forEach` + `shift()` with a `while` loop in `queue()` so queued tasks are not skipped.
- Bug fix: Updated `syncOrgUnitTrigger()` to call `groupSync('automated')` instead of an undefined function.
## Version 0.0.14 (2026-09-13)
### Fixed
- Bug fix: Resolved issue where archiving users failed due to `skuId` returning as undefined. Bypassed the `getConfig()` mapping to look up SKU IDs directly from the hardcoded `licenses` array.
## Version 0.0.13 (2026-08-19)
### Added
- Update: Added Google AI Pro license type and renamed Archived user license.
## Version 0.0.12 (2025-06-24)
### Added
- New feature: Updated to include support for changes to Google Workspace for Education Fundamentals licenses to allow assignment and removal.
- New feature: Added support for Google Workspace for Education Gmail-only and Archive user licenses.
- New feature: GWfE license tool now supports archiving of users.
## Version 0.0.11 (2024-09-11)
### Fixed
- Bug fix: Corrected issue with filtering for suspended users in an OU
## Version 0.0.10 (2024-05-29)
### Added
- New feature: Added support for Gemini Education and Gemini Education Premium
### Fixed
- Bug fix: Fixed issue with rescheduling license removals for large numbers of users.
- Bug fix: Changed column heading in "Groups OrgUnits to Sync" from "Provision Suspended Users" to "Process Suspended Users" for greater clarity.
## Version 0.0.9 (2023-12-11)
### Added
- New feature: Improved handling of assigning licenses to a large number of users.
### Fixed
- Bug fix: Resolved logging issue with duplicate entries being recorded.
- Bug fix: Fixed menu error when update is waiting.