1 | ### 7.7.0
|
2 |
|
3 | * @fenekku deprecated hideSuffix/hidePrefix in favor of hideAffix
|
4 | * @crotwell added utc helper & macro
|
5 | *
|
6 |
|
7 | ### 7.6.0
|
8 |
|
9 | * @kellyselden Fix invalid reexport for helpers/unix
|
10 | * Upgrade ember-cli and dependencies
|
11 |
|
12 | ### 7.3.0
|
13 |
|
14 | * Setting locale now sets locale on global moment object
|
15 | * Added `setLocale` and `setTimeZone`. Better naming. Will continue to support `changeLocale` and `changeTimeZone` but have updated README to prefer new method names
|
16 | * Added `localeChanged` and `timeZoneChanged` events
|
17 | * @mfeltz scoped moment-subtract and moment-add to use the moment service `locale` property
|
18 |
|
19 | ### 7.2.0
|
20 |
|
21 | * @kellyselden add back `ember-macro-helpers`
|
22 |
|
23 | ### 7.1.1
|
24 |
|
25 | * Removed `ember-macro-helpers`
|
26 |
|
27 | ### 7.1.0
|
28 |
|
29 | * @kellyselden ported computed macro factory to use computed macro utility methods from `ember-macro-helpers`
|
30 |
|
31 | ### 7.0.3
|
32 |
|
33 | * Upgrade `ember-cli-moment-shim` to 3.0.0
|
34 | * now helper now recomputes using setTimeout instead of run.later #205
|
35 |
|
36 | ### 7.0.2
|
37 |
|
38 | * Revert upgrade `ember-cli-moment-shim` to 2.2.1 (moment.now issue)
|
39 |
|
40 | ### 7.0.1
|
41 |
|
42 | * Upgrade `ember-cli-moment-shim` to 2.2.1
|
43 |
|
44 | ### 7.0.0
|
45 |
|
46 | * Upgrade ember-cli-moment-shim to 1.3.0
|
47 | * `now` helper returns `moment.now()` instead of `new Date()`
|
48 | * Added `moment` helper
|
49 | * Added `moment-calendar` helper
|
50 | * @GarPit Added `moment-to-date` helper
|
51 | * @stavarotti added `unix` helper
|
52 | * @yads added `moment-subtract` `moment-add` helpers
|
53 | * Removed `ember-getowner-polyfill` as a direct dep
|
54 | * Add moment query helpers (`is-between`, `is-same-or-after`, `is-same-or-before`, `is-same`, `is-after`, `is-before`)
|
55 | * BREAKING: no longer defaults moment-format to LLLL and instead uses the moment default format (ISO 8601)
|
56 | * Applications will need to specify the default format to LLLL if they want to keep this behavior: https://github.com/stefanpenner/ember-moment#global-default-output-format
|
57 | * Adopted yarn
|
58 |
|
59 | ### 6.0.0
|
60 |
|
61 | * [BREAKING] computed property macros can now support composition (https://github.com/stefanpenner/ember-moment/pull/139)
|
62 |
|
63 | ### 5.1.0
|
64 |
|
65 | * Helper support for `moment().calendar();` (https://github.com/stefanpenner/ember-moment/pull/143)
|
66 |
|
67 | ### 5.0.2
|
68 |
|
69 | * Prevent moment 2.11.0 from being installed due to it being unsupported
|
70 |
|
71 | ### 5.0.1
|
72 |
|
73 | * Reduce size and complexity of computeds
|
74 |
|
75 | ### 5.0.0
|
76 |
|
77 | * Rewrote computeds to support literals as arguments
|
78 | * Do not warn on missing date when allowEmpty
|
79 |
|
80 | ### 4.2.1
|
81 |
|
82 | * Remove `ember-new-computed`
|
83 | * Remove use of an Ember global
|
84 | * Remove need for instance initializer
|
85 |
|
86 | ### 4.2.0
|
87 |
|
88 | * Upgrade `ember-cli-moment-shim`
|
89 | * Add a `defaultFormat` property to the service, which `moment-format` helpers observer to recompute
|
90 | * BUGFIX: `outputFormat` typo on `config/environment.js` lookup led to it never being properly looked up
|
91 |
|
92 | ### 4.1.0
|
93 |
|
94 | * Adds support a `timeZone` argument on all helpers
|
95 | * Adds a service which contains two methods: `changeLocale` and `changeTimeZone`
|
96 | * Invoking either of these methods will cause all helpers to rerender if a locale/timezone was not specified
|
97 |
|
98 | ### 4.0.1
|
99 |
|
100 | * Removes two unused npm deps
|
101 |
|
102 | ### 4.0.0
|
103 |
|
104 | * Removes support for legacy helpers
|
105 | * Drops support for Ember < 1.13.0 (continue to use 3.x for < 1.13.0 support)
|
106 |
|
107 | ### 3.6.3-3.6.4
|
108 |
|
109 | * Ember version detection incorrectly reported
|
110 |
|
111 | ### 3.6.2
|
112 |
|
113 | * Warn on locale mismatch, silently ignore `en` locale since included by default in moment
|
114 |
|
115 | ### 3.6.1
|
116 |
|
117 | * Bugfix global output format
|
118 |
|
119 | ### 3.6.0
|
120 |
|
121 | * 2.0-beta + 2.0-canary supported again
|
122 | * test support for deprecated helpers
|
123 | * global allowEmpty configuration option
|
124 | * removes unused helper modules from builds (slimmer dists)
|
125 |
|
126 | ### 3.5.1
|
127 |
|
128 | * destroy interval timers on Helper destroy
|
129 | * work around issue with Ember.run.next blocking test helpers
|
130 |
|
131 | ### 3.5.0
|
132 |
|
133 | * Support for 2.0.0-beta and canary
|
134 | * Upgrades dependencies
|
135 |
|
136 | ### 3.4.0
|
137 |
|
138 | * Adds `allow-empty` argument to helpers to prevent Invalid Date to be rendered when passed an empty value (null, undefined, or "")
|
139 |
|
140 | ```hbs
|
141 | {{moment-format date allow-empty=true}}
|
142 | ```
|
143 |
|
144 | * Adds `locale` argument to helpers to locally scope locale format to specific helpers
|
145 |
|
146 | ```hbs
|
147 | {{moment-format date locale='es'}}
|
148 | ```
|
149 |
|
150 | * Adds a global output format string option to config/environment
|
151 |
|
152 | ```js
|
153 | module.exports = function() {
|
154 | return {
|
155 | moment: {
|
156 | outputFormat: 'L' // overrides the `LLLL` that moment defaults to
|
157 | }
|
158 | }
|
159 | };
|
160 | ```
|
161 |
|
162 | ### 3.3.0
|
163 |
|
164 | * Adds toNow computed property macro
|
165 | * Adds moment-to-now htmlbar helper
|
166 | * Fixes documentation error around computed property macro argument order
|
167 | * Adds the ability to hide the prefix/suffix from toNow/fromNow helpers and computed property macro output
|
168 |
|
169 | ### 3.2.1
|
170 |
|
171 | * Removes deprecation warnings from Ember 1.13.6
|
172 |
|
173 | ### 3.2.0
|
174 |
|
175 | * Deprecate helpers: `moment`, `ago`, `duration` in favor of `moment-format`, `moment-from-now`, `moment-duration`
|
176 | * Deprecate computed property modules:
|
177 | * `ember-moment/computeds/ago` -> `ember-moment/computeds/from-now`
|
178 | * `ember-moment/computeds/moment` -> `ember-moment/computeds/format`
|
179 | * Removed EnumerableUtils.map
|
180 | * Updated ember-cli-moment-shim to 0.6.0
|
181 | * moment is now brought in via bower instead of npm (https://github.com/jasonmit/ember-cli-moment-shim/issues/14#issuecomment-125455255)
|
182 |
|
183 | ### 3.1.0
|
184 |
|
185 | * Conditionally include all locales if `true` is passed to `includeLocales` option
|
186 |
|
187 | ### 3.0.2
|
188 |
|
189 | * Smoke tests added
|
190 | * Fixing regression which broke 1.10.0
|
191 | * Added Ember 1.10.0 -> #release to the Travis CI matrix
|
192 |
|
193 | ### 3.0.1
|
194 |
|
195 | * Fixes regression in <= 1.12.0 where the helpers are not registered properly
|
196 |
|
197 | ### 3.0.0
|
198 |
|
199 | * Support to programmatically including moment i18n locale data via `includeLocales`
|
200 | * Removes support for Ember.Handlebars.helpers in favor of just supporting HTMLBars going forward
|
201 | * Removes `ember-moment/computed`. Explicit full path import paths to avoid naming conflicts.
|
202 | * `ember-moment/computeds/duration`
|
203 | * `ember-moment/computeds/moment`
|
204 | * `ember-moment/computeds/from-now`
|
205 |
|
206 | ### 2.0.1
|
207 |
|
208 | * Works around an issue within ember-cli with nested addon's that need to app.import
|
209 | * See: https://github.com/ember-cli/ember-cli/issues/3718
|
210 |
|
211 | ### 2.0.0
|
212 |
|
213 | * 1.13.x support
|
214 | * moment and moment timezone are now pulled in from `ember-cli-moment-shim` instead of `ember-moment`
|
215 | * BREAKING: moved EmberApp's `ember-moment` configuration object to `config/environment.js` and renamed to `moment`.
|
216 |
|
217 | ```js
|
218 | // config/environment.js
|
219 | module.exports = function(environment) {
|
220 | return {
|
221 | moment: {
|
222 | includeTimezone: 'all'
|
223 | }
|
224 | }
|
225 | }
|
226 | ```
|
227 |
|
228 | ### 1.1.1
|
229 |
|
230 | * [BUGFIX] HTMLBars should use `makeBoundHelper`
|
231 |
|
232 | ### 1.1.0
|
233 |
|
234 | * [ENHANCEMENT] HTMLBars support (backwards compat. with Handlebars)
|
235 |
|
236 | * [ENHANCEMENT] Adding duration helper with examples in the dummy app
|
237 |
|
238 | ### 1.0.0
|
239 |
|
240 | * [BREAKING ENHANCEMENT] The full `moment` Handlebars helper signature is now
|
241 |
|
242 | `{{moment-format date outputFormat inputFormat}}`
|
243 |
|
244 | to better reflect common usage pattern. You are usually passing a date as the first argument, which does not require specifying an inputFormat, and at the same time, you usually do want to specify an output format. [#12](https://github.com/stefanpenner/ember-moment/pull/12).
|
245 |
|
246 | Fixes case of passing both input and output formats, and changes default output format.
|
247 |
|
248 | Adds a few more usage examples to dummy app, and improves tests accordingly.
|
249 |
|
250 | * [BUGFIX] Passing a two arguments to the `moment` helper was not handled properly.
|
251 | * [ENHANCEMENT] Added more examples to the dummy app
|
252 |
|
253 | ### 0.2.0
|
254 |
|
255 | Early versions, before this doc was maintained
|
256 |
|
\ | No newline at end of file |