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

refactor(dom-queue): merge dom read and write queue #1970

Merged
merged 5 commits into from
May 15, 2024
Merged

Conversation

bigopon
Copy link
Member

@bigopon bigopon commented May 15, 2024

📖 Description

When we first started, under the influence of a few other benchmarks, we went overboard with the dom queue making it unnecessarily cumbersome. This PR rectifies that: merge dom write queue and dom read queue together into a single queue.

Applications migrating to this don't need to take immediate action as the old properties domWriteQueue and domReadQueue will still be there, albeit marked deprecated. These 2 properties will be removed in a near future, likely before RC.

cc @fkleuver @Sayan751

Copy link

codecov bot commented May 15, 2024

Codecov Report

Attention: Patch coverage is 87.80488% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 88.59%. Comparing base (f8ed38d) to head (3ebf090).

Files Patch % Lines
packages/platform-browser/src/index.ts 87.87% 4 Missing ⚠️
packages/runtime-html/src/aurelia.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1970   +/-   ##
=======================================
  Coverage   88.59%   88.59%           
=======================================
  Files         273      273           
  Lines       22946    22924   -22     
  Branches     5304     5297    -7     
=======================================
- Hits        20328    20309   -19     
+ Misses       2618     2615    -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bigopon bigopon merged commit 3a63cde into master May 15, 2024
30 of 31 checks passed
@bigopon bigopon deleted the chore/cleanup-10 branch May 15, 2024 05:10
AureliaEffect pushed a commit that referenced this pull request May 23, 2024
2.0.0-beta.18 (2024-05-23)

**BREAKING CHANGES:**

* **dom-queue:** merge dom read and write queues (#1970) ([3a63cde](3a63cde))

**Features:**

* **dialog:** ability to specify dialog per open call (#1978) ([7d44ed1](7d44ed1))
* **dialog:** add event manager for custom event handling extension ([7d44ed1](7d44ed1))
* **kernel:** add last resolver (#1976) ([c47817c](c47817c))
* **router-lite:** current route (#1966) ([d966e15](d966e15))

**Bug Fixes:**

* **di:** use official metadata instead of weakmap (#1977) ([9aeeffa](9aeeffa))
* **router-lite:** current route subscription disposal (#1969) ([ace4c65](ace4c65))
* **convention:** typing: use array for bindables isntead of object (#1967) ([f1a73d6](f1a73d6))

**Refactorings:**

* **collection:** define map & set overrides on the instance instead of prototype (#1975) ([253e92a](253e92a))
* **runtime:** reoganise utils import ([253e92a](253e92a))
* **fetch-client:** extract error codes and cleanup (#1974) ([63ffdc9](63ffdc9))
* **i18n-validation:** replace errors with error codes (#1972) ([f91f31c](f91f31c))
* **dev:** turbo package input glob + ts dev script ([253e92a](253e92a))

**Docs:**

* **doc:** updated ISignaler documentation example (#1973) ([e0481d6](e0481d6))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant