From 6c4c7ef3af3dfee3b5666294f55b0d8f4ff2538d Mon Sep 17 00:00:00 2001 From: Frank Hunleth Date: Wed, 19 Feb 2020 09:51:49 -0500 Subject: [PATCH] v0.4.0 release --- CHANGELOG.md | 17 +++++++++++++++++ mix.exs | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index de40e56..57020c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## v0.4.0 + +* New features + * Added `NervesTime.RealTimeClock` behaviour to support external RTC + implementations. The default RTC is still FileTime. I.e., approximate an RTC + by periodically updating the modified time on a file and reading it back at + boot. See [https://github.com/nerves-time](github.com/nerves-time) for + example RTC implementations. + +* Bug fixes + * `NervesTime.synchronized?/0` will stay true once NTP synchronizes. It will + not revert to false unless a crash happens and the NTP code restarts. This + should address some confusion, since in practice the function was being used + to check whether the system time could be used. Bouncing the answer between + true and false depending on ntp reports was confusing since the system time + had already been set once and was plenty close to the real time. + ## v0.3.2 * Improvements diff --git a/mix.exs b/mix.exs index b38bb08..e7a8337 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule NervesTime.MixProject do use Mix.Project - @version "0.3.2" + @version "0.4.0" @source_url "https://github.com/nerves-time/nerves_time" def project do