Skip to content

Commit

Permalink
v0.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
fhunleth committed Feb 20, 2020
1 parent 038f0f6 commit 6c4c7ef
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 6c4c7ef

Please sign in to comment.