Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🛤️ tracking: 5.4 Release Checklist #8880

Open
33 of 35 tasks
runspired opened this issue Sep 18, 2023 · 3 comments
Open
33 of 35 tasks

🛤️ tracking: 5.4 Release Checklist #8880

runspired opened this issue Sep 18, 2023 · 3 comments

Comments

@runspired
Copy link
Contributor

runspired commented Sep 18, 2023

Implementation notes for the Roadmap

Overview

The primary focus of this release will be on the early stages of SchemaRecord. Its likely that most work will take place as POCs and RFCs. We will not ship new SchemaRecord or SchemaDSL features unless we're ready to do so.

🌲 Deprecation RFCs

We want to land RFCs and implementations for the following.

  • Deprecate Store service extending EmberObject #8874 RFC#1026 IMPL
  • SchemaService Updates

🦓 Miscellaneous

  • Improve Config Handling for polyfillUUID for 4.12+ #8675
  • Add tests for lifetimes service using new http mock
  • Expand tests for Fetch handler using new http mock

🪴 Feature RFCs

We want to land RFCs for the following, shipping the actual implementation is less likely.

🚀 Features

Feature work will focus on migration primitives for @ember-data/model and the basics of the schema-dsl.

📜 Documentation

💚 TypeScript

  • publish canary types
  • publish standalone types
  • add a typescript guide
  • add a consumer types strategy

Misc

  • <Request /> and getRequestState
  • <Await /> and getPromiseState

Deferred to 5.5

@runspired
Copy link
Contributor Author

Paginated Relationship infra underway #9320

@runspired
Copy link
Contributor Author

SchemaRecord has reached feature parity with @ember-data/model, which is a potential bar for shipping 5.4

Ideally we polish the ModelFragments parity story first.

@runspired
Copy link
Contributor Author

runspired commented Aug 30, 2024

After Review, some additional things to land for SchemaRecord to be stabilized:

Testing

  • write even more tests for immutability (e.g. user MUST call record.checkout)
    • what happens when you try to mutate a related record from a checked out record, does it auto-checkout or does it error? preference towards explicit checkout
  • write tests around what happens when you set object/array/schema-object/schema-array onto a different record than they are on initially (should copy and both records now have a version)

Feature Work

  • alias field
  • non-editable / read-only version of the record should not show mutated state CacheV3
    • peek remote state only
    • peek mutated state
    • rollback of mutated state for a single property
    • peek change of state for a single property

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: in progress
Development

No branches or pull requests

1 participant