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

80 lines
3.4 KiB
Markdown
Raw Normal View History

2019-10-09 05:52:42 +03:00
# Changelog [![npm](https://img.shields.io/npm/v/elm-pages.svg)](https://npmjs.com/package/elm-pages)
All notable changes to
[the `elm-pages` npm package](https://www.npmjs.com/package/elm-pages)
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-26 03:57:55 +03:00
## [1.2.0] - 2020-01-20
### Changed
- Changed the CLI generator to expect code from the new Elm package from the new
`generateFiles` hook in `Pages.Platform.application`.
2020-01-21 05:09:21 +03:00
## [1.1.8] - 2020-01-20
### Fixed
- "Missing content" message no longer flashes between pre-rendered HTML and the Elm app hydrating and taking over the page. See [#48](https://github.com/dillonkearns/elm-pages/pull/48).
2020-01-13 05:58:30 +03:00
## [1.1.7] - 2020-01-12
### Fixed
- Newlines and escaped double quotes (`"`s) are handled properly in content frontmatter now. See [#41](https://github.com/dillonkearns/elm-pages/pull/41). Thank you [Luke](https://github.com/lukewestby)! 🎉🙏
2020-01-05 06:22:38 +03:00
## [1.1.6] - 2020-01-04
### Added
- Added hot reloading for code changes! That means that in dev mode (`elm-pages develop`),
you can change your code and the changes will be reloaded in your browser for you instantly.
Note that changing files in your `content` folder won't yet be instantly reloaded, that will
be a future task. See [#35](https://github.com/dillonkearns/elm-pages/pull/35).
2020-01-04 05:47:07 +03:00
## [1.1.5] - 2020-01-03
### Fixed
- Fixed the bug that showed blank pages and failed page reloads when you change files in the `content` folder. Thank you so much [@danmarcab](https://github.com/danmarcab) for contributing the fix! See [#23](https://github.com/dillonkearns/elm-pages/pull/23).
2020-01-04 03:58:46 +03:00
## [1.1.4] - 2020-01-03
2020-01-04 02:13:33 +03:00
2020-01-04 03:58:21 +03:00
### Changed
- Updated `favicons-webpack-plugin` to latest version. Had to upgrade to `html-webpack-plugin@4.0.0-beta.11`
for this. See [#32](https://github.com/dillonkearns/elm-pages/issues/32).
## [1.1.3] - 2020-01-03
2020-01-04 03:21:26 +03:00
*Check out [this upgrade checklist](https://github.com/dillonkearns/elm-pages/blob/master/docs/upgrade-guide.md#upgrading-to-elm-package-110-and-npm-package-113) for more details and steps for upgrading your project.
2020-01-04 02:13:33 +03:00
### Changed
- Added `StaticHttp` requests in the CLI process (see the Elm package changelog).
2019-11-14 17:56:56 +03:00
## [1.0.41] - 2019-11-14
### Fixed
- Fixed a regression where elm-markup frontmatter was being incorrectly parsed as JSON
(fixes [#20](https://github.com/dillonkearns/elm-pages/issues/20)).
2019-11-04 21:37:44 +03:00
## [1.0.40] - 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 Elm package.
### Added
- Ability to use a custom port for dev server ([#10](https://github.com/dillonkearns/elm-pages/pull/10); thank you [@leojpod](https://github.com/leojpod)! 🎉)
2019-10-19 03:50:01 +03:00
## [1.0.39] - 2019-10-18
2019-10-19 03:45:05 +03:00
2019-10-09 05:52:42 +03:00
### Fixed
- Use hidden `<div>` to listen for Elm view renders instead of wrapping entire
page in an extra div. Fixes [#5](https://github.com/dillonkearns/elm-pages/issues/5).
### Changed
- Add `onPageChange : PagePath Pages.PathKey -> userMsg` field to `Pages.application` config record.
This is analagous to `onUrlChange` in `Browser.application`, except that you get a
type-safe `PagePath Pages.PathKey` because it is guaranteed that you will only
go to one of your static routes when this `Msg` is fired. Fixes [#4](https://github.com/dillonkearns/elm-pages/issues/4).