Skip to content

Release (release) 8.18.2#5352

Merged
salesforce-nucleus[bot] merged 8 commits intoreleasefrom
release-r-8.18.2
Apr 29, 2025
Merged

Release (release) 8.18.2#5352
salesforce-nucleus[bot] merged 8 commits intoreleasefrom
release-r-8.18.2

Conversation

@jhefferman-sfdc
Copy link
Contributor

Details

Does this pull request introduce a breaking change?

  • 😮‍💨 No, it does not introduce a breaking change.

Does this pull request introduce an observable change?

  • 🤞 No, it does not introduce an observable change.

GUS work item

W-18381293

jhefferman-sfdc and others added 8 commits April 18, 2025 10:57
* test(integration-karma): add integration tests for lwc:on directive

* feat(engine-core): add optional dynamicOn property to VNodeData interface

* feat(engine-core): add patching utilities for dynamic event listeners

* feat(engine-core): update hydration and rendering to patch dynamic event listeners

* feat(shared): export Detached Object.prototype.propertyIsEnumerable from language.ts

* fix(engine-core): use propertyIsEnumerable from @lwc/shared

* feat(template-compiler): add type and helper functions for OnDirective AST node

* feat: throw error when lwc:on is used on a non-root <template> element

* feat: add parsing of lwc:on directive

* feat: throw error when declarative event listeners are  used alongside lwc:on

* feat(template-compiler): add code generation for lwc:on directive

* feat(engine-core): add basic implementation of freeze render API

* docs(engine-core): add comment in patchDynamicEventListeners regarding freezing assumption

* Apply suggestions from code review

Add comments, improve readability of statements, correct copyright year

Co-authored-by: Dale Bustad <dale@divmain.com>
Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com>

* test(integration-karma): fix ignored properties and event type case tests

* test(integration-karma): add tests to verify re-rendering behaviour

* test(integration-karma): add a seperate test for object passed as public property

add a seperate test for object passed as public property and refactors other tests to be independent

* fix: fix @api issues by removing freeze api and adding copy api

* style: apply suggestion from code review - consistent error names

* test(integration-karma): add missing test component x/publicProp

* style(engine-core): rename variables related to patching and add comments for better readability

* fix(engine-core): add missing negation operator in patchDynamicEventListener

* docs(template-compiler): add comment explaining the check used to know lwc:on is used with onfoo

* docs(template-compiler): add comment explaining onDirective codegen in databag

* fix(engine-core): change prevInp to prevOut in comparision

* test(integration-karma): expand re-render tests to include the case when object is mutated

* test(template-compiler): add snapshot tests for template-compiler

* test(integration-karma): move catchUnhandledRejectionsAndError inside the specific describe

Having in top-level may cause false success

* test(integration-karma): add re-render tests for lwc:on used inside for:each loop

* test(integration-karma): correct 'this' in rerenderLoop.js

* fix: move copy api's work to codeGen and patching

* refactor: remove dead code

* fix: Apply suggestions from code review - <> in error message

Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com>

* feat: add template-compiler flag enableLwcOn

* test(integration-karma): modify test to include <> in error message

* test(integration-karma): remove console log spy

* perf(engine-core): change delete obj[x] to obj[x] = undefined

* test(integration-karma): simplify tests by re-using spies

* chore: increase allowed bundlesize limit

* test(template-compiler): fix error codes in snapshots

* fix: change throw new Error to logError

* docs(engine-core): add comments explaining dynamicOn has null proto and own enumerbale props

* test(integration-karma): add tests for objects with computed key

* fix(engine-core): modify patch logic to differentiate prop value = undefined and prop not existing

* test(integration-karma): add tests where arg has property with value non-function/ whose eval throws

* test(integration-karma): simplify value evaluation throws tests

* chore: bump CI

* fix: integration tests in Firefox

---------

Co-authored-by: Gaurav Kochar <gauravrkochar@gmail.com>
Co-authored-by: Will Harney <62956339+wjhsf@users.noreply.github.com>
@jhefferman-sfdc jhefferman-sfdc requested a review from a team as a code owner April 28, 2025 23:31
@jhefferman-sfdc jhefferman-sfdc changed the title Release r 8.18.2 Release (release) 8.18.2 Apr 28, 2025
@salesforce-nucleus
Copy link
Contributor

✅ All Pre-release Checks Passed

  • Check PR user has rights to execute the workflow
    PR owner is allowed to initiate release/deploy
  • Check PR is approved
    PR 5352 is approved
  • Check PR is mergeable
    PR 5352 is mergeable
  • ⚠️ Check GUS reference is present
    PR does not contain a reference to a GUS work item. You can update it any time by including '@W-XXXXXXX' into the title or body of the PR
  • Check no conflicting Github release
  • Check NPM packages have not been released yet
  • ⚪️ Check Maven artifacts have not been released yet (skipped)
    Skipping check since project doesn't deliver Maven artifacts
  • ⚪️ Check GAV mapping exists for jar repo (skipped)
    Skipping GAV mapping check because a core jar is not being released.

@salesforce-nucleus
Copy link
Contributor

🚢 Release Starting

This pull request has been merged and the release of version 8.18.2 is starting.

You can monitor the progress of the release in Nucleus by visiting the following URL.
https://nucleus.uipengsys-public.buildndeliver-s.aws-esvc1-useast2.aws.sfdc.cl/workflows/267784

@salesforce-nucleus salesforce-nucleus bot merged commit d2c5d22 into release Apr 29, 2025
11 of 13 checks passed
@salesforce-nucleus salesforce-nucleus bot deleted the release-r-8.18.2 branch April 29, 2025 00:00
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.

3 participants