Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: lume/element
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.12.1
Choose a base ref
...
head repository: lume/element
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.12.3
Choose a head ref
  • 5 commits
  • 27 files changed
  • 1 contributor

Commits on Sep 15, 2024

  1. - feat: Deprecate the ability to define static observedAttributes a…

    …s a map of attribute names to attribute handlers for non-decorator users, and instead create a new `static observedAttributeHandlers` for that purpose. This keeps the type of `static observedAttributes` clean and aligned with the DOM spec, while the new `static observedAttributeHandlers` has the type definition for the library-specific feature. Plus this prevents type issues downstream because the `@element` decorator (callable as a function when not using decorators) coerces the object format into the standard array format, yet the object type will still sppear in subclasses despite that it is never an object in subclasses.
    
        - deprecation: `static observedAttributes = {}` is deprecated, and only the standard `static observedAttributes = []` should be used. The object format will be removed in a breaking version bump.
    - infra: Unrestrict the `typescript` version so we can keep it updated with other packages in the lume repo.
    trusktr committed Sep 15, 2024
    Configuration menu
    Copy the full SHA
    9a14080 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #27 from lume/improve-observedAttributes-type

    Deprecate the ability to define `static observedAttributes` as a map of attribute names to attribute handlers for non-decorator users, and instead create a new `static observedAttributeHandlers` for that purpose.
    trusktr authored Sep 15, 2024
    Configuration menu
    Copy the full SHA
    8287981 View commit details
    Browse the repository at this point in the history
  3. v0.12.2

    trusktr committed Sep 15, 2024
    Configuration menu
    Copy the full SHA
    236dde9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d332aa1 View commit details
    Browse the repository at this point in the history
  5. v0.12.3

    trusktr committed Sep 15, 2024
    Configuration menu
    Copy the full SHA
    1d1eaa5 View commit details
    Browse the repository at this point in the history
Loading