Yes, this is a patch release packed with goodies. We expect this to be the last patch release of the 5.3 cycle. This puts the release of 5.4 with the first stable releases of @warp-drive/schema-record
and @warp-drive/ember
~4 weeks away. Who needs August when you have July?
In no particular order, goodies contained
- 5.3.4 ships fully as v2-addons
- all packages ship types, types must be opted into, see the typescript guide
- native types packages are now available for 5.3
- mirror packages are now available for 5.3
- a new cli tool has been added. So far its only niftiness is this cli tool will let you quickly configure your 4.x project for typescript.
npx warp-drive retrofit types@canary
. Mileage may vary, this works best with 4.12 - ember-inflector and @ember/string are no longer project dependencies
Three new deprecations
- deprecates Store extending EmberObject
- deprecates using
emberData
in options in ember-cli-build in favor ofsetConfig
- deprecates using ember-inflector for singularization/pluralization support in favor of
@ember-data/request-utils
(ember-inflector is not deprecated, only WarpDrive/EmberData's consumption of it)
v5.3.4 (2024-06-15)
🌲 New Deprecation
- #9479 feat: support migration path for ember-inflector usage (@runspired)
- #9403 feat: deprecate store extending EmberObject (@runspired)
📝 Documentation
- #9394 Add cookbook page about model names convention (@Baltazore)
- #9393 Update types on typescript guide part 4 (@Baltazore)
- #9390 docs: fix readme links in @warp-drive/ember (@runspired)
- #9379 fix: Automate uninstall process (@MichalBryxi)
- #9378 Update some docs to string ids (@wagenet)
- #9300 doc: remove reference to unexisting ESA auth handler (@sly7-7)
- #9332 docs: add typescript guide (@runspired)
- #9328 chore: update READMEs with status and dist tag info (@runspired)
- #9329 chore: update compat chart in README (@runspired)
- #9299 doc: use store for save-record docs (@Yelinz)
- #9298 docs(request): remove duplicate line in readme (@Yelinz)
- #9063 docs: add requests guide (@runspired)
- #9215 Docs: Add guide for incremental adoption (@Baltazore)
- #9275 doc: don't mention unexisting ESA auth handler (@sly7-7)
🚀 Enhancement
- #9474 Improve query types for legacy-compat/builders (@gitKrystan)
- #9473 npx: warp-drive retrofit types@canary 🪄 (@runspired)
- #9471 feat: npx warp-drive (@runspired)
- #9467 feat: implement schema-object for schema-record (@richgt)
- #9468 feat: string utils 🌌 (@runspired)
- #9466 feat: make @id editable and reactive (@runspired)
- #9465 feat: implement edit & create cases for legacy relationships (@runspired)
- #9464 feat: implement support for legacy hasMany and belongsTo relationship reads (@runspired)
- #9407 feat: v2 addons (@runspired)
- #9453 feat: update SchemaService to reflect RFC updates (@runspired)
- #9448 feat: impl SchemaService RFC (@runspired)
- #9450 feat: improve typing around Model and createRecord (@runspired)
- #9444 feat: rename LifetimesService => CachePolicy for clarity (@runspired)
- #9443 feat: universal consts (@runspired)
- #9396 fix: Resolve promise types for props passed to
store.createRecord()
(@seanCodes) - #9401 feat: preserve lids returned by the API in legacy normalization (@runspired)
- #9400 feat: add expectId util (@runspired)
- #9343 @ember-data/codemods package (@gitKrystan)
- #9387 feat: better types for legacy store methods (@runspired)
- #8957 feat(private): schema CLI (@runspired)
- #9366 feat: typed Model (@runspired)
- #9363 feat: autoRefresh (@runspired)
- #9359 feat: type checked builders and inferred request types from builders (@runspired)
- #9353 feat: utilies for migrating to stricter type and id usage (@runspired)
- #9352 feat: make setKeyInfoForResource public (@runspired)
- #9277 feat: implement managed object for schemaRecord (@richgt)
- #9319 Add @ember-data/legacy-compat/builders (@gitKrystan)
- #9314 feat: improve lifetime handling of ad-hoc createRecord requests (@runspired)
- #9317 feat: ensure data utils work well with legacy relationship proxies (@runspired)
- #9260 feat: ember specific data utils (@runspired)
- #9240 feat: implement managed array for schemaRecord (@richgt)
- #9256 feat: improve alpha types support (@runspired)
- #9250 feat: fix types for legacy decorator syntax (@runspired)
- #9249 chore: handle declare statements in module rewriting (@runspired)
- #9248 feat: publish types as module defs (@runspired)
- #9245 feat: add consumer types for Model APIs (@runspired)
- #9246 normalization in json-api serializer preserves lid #7956 (@sly7-7)
- #9244 feat: improves consumer-facing store types (@runspired)
🐛 Bug Fix
- #9475 fix: dont install optional peers if not already present (@runspired)
- #9469 Fix exports for 'ember-data' (@NullVoxPopuli)
- #9459 fix: ensure cachehandler responses are cast to documents (@runspired)
- #9456 fix: visibilitychange => hidden should update unavailableStart (@runspired)
- #9454 Allow RequestState.abort to be used with on modifier (@gitKrystan)
- #9455 fix: config version lookup needs to be project location aware (@runspired)
- #9355 Fix: @attr defaultValue() results should persist after initialization (@christophersansone)
- #9391 fix: dont fall-through after shouldAttempt on refresh (@runspired)
- #9383 fix: ensure cache-handler clones full errors (@runspired)
- #9369 fix: @warp-drive-ember, dont leak empty slot (@runspired)
- #9364 fix: restore old behavior in deprecation (@enspandi)
- #9360 fix: Make IS_MAYBE_MIRAGE work in Firefox (@MichalBryxi)
- #9318 fix: be more specific in files in case .npmignore is ignored (@runspired)
- #9307 fix: mirage does not support anything (@runspired)
- #9265 feat: Improve config handling for polyfillUUID (@MehulKChaudhari)
- #9263 fix: set localState to latest identifier in belongsTo when merging identifiers (@runspired)
- #9254 Update IS_MAYBE_MIRAGE function to check for Mirage in development mode (@Baltazore)
- #9257 fix: use npm pack instead of pnpm pack to respect .npmignore rules (@runspired)
- #9252 fix: update line when removing declare statements (@runspired)
- #9251 fix: notify during replace if existing localState never previously calculated (@runspired)
🏠 Internal
- #9477 fix: add deprecation and avoid breaking configs (@runspired)
- #9476 chore: cleanup symbol usage (@runspired)
- #9463 types: ManyArray => HasMany (@runspired)
- #9457 feat: the big list of versions (@runspired)
- #9292 feat: add new build-config package (@runspired)
- #9399 types: limit traversal depth on include path generation (@runspired)
- #9398 chore: dont --compile during prepack (@runspired)
- #9397 chore: fixup publish for @ember-data/codemods (@runspired)
- #9395 Update strategy.json to mirror publish @warp-drive/schema-record (@runspired)
- #9385 fix: Make IS_MAYBE_MIRAGE simplified (@MichalBryxi)
- #9392 Fix some typos after reading code (@Baltazore)
- #9370 chore: rename macros (@runspired)
- #9368 docs: Update ISSUE_TEMPLATE.md to follow latest pnpm (@MichalBryxi)
- #9365 chore: remove unneeded infra tests (@runspired)
- #9349 chore: fix CI installs (@runspired)
- #9330 chore: ensure latest tag is canary/beta tag for early stage packages (@runspired)
- #9303 infra: setup mirror and types publishing (@runspired)
- #9291 chore: remove unused scripts (@runspired)
- #9289 chore: bump timeout for floating dep check in CI (@runspired)
- #9287 chore: bump deps for example-api app (@runspired)
- #9279 types: branded transforms and improve types needed for serializers (@runspired)
- #9280 chore: handle dynamic imports with relative paths (@runspired)
- #9259 Update setting-up-the-project.md (@MehulKChaudhari)
- #9258 fix: remove unused turbo key (@runspired)
Committers: (13)
Chris Thoburn (@runspired)
Kirill Shaplyko (@Baltazore)
Michal Bryxí (@MichalBryxi)
Peter Wagenet (@wagenet)
Sylvain Mina (@sly7-7)
Yelin Zhang (@Yelinz)
Krystan HuffMenne (@gitKrystan)
Rich Glazerman (@richgt)
Sean Juarez (@seanCodes)
@NullVoxPopuli
Christopher Sansone (@christophersansone)
Andreas Minnich (@enspandi)
Mehul Kiran Chaudhari (@MehulKChaudhari)