Skip to content

Commit 7d7931c

Browse files
Generate changelog and add PR template (#84)
* Generate CHANGELOG.md file using notes from previous GH releases * Add pull request template * Update CI in PS to v0.14.0-rc5
1 parent 4ed0626 commit 7d7931c

File tree

3 files changed

+168
-1
lines changed

3 files changed

+168
-1
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
**Description of the change**
2+
3+
Clearly and concisely describe the purpose of the pull request. If this PR relates to an existing issue or change proposal, please link to it. Include any other background context that would help reviewers understand the motivation for this PR.
4+
5+
---
6+
7+
**Checklist:**
8+
9+
- [ ] Added the change to the changelog's "Unreleased" section with a reference to this PR (e.g. "- Made a change (#0000)")
10+
- [ ] Linked any existing issues or proposals that this pull request should close
11+
- [ ] Updated or added relevant documentation
12+
- [ ] Added a test for the contribution (if applicable)

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
- uses: purescript-contrib/setup-purescript@main
1616
with:
17-
purescript: "0.14.0-rc3"
17+
purescript: "0.14.0-rc5"
1818

1919
- uses: actions/setup-node@v1
2020
with:

CHANGELOG.md

Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,155 @@
1+
# Changelog
2+
3+
Notable changes to this project are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
4+
5+
## [Unreleased]
6+
7+
Breaking changes:
8+
9+
New features:
10+
11+
Bugfixes:
12+
13+
Other improvements:
14+
15+
## [v4.1.1](https://github.com/purescript/purescript-datetime/releases/tag/v4.1.1) - 2019-02-09
16+
17+
Fixed minimum bound on `toEnum` for `Year` (@bouzuya)
18+
19+
## [v4.1.0](https://github.com/purescript/purescript-datetime/releases/tag/v4.1.0) - 2018-10-25
20+
21+
Adds an `adjust` function to change a date by a specified duration of days
22+
23+
## [v4.0.0](https://github.com/purescript/purescript-datetime/releases/tag/v4.0.0) - 2018-05-24
24+
25+
- Updated for PureScript 0.12
26+
- Removed `Locale` - it was a glorified `Tuple` without any useful extra functionality
27+
- Duration values no longer implement `Ring` and `Semiring`, but now have `Semiring` and `Monoid` instances and a `negateDuration` function
28+
29+
## [v3.4.1](https://github.com/purescript/purescript-datetime/releases/tag/v3.4.1) - 2017-11-04
30+
31+
- Fix for pursuit auto-publishing
32+
33+
## [v3.4.0](https://github.com/purescript/purescript-datetime/releases/tag/v3.4.0) - 2017-09-22
34+
35+
- Export `fromDate` for `Instant` (@javcasas)
36+
37+
## [v3.3.0](https://github.com/purescript/purescript-datetime/releases/tag/v3.3.0) - 2017-06-26
38+
39+
- Added types for intervals (@safareli)
40+
41+
## [v3.2.0](https://github.com/purescript/purescript-datetime/releases/tag/v3.2.0) - 2017-06-08
42+
43+
- Added generators for date/time types
44+
45+
## [v3.1.0](https://github.com/purescript/purescript-datetime/releases/tag/v3.1.0) - 2017-06-04
46+
47+
- Added `lastDayOfMonth` (@MichaelXavier)
48+
49+
## [v3.0.0](https://github.com/purescript/purescript-datetime/releases/tag/v3.0.0) - 2017-03-27
50+
51+
- Updated for PureScript 0.11
52+
53+
## [v2.2.0](https://github.com/purescript/purescript-datetime/releases/tag/v2.2.0) - 2017-03-13
54+
55+
- Added functions to modify just the date or time component of a `DateTime`
56+
57+
## [v2.1.1](https://github.com/purescript/purescript-datetime/releases/tag/v2.1.1) - 2017-03-08
58+
59+
- Fixed behaviour of `diff` for `Date` types
60+
61+
## [v2.1.0](https://github.com/purescript/purescript-datetime/releases/tag/v2.1.0) - 2017-02-14
62+
63+
- Added `isLeapYear` predicate function (@MichaelXavier)
64+
65+
## [v2.0.0](https://github.com/purescript/purescript-datetime/releases/tag/v2.0.0) - 2016-10-13
66+
67+
- Updated dependencies
68+
69+
## [v1.0.0](https://github.com/purescript/purescript-datetime/releases/tag/v1.0.0) - 2016-06-09
70+
71+
This release is intended for the PureScript 0.9.1 compiler and newer.
72+
73+
The library has been redesigned, and now no longer provides a type for the JavaScript `Date` object or the ability to fetch the current time, these are now provided by [`purescript-js-date`](https://github.com/purescript-contrib/purescript-js-date) and [`purescript-now`](https://github.com/purescript-contrib/purescript-now) libraries.
74+
75+
**Note**: The v1.0.0 tag is not meant to indicate the library is “finished”, the core libraries are all being bumped to this for the 0.9 compiler release so as to use semver more correctly.
76+
77+
## [v0.9.2](https://github.com/purescript/purescript-datetime/releases/tag/v0.9.2) - 2016-04-05
78+
79+
- Added `toISOString` (@parsonsmatt)
80+
81+
## [v0.9.1](https://github.com/purescript/purescript-datetime/releases/tag/v0.9.1) - 2015-11-20
82+
83+
- Removed unused import (@tfausak)
84+
85+
## [v0.9.0](https://github.com/purescript/purescript-datetime/releases/tag/v0.9.0) - 2015-08-13
86+
87+
- Updated dependencies
88+
89+
## [v0.8.0](https://github.com/purescript/purescript-datetime/releases/tag/v0.8.0) - 2015-08-02
90+
91+
- Updated dependencies
92+
93+
## [v0.7.0](https://github.com/purescript/purescript-datetime/releases/tag/v0.7.0) - 2015-07-25
94+
95+
- Fixed time values (`Hours`, `Minutes`, `Seconds`, `Milliseconds`) by changing the internal representation to `Number`. Previously `Milliseconds` would overflow when using functions like `toEpochMilliseconds`. (@nwolverson)
96+
97+
## [v0.6.0](https://github.com/purescript/purescript-datetime/releases/tag/v0.6.0) - 2015-06-30
98+
99+
This release works with versions 0.7.\* of the PureScript compiler. It will not work with older versions. If you are using an older version, you should require an older, compatible version of this library.
100+
101+
## [v0.6.0-rc.1](https://github.com/purescript/purescript-datetime/releases/tag/v0.6.0-rc.1) - 2015-06-14
102+
103+
Initial release candidate of the library intended for the 0.7 compiler.
104+
105+
## [v0.5.3](https://github.com/purescript/purescript-datetime/releases/tag/v0.5.3) - 2015-05-22
106+
107+
- Added `toLocaleString` and variants (@hdgarrood)
108+
109+
## [v0.5.2](https://github.com/purescript/purescript-datetime/releases/tag/v0.5.2) - 2015-04-13
110+
111+
- Fixed bug with exceptions being thrown when attempting to use members of the UTC module #14 (@bkyrlach)
112+
113+
## [v0.5.1](https://github.com/purescript/purescript-datetime/releases/tag/v0.5.1) - 2015-04-08
114+
115+
- Fixed methods in `Locale` to not call the `UTC` variants #11
116+
117+
## [v0.5.0](https://github.com/purescript/purescript-datetime/releases/tag/v0.5.0) - 2015-04-06
118+
119+
- Update dependencies
120+
121+
## [v0.4.0](https://github.com/purescript/purescript-datetime/releases/tag/v0.4.0) - 2015-03-28
122+
123+
- Library has been redesigned for better safety
124+
- UTC dates can now be constructed
125+
- The current time in milliseconds since the unix epoch can now be fetched without having to construct a date
126+
127+
## [v0.3.1](https://github.com/purescript/purescript-datetime/releases/tag/v0.3.1) - 2015-03-01
128+
129+
- Days of the week are now exported (@nwolverson)
130+
131+
## [v0.3.0](https://github.com/purescript/purescript-datetime/releases/tag/v0.3.0) - 2015-02-21
132+
133+
**This release requires PureScript v0.6.8 or later**
134+
- Updated dependencies
135+
136+
## [v0.2.0](https://github.com/purescript/purescript-datetime/releases/tag/v0.2.0) - 2015-01-11
137+
138+
- Updated for new `purescript-enum` (@philopon)
139+
140+
## [v0.1.2](https://github.com/purescript/purescript-datetime/releases/tag/v0.1.2) - 2014-12-15
141+
142+
- Fix `now` implementation (@Fresheyeball)
143+
144+
## [v0.1.1](https://github.com/purescript/purescript-datetime/releases/tag/v0.1.1) - 2014-11-24
145+
146+
Added `fromStringStrict` and updated dependencies (@jdegoes)
147+
148+
## [v0.1.0](https://github.com/purescript/purescript-datetime/releases/tag/v0.1.0) - 2014-10-14
149+
150+
- Added `Eq` and `Ord` instances for `DayOfWeek` and `Month`, update for new `Enum` (@jdegoes)
151+
152+
## [v0.0.1](https://github.com/purescript/purescript-datetime/releases/tag/v0.0.1) - 2014-10-14
153+
154+
Initial version release.
155+

0 commit comments

Comments
 (0)