Skip to content

Release v0.3.0 #40

Draft
edwintantawi wants to merge 4 commits intomainfrom
dev
Draft

Release v0.3.0 #40
edwintantawi wants to merge 4 commits intomainfrom
dev

Conversation

@edwintantawi
Copy link
Member

No description provided.

* feat(script): split script url or source and other attributes

* feat(style): split style css and other attributes

* docs: add basic usage for script and style

* feat(link): extract href as dedicated parameter in addLink

* fix(script): we can't using relative url

* docs: adjust addScript args name
* feat(builder): implement element deduplication with map

- Replace array-based element storage with Map for O(1) deduplication
- Add getElementKey() method to generate unique keys based on element type and attributes
- Elements with same key now replace previous ones instead of duplicating
- Update build() method to convert Map to array format

* chore(changeset): add changeset

* chore(release): update changeset from patch into minor

* refactor(builder): rename elements collection name
* feat(title): add templated title support

* chore(release): remove extra quote
* refactor(builder): explicitly return this for chaining method

* refactor(builder): rename parseValueOrFn return variable
@changeset-bot
Copy link

changeset-bot bot commented Feb 9, 2026

🦋 Changeset detected

Latest commit: dfd1960

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@devsantara/head Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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.

1 participant