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.3 Release Checklist #8743

Closed
97 of 98 tasks
runspired opened this issue Jul 28, 2023 · 5 comments
Closed
97 of 98 tasks

🛤️ tracking: 5.3 Release Checklist #8743

runspired opened this issue Jul 28, 2023 · 5 comments
Assignees

Comments

@runspired
Copy link
Contributor

runspired commented Jul 28, 2023

note
This issue originally tracked 5.2, but we opted to push to 5.3 to ensure polish

Implementation notes for the Roadmap

Overview

The primary focus of this release is on utilities to polish the request-builder story.

Ultimately all builders and serialization utils are intended to be compatible with 4.12, for the JSON:API version this will require us to provide a temporary alternative package as the existing @ember-data/json-api package cannot be safely added twice to the same app and would need to be. We expect to publish this as @ember-data/json-api-request.

Misc

  • Deprecate legacy import paths
  • Deprecate non-strict-type
  • Deprecate non-strict-id
  • Graph Diffing (required for serialization utils)
  • Deprecate legacy relationship fixes? (potentially part of implementing diffing)
    • [-] deprecate missing being considered empty unnecessary for diffing, removed from release goal
    • deprecate fixing non-unique relationship payloads
    • deprecate remote updates clearing local changes
  • Refactor @ember-data/model setup/teardown hooks logic to be importable
  • [blocker] graph setup should not occur within ember-data/store

If we were dreaming

Improved build infra would allow us to begin publishing some native unstable preview types and some stable ones.

Specifically:

  • @ember-data/request (unstable preview)
  • @ember-data/rest (stable)
  • @ember-data/active-record (stable)
  • @ember-data/request-utils (stable)
  • @ember-data/tracking (stable)

Additionally the following are close to publishable but their types would be especially unstable:

  • @ember-data/json-api (unstable preview)
  • @ember-data/graph (unstable preview)

Publishing these would help close gaps with the unofficial DefinitelyTyped types as most of these were never typed there.

Other if we were dreaming work

  • Pagination & Diffing Utils
  • promise-cache (a new render performance primitive for use by ember-promise-helpers and other libraries)

Relationship Diff Support

  • RelationshipDiff
  • cache.changedRelationships
    • tests
    • API Docs
  • cache.hasChangedRelationships
    • tests
    • API Docs
  • cache.rollbackRelationships
    • tests
    • API Docs

Request Utils (@ember-data/request-utils)

  • Package Overview
  • Package README
  • buildBaseURL

    • Implemented
    • Tests
    • API Docs
  • buildQueryParams

    • Implemented
    • Tests
    • API Docs
  • filterEmpty

    • Implemented
    • Tests
    • API Docs
  • sortQueryParams

    • Implemented
    • Tests
    • API Docs
  • LifetimesService

    • Implemented
    • Tests
    • API Docs
  • setBuildURLConfig

    • Implemented
    • Tests
    • API Docs
  • parseCacheControl

    • Implemented
    • Tests
    • API Docs

JSON:API Builders (@ember-data/json-api/request)

  • Package Overview
  • Package README
  • findRecord

    • Implemented
    • Tests
    • API Docs
  • query

    • Implemented
    • Tests
    • API Docs
  • deleteRecord

    • Implemented
    • Tests
    • API Docs
  • updateRecord

    • Implemented
    • Tests
    • API Docs
  • createRecord

    • Implemented
    • Tests
    • API Docs

REST Builders (@ember-data/rest/request)

  • Package Overview
  • Package README
  • findRecord

    • Implemented
    • Tests
    • API Docs
  • query

    • Implemented
    • Tests
    • API Docs
  • deleteRecord

    • Implemented
    • Tests
    • API Docs
  • updateRecord

    • Implemented
    • Tests
    • API Docs
  • createRecord

    • Implemented
    • Tests
    • API Docs

ActiveRecord Builders (@ember-data/active-record/request)

  • Package Overview
  • Package README
  • findRecord

    • Implemented
    • Tests
    • API Docs
  • query

    • Implemented
    • Tests
    • API Docs
  • deleteRecord

    • Implemented
    • Tests
    • API Docs
  • updateRecord

    • Implemented
    • Tests
    • API Docs
  • createRecord

    • Implemented
    • Tests
    • API Docs

JSON:API Serialization Utils

  • serializeResources

    • Implemented
    • Tests
    • API Docs
  • serializePatch

    • Implemented
    • Tests
    • API Docs

deprioritized

The below were deprioritized in favor of waiting until their respective Cache implementations
are complete.

REST Serialization Utils

  • serializeResources

    • [-] Implemented
    • [-] Tests
    • [-] API Docs
  • serializePatch

    • [-] Implemented
    • [-] Tests
    • [-] API Docs

ActiveRecord Serialization Utils

  • serializeResources

    • [-] Implemented
    • [-] Tests
    • [-] API Docs
  • serializePatch

    • [-] Implemented
    • [-] Tests
    • [-] API Docs
@runspired runspired changed the title 5.2 Release Checklist 5.3 Release Checklist Aug 17, 2023
@kategengler
Copy link
Member

The deprecations need deprecation guides here https://github.com/ember-learn/deprecation-app and URLs to those deprecations added at the invocation site.

@Baltazore
Copy link
Collaborator

@runspired any way I can help here ?

I also have few questions related to data serialization, that was requested using request-builders, how to push it to store, EmberInspector does not work for me locally as well.
Anyway if there is a place to read more about it point me out please.

@runspired
Copy link
Contributor Author

@Baltazore would you be able to copy the deprecation guide we have in the project and fix it up for the deprecation-app @kategengler linked above? That would be a pretty easy place to start.

@Baltazore
Copy link
Collaborator

@runspired I assume I have to pull info from this file https://github.com/emberjs/data/blob/b293542d00438d4470075f9b77f74ae58960bf68/packages/private-build-infra/virtual-packages/deprecations.js

Here is PR ember-learn/deprecation-app#1339

@runspired runspired self-assigned this Sep 17, 2023
@runspired runspired changed the title 5.3 Release Checklist 🛤️ 5.3 Release Checklist Sep 17, 2023
@runspired runspired changed the title 🛤️ 5.3 Release Checklist 🛤️ tracking: 5.3 Release Checklist Sep 17, 2023
@runspired
Copy link
Contributor Author

We've released! <3

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

No branches or pull requests

3 participants