# changelog

author: GetPageSpeed <info@getpagespeed.com> 1.8.4-1
changelog:
  - 1.8.4-1
  - Replace asyncore with selectors for Python 3.12+ compatibility
  - Add GitHub Actions CI with Python 3.8-3.13 test matrix


author: GetPageSpeed <info@getpagespeed.com> 1.8.5-1
changelog:
  - 1.8.5-1
  - Agent now starts when agent.conf lacks the optional [loggers]/[handlers]/[formatters] sections (falls back to built-in logging defaults)
  - systemd unit Documentation URL points to amplify.getpagespeed.com/docs


author: GetPageSpeed <info@getpagespeed.com> 1.8.5-2
changelog:
  - 1.8.5-2
  - Fix TypeError in exponential_delay() on Python 3.12+ (Noble/Trixie/EL10/Fedora/SLES16)
  - Ported from upstream PR github.com/nginxinc/nginx-amplify-agent/pull/125 by @jasil1414


author: GetPageSpeed <info@getpagespeed.com> 1.8.9-1
changelog:
  - 1.8.9-1
  - install.sh self-heals a missing /etc/amplify-agent/agent.conf.default
    after package install (yum reinstall on RPM, apt-get install --reinstall
    --force-confmiss on DEB). Closes a customer-reported "can't find
    /etc/amplify-agent/agent.conf.default" abort on Ubuntu 22.04 after a
    remove + rm /etc/amplify-agent + reinstall cycle.
  - DEB-only: agent.conf.default is no longer registered as a dpkg conffile
    (it is a build-time template for install.sh, not a user-editable config).
    No behavior change on RPM, since the spec lists /etc/amplify-agent//* without
    %config(noreplace).


author: GetPageSpeed <info@getpagespeed.com> 1.8.10-1
changelog:
  - 1.8.10-1
  - (DEB-only fix, no behavior change on RPM.) Follow-up to 1.8.9-1
    after the test-deb-reinstall-recovery integration test caught two
    more bugs on jammy:
    * override_dh_installdeb in debian/rules strips agent.conf.default
      from the auto-detected conffiles list. The 1.8.9-1 attempt used a
      .conffiles file, but that APPENDS to auto-detection rather than
      replacing it.
    * postinst no longer early-exits on the upgrade branch when
      agent.conf is missing -- the early exit was skipping
      dh_installsystemd's unmask, so a service masked by `apt-get remove`
      stayed masked through reinstall and install.sh's "Launching" step
      failed.
  - (Cross-distro) install.sh self-heal branch added in 1.8.9-1 has been
    removed -- redundant once 1.8.10-1 is the latest available package.


author: GetPageSpeed <info@getpagespeed.com> 1.8.11-1
changelog:
  - 1.8.11-1
  - Fix "This operation would block forever" race on EL7 cold-boot start.
    python-daemon's DaemonContext double-forks via os.fork captured at
    import time -- before our gevent.monkey.patch_all() ran -- so gevent's
    auto-reinit-on-fork never fires. The child process inherited a hub
    whose libev wakefd/eventfd were closed during fork, and the
    supervisor's first network call raised
    gevent.hub.LoopExit("This operation would block forever").
    Call gevent.reinit() in the child immediately after DaemonContext
    enters to rebuild the libev hub. Manifested at cold boot on EL7;
    warm restarts got scattered FD numbers and usually escaped the race.


