Skip to content

Tags: mstksg/advent-of-code-api

Tags

v0.2.9.1

Toggle v0.2.9.1's commit message
* Re-export `AoCUserAgent` from `Advent`.

v0.2.9.0

Toggle v0.2.9.0's commit message
* All API requests now require providing a structured user agent data…

… type,

    to follow
    <https://www.reddit.com/r/adventofcode/comments/z9dhtd/please_include_your_contact_info_in_the_useragent/>.
    This is not enforced in the raw servant API, but is enforced in the
    "regulated" `Advent` module.

v0.2.8.5

Toggle v0.2.8.5's commit message
* Compatibility with ghc-9.6 / mtl-2.3

v0.2.8.4

Toggle v0.2.8.4's commit message
* Whoops, the member id is a number now too.

v0.2.8.3

Toggle v0.2.8.3's commit message
* Properly adjust for AoC private leaderboard json: it uses a number …

…instead

    of a string, but the parser was not properly fixed by hand.

v0.2.8.1

Toggle v0.2.8.1's commit message

Verified

This tag was signed with the committer’s verified signature.
mstksg Justin Le
* Account for new json schema for private leaderboard stats

v0.2.8.0

Toggle v0.2.8.0's commit message

Verified

This tag was signed with the committer’s verified signature.
mstksg Justin Le
Version 0.2.8.0

*   Add servant endpoint to query calendar page for a year to infer next puzzle
    and time to puzzle in seconds, backed by the `NextDayTime` data type.
*   Add `AoCNextDayTime` to `AoC` to support the above operation.

v0.2.7.1

Toggle v0.2.7.1's commit message

Verified

This tag was signed with the committer’s verified signature.
mstksg Justin Le
Version 0.2.7.1

*   Work with servant 0.17 and above.

v0.1.7.1

Toggle v0.1.7.1's commit message

Verified

This tag was signed with the committer’s verified signature.
mstksg Justin Le
Version 0.2.7.1

*   Work with servant 0.17 and above.

v0.2.7.0

Toggle v0.2.7.0's commit message

Verified

This tag was signed with the committer’s verified signature.
mstksg Justin Le
Version 0.2.7.0

*   Throughout the library, change from `UTCTime` to `ZonedTime`, except for
    situations where the official site uses actual UTCTime.  The main change is
    in `challengeReleaseTime`.
*   `challengeReleaseTime` moved to *Advent.Types* but re-exported from
    *Advent*.
*   `dlbmTime` changed from `UTCTime` to `NominalDiffTime` `dlbmDecTime`, which
    is time from December 1st.  This is because we don't have information about
    the year from the HTML returned alone.  This fixes a bug where the time
    would always be in 1970.
*   To convert `dlbmDecTime` back into a useful time,added `dlbmCompleteTime`
    to get the actual time of completion (as a `ZonedTime`), and `dlbmTime` to
    get the `NominalDiffTime` representing how long the challenge took.