1 | # Changelog
|
2 |
|
3 | ## 1.9.0 - 2018-05-03
|
4 | - Fix: update momentjs version ([#190](https://github.com/urish/ngx-moment/issues/190))
|
5 | - Fix: amTimeAgo pipe updates it's output when locale changes ([#188](https://github.com/urish/ngx-moment/pull/188), contributed by [lukasz-kusnierz](https://github.com/lukasz-kusnierz))
|
6 |
|
7 | ## 1.8.0 - 2018-01-23
|
8 | - Fix: Remove `node_modules` from compiled version ([#187](https://github.com/urish/angular2-moment/pull/187), contributed by [wachri](https://github.com/wachri))
|
9 |
|
10 | ## 1.7.1 - 2017-12-22
|
11 | - Fix bug where FromUtcPipe was being imported instead of exported ([#180](https://github.com/urish/angular2-moment/pull/180), contributed by [fshin123](https://github.com/fshin123))
|
12 | - test: fix amLocal tests to pass regardless of timezone
|
13 |
|
14 | ## 1.7.0 - 2017-08-19
|
15 | - Add `amFromUtc` pipe ([#163](https://github.com/urish/angular2-moment/pull/163), contributed by [connormlewis](https://github.com/connormlewis))
|
16 |
|
17 | ## 1.6.0 - 2017-07-18
|
18 | - Add `amLocal` pipe ([#153](https://github.com/urish/angular2-moment/pull/153), contributed by [benwilkins](https://github.com/benwilkins))
|
19 |
|
20 | ## 1.5.0 - 2017-07-14
|
21 | - Add `amLocale` pipe ([#155](https://github.com/urish/angular2-moment/pull/155), contributed by [FallenRiteMonk](https://github.com/FallenRiteMonk))
|
22 | - Migrate testing framework to jest
|
23 |
|
24 | ## 1.4.0 - 2017-06-18
|
25 | - Add `amParse` pipe to enable parsing of custom-formatted date string ([#148](https://github.com/urish/angular2-moment/pull/148), contributed by [vin-car](https://github.com/vin-car))
|
26 |
|
27 | ## 1.3.3 - 2017-03-18
|
28 | - Fix: `amCalendar` causes protractor to timeout on waiting async Angular ([#135](https://github.com/urish/angular2-moment/pull/135), contributed by [romanovma](https://github.com/romanovma))
|
29 |
|
30 | ## 1.3.2 - 2017-03-17
|
31 | - Fix: Add missing `amAdd` and `amSubtract` pipes to the NgModule ([#134](https://github.com/urish/angular2-moment/pull/134), contributed by [datencia](https://github.com/datencia))
|
32 |
|
33 | ## 1.3.1 - 2017-03-16
|
34 | - Add missing `amAdd` and `amSubtract` pipes (fixes [#130](https://github.com/urish/angular2-moment/issues/130))
|
35 |
|
36 | ## 1.3.0 - 2017-03-10
|
37 | - Enable Angular 4 as peer dependency
|
38 |
|
39 | ## 1.2.0 - 2017-02-09
|
40 | - Add `amUtc` pipe ([#121](https://github.com/urish/angular2-moment/pull/121), contributed by [bodnarbm](https://github.com/bodnarbm))
|
41 |
|
42 | ## 1.1.0 - 2017-01-09
|
43 | Happy new year!
|
44 |
|
45 | - Add `referenceTime` and `format` args to `amCalendar` ([#64](https://github.com/urish/angular2-moment/pull/64), contributed by [irsick](https://github.com/irsick))
|
46 | - Add `amAdd` and `amSubtract` pipes ([#113](https://github.com/urish/angular2-moment/pull/113), contributed by [dustin486](https://github.com/dustin486))
|
47 | - Fix: Do not import whole Rx.js library ([#117](https://github.com/urish/angular2-moment/pull/117), contributed by [FabienDehopre](https://github.com/FabienDehopre))
|
48 |
|
49 | ## 1.0.0 - 2016-12-01
|
50 | Promoted 1.0.0-rc.1 to final release
|
51 |
|
52 | ## 1.0.0-rc.1 - 2016-11-11
|
53 | *** Breaking change: Requires moment 2.16.0 or newer
|
54 |
|
55 | - Fix “Expression has changed after it was checked” ([#111](https://github.com/urish/angular2-moment/pull/111), contributed by [nithril](https://github.com/nithril))
|
56 | - Fix "Module 'moment' has no exported member 'UnitOfTime'" ([#112](https://github.com/urish/angular2-moment/issues/112))
|
57 |
|
58 | ## 1.0.0-beta.6 - 2016-10-24
|
59 | *** Breaking change: typescript sources are no longer published in the npm package
|
60 |
|
61 | - Inline sources in the source map file, should fix [#96](https://github.com/urish/angular2-moment/issues/96).
|
62 | - Handle undefined dates in `amDateFormat` pipe ([#105](https://github.com/urish/angular2-moment/pull/105/files), contributed by [amcdnl](https://github.com/amcdnl))
|
63 |
|
64 | ## 1.0.0-beta.5 - 2016-10-13
|
65 |
|
66 | *** Breaking change: source files renamed, which could affect your imports:
|
67 |
|
68 | import { TimeAgoPipe } from 'angular-moment/TimeAgoPipe';
|
69 |
|
70 | now becomes:
|
71 |
|
72 | import { TimeAgoPipe } from 'angular-moment/time-ago.pipe';
|
73 |
|
74 | All changes:
|
75 |
|
76 | - Rename source files to follow [Angular 2 Style Guide conventions](https://angular.io/styleguide#!#02-02)
|
77 | - Require `moment` >= 2.13.0, and remove `@types/moment` from our dependencies (as it is already included in `moment`)
|
78 |
|
79 | ## 1.0.0-beta.4 - 2016-10-06
|
80 | - Add support for server side pre-rendering ([#89](https://github.com/urish/angular2-moment/pull/89), contributed by [https://github.com/jmezach](https://github.com/jmezach))
|
81 | - Fix a bug caused TimeAgo and Calendar pipes not to update automatically ([#94](https://github.com/urish/angular2-moment/pull/94))
|
82 | - Add `@types/moment` to package dependencies (see [#91](https://github.com/urish/angular2-moment/issues/91))
|
83 |
|
84 | ## 1.0.0-beta.3 - 2016-10-04
|
85 | - Fix exports for Rollup / Ionic 2 users ([#86](https://github.com/urish/angular2-moment/pull/86), contributed by [TheMadBug](https://github.com/TheMadBug))
|
86 | - Protractor fix: run long standing timeouts outside of angular zones ([#74](https://github.com/urish/angular2-moment/pull/74), contributed by [tiagoroldao](https://github.com/tiagoroldao))
|
87 |
|
88 | ## 1.0.0-beta.2 - 2016-10-01
|
89 | - Switch to Typescript 2.0
|
90 | - Angular 2 AoT (Ahead of Time) template compilation support ([#68](https://github.com/urish/angular2-moment/issues/68))
|
91 | - Removed impure flags from pure Pipes: `amDateFormat` and `amDifference` ([#75](https://github.com/urish/angular2-moment/pull/75), contributed by [tiagoroldao](https://github.com/tiagoroldao))
|
92 |
|
93 | ## 1.0.0-beta.1 - 2016-08-16
|
94 | - Support angular-2.0.0-rc.5 NgModules, see [README](README.md) for details.
|
95 |
|
96 | ## 0.8.2 - 2016-08-01
|
97 | - Add `amDifference` pipe ([#54](https://github.com/urish/angular2-moment/pull/54), contributed by [josx](https://github.com/josx))
|
98 |
|
99 | ## 0.8.1 - 2016-07-03
|
100 | - Add `omitSuffix` parameter to `amTimeAgo` pipe ([#47](https://github.com/urish/angular2-moment/pull/47), contributed by [bzums](https://github.com/bzums))
|
101 |
|
102 | ## 0.8.0 - 2016-05-22
|
103 | - Publish typescript sources under `src` folder, should fix Ionic 2 issues such as [#28](https://github.com/urish/angular2-moment/issues/28) and [#33](https://github.com/urish/angular2-moment/issues/33).
|
104 |
|
105 | ## 0.7.0 - 2016-05-03
|
106 | - Align with the angular 2.0.0-rc.0 and the new angular packaging system
|
107 |
|
108 | ## 0.6.0 - 2016-04-28
|
109 | - Align with angular 2.0.0-beta.16 ([#32](https://github.com/urish/angular2-moment/pull/32), contributed by [fknop](https://github.com/fknop))
|
110 |
|
111 | ## 0.5.0 - 2016-04-08
|
112 | - Move `angular2` from npm `dependencies` to `peerDependencies` (see [#24](https://github.com/urish/angular2-moment/pull/24))
|
113 | - Add `amDuration` pipe ([#29](https://github.com/urish/angular2-moment/pull/29), contributed by [xenolinguist](https://github.com/xenolinguist))
|
114 |
|
115 | ## 0.4.3 - 2016-03-06
|
116 | - include `amFromUnix` pipe in the package's exports
|
117 | - publish our `typings.json` to npm
|
118 |
|
119 | ## 0.4.2 - 2016-02-24
|
120 | - add `amFromUnix` pipe ([#16](https://github.com/urish/angular2-moment/pull/16), contributed by [lanocturne](https://github.com/lanocturne))
|
121 |
|
122 | ## 0.4.1 - 2016-02-21
|
123 | - Don't run `typings install` on postinstall (fixes [#13](https://github.com/urish/angular2-moment/issues/13))
|
124 |
|
125 | ## 0.4.0 - 2016-02-16
|
126 | - Switch from `tsd` to `typings`, stop publishing the `moment.js` typings to npm.
|
127 | - Additional unit-tests
|
128 |
|
129 | Note: You may need to manually install moment.js typings, by running `typings install --save moment` in your project directory.
|
130 |
|
131 | ## 0.3.0 - 2016-01-27
|
132 | - add `amDateFormat` pipe ([#9](https://github.com/urish/angular2-moment/pull/9), contributed by [andreialecu](https://github.com/andreialecu))
|
133 | - refactor: remove the `supports()` from all the pipes (it is no longer used as of angular2-beta)
|
134 |
|
135 | ## 0.2.1 - 2016-01-16
|
136 | - bugfix: wrong method name for cleanup, caused resource leak ([#8](https://github.com/urish/angular2-moment/pull/8), contributed by [andreialecu](https://github.com/andreialecu))
|
137 |
|
138 | ## 0.2.0 - 2016-01-12
|
139 | - add `amCalendar` pipe ([#6](https://github.com/urish/angular2-moment/pull/6), contributed by [andreialecu](https://github.com/andreialecu))
|
140 |
|
141 | ## 0.1.1 - 2015-12-18
|
142 | - Fix 'Cannot use in app due to triple-slash references' typescript error ([#2](https://github.com/urish/angular2-moment/issues/2))
|
143 |
|
144 | ## 0.1.0 - 2015-12-15
|
145 | - Align with angular 2.0.0-beta.0
|
146 |
|
147 | ## 0.0.5 - 2015-11-12
|
148 | - Align with angular-2.0.0-alpha.46
|
149 |
|
150 | ## 0.0.4 - 2015-10-25
|
151 | - Add ES5 transpiled version and typescript definitions (.d.ts) file to the published npm package
|
152 |
|
153 | ## 0.0.3 - 2015-10-22
|
154 | - Align with angular-2.0.0-alpha.44
|
155 |
|
156 | ## 0.0.2 - 2015-09-18
|
157 | - Align with angular-2.0.0-alpha.37
|
158 |
|
159 | ## 0.0.1 - 2015-08-25
|
160 |
|
161 | - Initial release
|