Skip to content

Release Tracking - #7

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

Release Tracking#7
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@openproject/stimulus-elements@0.3.0

Minor Changes

  • #1 5d606a3 Thanks @myabc! - Fix WithElements to camelize keys like the runtime, and warn on colliding element keys

    • WithElements<{ menu_item: string }> now yields menuItemElement /
      menuItemElements / hasMenuItemElement, matching the runtime accessors.
      Previously it produced the wrong menu_itemElement names; if you worked
      around this by passing pre-camelized keys, those still work — but usages
      typed against the old snake_case accessor names must be renamed.
    • Element keys whose generated accessor names collide (e.g. foo and _foo
      both produce hasFooElement, or foo's predicate vs hasFoo's getter)
      now emit a console warning naming both keys; the later definition wins that
      property, as before.
    • The naming rule (key → accessor triple + attribute suffix) now lives in one
      module, with the acronym behaviour (htmlURLhtml-u-r-l) locked in by
      tests.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

0 participants