Changelog History
Page 1
-
v0.2.8.1 Changes
November 30, 2021
🚀 https://github.com/mstksg/advent-of-code-api/releases/tag/v0.2.8.1
- Account for new json schema for private leaderboard stats
-
v0.2.8.0 Changes
December 14, 2020
🚀 https://github.com/mstksg/advent-of-code-api/releases/tag/v0.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
toAoC
to support the above operation.
- Add servant endpoint to query calendar page for a year to infer next puzzle
and time to puzzle in seconds, backed by the
-
v0.2.7.1 Changes
November 28, 2020
🚀 https://github.com/mstksg/advent-of-code-api/releases/tag/v0.2.7.1
- Work with servant 0.17 and above.
-
v0.2.7.0 Changes
December 04, 2019December 4, 2019
🚀 https://github.com/mstksg/advent-of-code-api/releases/tag/v0.2.7.0
- Throughout the library, change from
UTCTime
toZonedTime
, except for situations where the official site uses actual UTCTime. The main change is inchallengeReleaseTime
. -
challengeReleaseTime
moved to Advent.Types but re-exported from Advent. -
dlbmTime
changed fromUTCTime
toNominalDiffTime
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,addeddlbmCompleteTime
to get the actual time of completion (as aZonedTime
), anddlbmTime
to get theNominalDiffTime
representing how long the challenge took.
- Throughout the library, change from
-
v0.2.6.0 Changes
December 03, 2019December 3, 2019
🚀 https://github.com/mstksg/advent-of-code-api/releases/tag/v0.2.6.0
- Add
aocServerTime
to get the current time for AoC servers. - Fix cacheing rules for global leaderboard (was previously not saving or invalidating cache properly) also for prompt (will not invalidate part1-only caches if there is no session key)
- 🛠 0.2.6.1 Bugfix: Fix bug in prompt cache invalidation
- 🛠 0.2.6.2 Bugfix: HTML parser for articles (for prompt API calls) now more robust, adjusting for more malformed HTML from site.
- Add
-
v0.2.5.0 Changes
December 02, 2019December 2, 2019
🚀 https://github.com/mstksg/advent-of-code-api/releases/tag/v0.2.5.0
- 👻 Add
runAoC_
, which isrunAoC
but throwing an IO exception instead of returning anEither
.
- 👻 Add
-
v0.2.4.2 Changes
November 24, 2019November 23, 2019
🚀 https://github.com/mstksg/advent-of-code-api/releases/tag/v0.2.4.2
- Added instances of
ToJSONKey Day
,ToJSON Day
,ToJSONKey Part
,ToJSON Part
.
- Added instances of
-
v0.2.4.1 Changes
November 21, 2019November 21, 2019
🚀 https://github.com/mstksg/advent-of-code-api/releases/tag/v0.2.4.1
- Export
DayInt
and_DayInt
from Advent module
- Export
-
v0.2.4.0 Changes
November 21, 2019November 21, 2019
🚀 https://github.com/mstksg/advent-of-code-api/releases/tag/v0.2.4.0
- 📚 Fixed caching behavior and documentation to reflect that Day 25 actually does have 2 stars, like normal.
- Some extra smart constructors for moving between
Day
andInteger
, in the form of aPrism
and a pattern synonym.
-
v0.2.3.0 Changes
November 21, 2019November 21, 2019
🚀 https://github.com/mstksg/advent-of-code-api/releases/tag/v0.2.3.0
- Add API commands for daily and global leaderboards.
- In the process, the Servant API is reshuffled a bit:
Articles
has been generalized toHTMLTags "article"
, to also supportHTMLTags "div"
.FromArticle
is nowFromTags "article"
. - Move some of the data types to be in their own module, Advent.Types.