NullVoxPopuli / ember-resources

An implementation of Resources. Supports ember 3.28+
https://github.com/NullVoxPopuli/ember-resources/blob/main/docs/docs/README.md
MIT License
91 stars 37 forks source link

Reducing scope of the package `ember-resources` (while not removing anyone's relied-upon functionality) #1046

Closed NullVoxPopuli closed 6 months ago

NullVoxPopuli commented 8 months ago

I've been thinking about removing all the utilities from ember-resources in a major (with no other changes).

The deprecation would read:

X is deprecated from ember-resources, and has moved to `reactiveweb`, 
which is a drop in replacement.  
To migrate, change the import path from `ember-resources/XPath` to the `reactiveweb/YPath` equivelent, 
and you'll have the same behavior but without the deprecation

(with actual specifics implemented in the actual deprecation)

reactiveweb docs here: https://reactive.nullvoxpopuli.com/

This change would likely simplify the release cadence of ember-resources, so that (potential) future breaking changes to any of the above utils don't communicate that ember-resources itself has a breaking change.

The utilities within ember-resources served a couple purposes, which didn't have a specific vision:

Motivation

NOTE: none of the utilities are recommended against (like {{did-update}}) -- these are all fairly thin wrappers around public API, and can be supported for the foreseable future

unlike ember-data-resources, the reactiveweb utilities have no third-party integration happening, so there is no roadmap to align with (ember-data, for example, is moving away from recommending the store-based architecture)


What are folks thoughts on this change / migration plan?

donaldsonjulia commented 8 months ago

I really like the idea of a place where more utilities can be added if common patterns start to emerge across the community. I also like the idea of reactiveweb being itself an example of how to use ember-resources to build helpful utilities.

NullVoxPopuli commented 7 months ago

I've added this issue to the v7 plan quest issue: https://github.com/NullVoxPopuli/ember-resources/issues/1061

lemme know what you think!

NullVoxPopuli commented 6 months ago

This is done -- v7 is released, and utilities are extracted to https://github.com/universal-ember/reactiveweb