11 KiB
11 KiB
Changelog
5.0.0 - 2020-07-03
- fix: support for Angular 10 (see #240)
- breaking: drop support for Angular < 7
4.0.1 - 2020-06-12
- republish to npm without ngcc backup files
4.0.0 - 2020-06-12
- fix: correct input types for pipes 906e40c
- chore(deps): angular 9, typescript 3.8 9966a9a
- chore: reformat all code with prettier 10fe5c51
- docs: remove system.js instructions from README
3.5.0 - 2019-11-08
- feat: add
formatFnargument toamTimeAgo(#213, contributed by chaoyangnz) - feat: add
format|formatsto from-utc pipe and parse-pipe (#215, contributed by gigadie) - fix: improve
amLocalecompability with Angular Ivy (#226, contributed by sobanieca)
3.4.0 - 2019-03-07
- feat: add amIsBefore, amIsAfter pipes (#208, contributed by StickNitro)
- Ability to provide options to the MomentModule (#209, contributed by StickNitro)
- fix: Improved Text Update on locale change when not using MomentInput (#210, contributed by jensweigele)
3.3.0 - 2018-12-09
- fix: Allow using all supported Moment inputs with TimeAgoPipe (#206, contributed by theodorejb)
3.2.0 - 2018-10-30
- Angular 7 support (#203)
3.1.0 - 2018-07-01
- Add 'amParseZone' pipe (#198, contributed by davidballester)
3.0.1 - 2018-06-07
- Update installation instruction in readme (see #194)
3.0.0 - 2018-06-02
- Make
momenta peerDependency instead of dependency (see #149 for discussion)
When upgrading to this version, make sure to npm install --save moment.
2.0.0 - 2018-04-25
- Rename package to ngx-moment
- Migrate project to the Angular CLI
- Switch to Angular Package Format, (using ngPackagr)
2.0.0-beta.0 and 2.0.0-rc.0 are aliases for this version.
1.9.0 - 2018-05-03
- Fix: update momentjs version (#190)
- Fix: amTimeAgo pipe updates it's output when locale changes (#188, contributed by lukasz-kusnierz)
1.8.0 - 2018-01-23
1.7.1 - 2017-12-22
- Fix bug where FromUtcPipe was being imported instead of exported (#180, contributed by fshin123)
- test: fix amLocal tests to pass regardless of timezone
1.7.0 - 2017-08-19
- Add
amFromUtcpipe (#163, contributed by connormlewis)
1.6.0 - 2017-07-18
- Add
amLocalpipe (#153, contributed by benwilkins)
1.5.0 - 2017-07-14
- Add
amLocalepipe (#155, contributed by FallenRiteMonk) - Migrate testing framework to jest
1.4.0 - 2017-06-18
1.3.3 - 2017-03-18
- Fix:
amCalendarcauses protractor to timeout on waiting async Angular (#135, contributed by romanovma)
1.3.2 - 2017-03-17
1.3.1 - 2017-03-16
- Add missing
amAddandamSubtractpipes (fixes #130)
1.3.0 - 2017-03-10
- Enable Angular 4 as peer dependency
1.2.0 - 2017-02-09
1.1.0 - 2017-01-09
Happy new year!
- Add
referenceTimeandformatargs toamCalendar(#64, contributed by irsick) - Add
amAddandamSubtractpipes (#113, contributed by dustin486) - Fix: Do not import whole Rx.js library (#117, contributed by FabienDehopre)
1.0.0 - 2016-12-01
Promoted 1.0.0-rc.1 to final release
1.0.0-rc.1 - 2016-11-11
*** Breaking change: Requires moment 2.16.0 or newer
- Fix “Expression has changed after it was checked” (#111, contributed by nithril)
- Fix "Module 'moment' has no exported member 'UnitOfTime'" (#112)
1.0.0-beta.6 - 2016-10-24
*** Breaking change: typescript sources are no longer published in the npm package
- Inline sources in the source map file, should fix #96.
- Handle undefined dates in
amDateFormatpipe (#105, contributed by amcdnl)
1.0.0-beta.5 - 2016-10-13
*** Breaking change: source files renamed, which could affect your imports:
import { TimeAgoPipe } from 'angular-moment/TimeAgoPipe';
now becomes:
import { TimeAgoPipe } from 'angular-moment/time-ago.pipe';
All changes:
- Rename source files to follow Angular 2 Style Guide conventions
- Require
moment>= 2.13.0, and remove@types/momentfrom our dependencies (as it is already included inmoment)
1.0.0-beta.4 - 2016-10-06
- Add support for server side pre-rendering (#89, contributed by https://github.com/jmezach)
- Fix a bug caused TimeAgo and Calendar pipes not to update automatically (#94)
- Add
@types/momentto package dependencies (see #91)
1.0.0-beta.3 - 2016-10-04
- Fix exports for Rollup / Ionic 2 users (#86, contributed by TheMadBug)
- Protractor fix: run long standing timeouts outside of angular zones (#74, contributed by tiagoroldao)
1.0.0-beta.2 - 2016-10-01
- Switch to Typescript 2.0
- Angular 2 AoT (Ahead of Time) template compilation support (#68)
- Removed impure flags from pure Pipes:
amDateFormatandamDifference(#75, contributed by tiagoroldao)
1.0.0-beta.1 - 2016-08-16
- Support angular-2.0.0-rc.5 NgModules, see README for details.
0.8.2 - 2016-08-01
0.8.1 - 2016-07-03
0.8.0 - 2016-05-22
0.7.0 - 2016-05-03
- Align with the angular 2.0.0-rc.0 and the new angular packaging system
0.6.0 - 2016-04-28
0.5.0 - 2016-04-08
- Move
angular2from npmdependenciestopeerDependencies(see #24) - Add
amDurationpipe (#29, contributed by xenolinguist)
0.4.3 - 2016-03-06
- include
amFromUnixpipe in the package's exports - publish our
typings.jsonto npm
0.4.2 - 2016-02-24
- add
amFromUnixpipe (#16, contributed by lanocturne)
0.4.1 - 2016-02-21
- Don't run
typings installon postinstall (fixes #13)
0.4.0 - 2016-02-16
- Switch from
tsdtotypings, stop publishing themoment.jstypings to npm. - Additional unit-tests
Note: You may need to manually install moment.js typings, by running typings install --save moment in your project directory.
0.3.0 - 2016-01-27
- add
amDateFormatpipe (#9, contributed by andreialecu) - refactor: remove the
supports()from all the pipes (it is no longer used as of angular2-beta)
0.2.1 - 2016-01-16
- bugfix: wrong method name for cleanup, caused resource leak (#8, contributed by andreialecu)
0.2.0 - 2016-01-12
- add
amCalendarpipe (#6, contributed by andreialecu)
0.1.1 - 2015-12-18
- Fix 'Cannot use in app due to triple-slash references' typescript error (#2)
0.1.0 - 2015-12-15
- Align with angular 2.0.0-beta.0
0.0.5 - 2015-11-12
- Align with angular-2.0.0-alpha.46
0.0.4 - 2015-10-25
- Add ES5 transpiled version and typescript definitions (.d.ts) file to the published npm package
0.0.3 - 2015-10-22
- Align with angular-2.0.0-alpha.44
0.0.2 - 2015-09-18
- Align with angular-2.0.0-alpha.37
0.0.1 - 2015-08-25
- Initial release