elm-pages-v3-beta/CHANGELOG-ELM.md

33 lines
2.0 KiB
Markdown
Raw Normal View History

2019-12-10 17:45:34 +03:00
# Changelog [![Elm package](https://img.shields.io/elm-package/v/dillonkearns/elm-pages.svg)](https://package.elm-lang.org/packages/dillonkearns/elm-pages/latest/)
All notable changes to
[the `dillonkearns/elm-pages` elm package](http://package.elm-lang.org/packages/dillonkearns/elm-pages/latest)
will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [Unreleased]
2020-01-04 02:10:55 +03:00
## [1.1.0] - 2020-01-03
2019-12-10 17:45:34 +03:00
### Added
2020-01-04 02:10:55 +03:00
- There's a new StaticHttp API. Read more about it in [this `StaticHttp` announcement blog post](http://elm-pages.com/blog/static-http)!
2019-12-10 17:45:34 +03:00
- The generated `Pages.elm` module now includes `builtAt : Time.Posix`. Make sure you have `elm/time` as a dependency in your project!
You can use this when you make API requests to filter based on a date range starting with the current date.
If you want a random seed that changes on each build (or every week, or every month, etc.), then you can use this time stamp
(and perform modulo arithemtic based on the date for each week, month, etc.) and use that number as a random seed.
### Changed
- Instead of initializing an application using `Pages.application` from the generated `Pages` module, you now initialize the app
using `Pages.Platform.application` which is part of the published Elm package. So now it's easier to browse the docs.
You pass in some internal data from the generated `Pages.elm` module now by including
2019-12-11 04:25:08 +03:00
this in the application config record: `Pages.Platform.application { internals = Pages.internals, ... <other fields> }`.
2020-01-03 04:01:58 +03:00
- Add init argument and user Msg for initial PagePath and page changes (see [#4](https://github.com/dillonkearns/elm-pages/issues/4)).
2019-12-11 04:25:08 +03:00
2019-11-04 21:37:44 +03:00
## [1.0.1] - 2019-11-04
2019-11-04 21:33:39 +03:00
### Fixed
- Generate files for extensions other than `.md` and `.emu` (fixes [#16](https://github.com/dillonkearns/elm-pages/issues/16)).
As always, be sure to also use the latest NPM package.