ember-cli-flash icon indicating copy to clipboard operation
ember-cli-flash copied to clipboard

Release planning

Open gilest opened this issue 2 years ago • 6 comments

V5

  • [x] V2 conversion #391
    • Consuming apps now require ember-auto-import v2
    • Dropped Ember "Classic" support
    • Dropped Ember 3.24 support. Minimum supported version is now 3.28
  • [x] Replace blueprint with explicit test helpers #392
  • [x] #396
  • [x] https://github.com/adopted-ember-addons/ember-cli-flash/pull/398

V6

  • [x] Convert FlashObject to native class #394
  • [x] Convert FlashMessagesService to native class #409
  • [x] Remove computeds from FlashMessagesComponent #410
  • [ ] Migrate files to typescript and publish proper declarations

gilest avatar Oct 27 '23 00:10 gilest

https://github.com/adopted-ember-addons/ember-cli-flash/blob/master/ember-cli-flash/src/test-support.js

does it make sense to make this automatic at all? rather than manually invoked?

NullVoxPopuli avatar Nov 03 '23 13:11 NullVoxPopuli

does it make sense to make this automatic at all? rather than manually invoked?

I'm not sure I understand what you mean 🤨

There is an "automatic" default – the timeout behaviour is disabled during test runs.

The helper sets an option which overrides this default. Most users will never need to use the helper. It's a compatibility patch which allows for fine-grained control of test behaviour.

Implementation in FlashObject Upgrade guide

gilest avatar Nov 03 '23 23:11 gilest

Oh ok, thanks for the link!

NullVoxPopuli avatar Nov 04 '23 14:11 NullVoxPopuli

Today I have tested the dist build in two apps:

  • relatively modern ember app with classic build
  • modern, fastbooted ember app with fully static embroider

In both apps the test suite passes and I have manually verified that flash messages show as expected.

I think we're ready to cut a 5.0 major @NullVoxPopuli . Happy to help with this

gilest avatar Nov 17 '23 00:11 gilest

I also already converted this addon to native classes (typescript, really) in https://github.com/adopted-ember-addons/ember-cli-flash/pull/390. There's a problem there, with either lint or tests failing, but maybe someone could take a look at it for an hour or two and get it through the finish line.

vlascik avatar Jan 09 '24 22:01 vlascik