From 86b0edab851be5306ebac1df6909dddaabbe38ba Mon Sep 17 00:00:00 2001 From: YK Date: Tue, 4 Oct 2022 13:26:29 +0200 Subject: [PATCH 1/4] Added return type inference for the Component.for() utility --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 22946c8..8fe28e6 100644 --- a/index.d.ts +++ b/index.d.ts @@ -3,7 +3,7 @@ export type BoundTemplateFunction = TemplateFunc export type WiredTemplateFunction = TemplateFunction; export declare class Component { - static for(context: object, identity?: any): Component; + static for(this: new() => TComponent, context: object, identity?: any): TComponent; handleEvent(e: Event): void; html: WiredTemplateFunction; svg: WiredTemplateFunction; From 3c6bb83bc8fd407aa9e8843be24b30d5596d6a75 Mon Sep 17 00:00:00 2001 From: webreflection Date: Tue, 4 Oct 2022 14:16:55 +0200 Subject: [PATCH 2/4] 2.34.2 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4393995..9aeded9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "hyperhtml", - "version": "2.34.1", + "version": "2.34.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "hyperhtml", - "version": "2.34.1", + "version": "2.34.2", "license": "ISC", "dependencies": { "@ungap/create-content": "0.2.0", diff --git a/package.json b/package.json index 8f8070d..1210de5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hyperhtml", - "version": "2.34.1", + "version": "2.34.2", "description": "A Fast & Light Virtual DOM Alternative", "homepage": "https://viperhtml.js.org/hyper.html", "unpkg": "min.js", From 5ec46ea49d6a7aac35e84007a4521103bd44deae Mon Sep 17 00:00:00 2001 From: Ethan Setnik Date: Wed, 2 Nov 2022 17:21:02 -0400 Subject: [PATCH 3/4] Fix typo in the word read --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cef5470..f42ae62 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ This project exists thanks to all the people who contribute. [[Contribute](CONTR ### 2.34 Highlights - * the new `?boolean=${value}` syntax from [µhtml](https://github.com/WebReflection/uhtml#readme) has landed in *hyperHTML* too. Feel free to [rea this long discussion](https://github.com/WebReflection/discussions/discussions/13) to better understand *why* this syntax is necessary. + * the new `?boolean=${value}` syntax from [µhtml](https://github.com/WebReflection/uhtml#readme) has landed in *hyperHTML* too. Feel free to [read this long discussion](https://github.com/WebReflection/discussions/discussions/13) to better understand *why* this syntax is necessary. ### V2.5 Highlights From 9580a066963012abf3658b568691261c60d33c9e Mon Sep 17 00:00:00 2001 From: Andrea Giammarchi Date: Fri, 4 Aug 2023 10:50:37 +0200 Subject: [PATCH 4/4] Explicit Maintenance Mode This MR explains why nobody should waste time to remove code that just works for a library that also just works. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index f42ae62..72f7e51 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,13 @@ # hyper(HTML) +### Maintainance Only + +This module is great, works great, and served me greatly, but there's a pletora of modern, faster, more capable alternatives me, among many other OSS developers, offer so that if obvious bugs are proven to exist, these will be fixed, but there won't be a major release and I won't remove legacy support for stuff that, as previously mentioned, works just fine and it's battle-tested from IE to the latest Chrome. + +Removing that legacy support brings pretty much nothing in terms of size too: this module is already smaller than 90% of alternatives out there, dropping 0.xK so that there's less code that, behind feature detection, is not even used in modern browsers, won't benefit anyone. + +Thansk for your understanding and for not opening PRs which goal is to drop a check for legacy browsers ... these won't likely be merged ever as that'd be a major release update and I don't think anyone is interested in that. + ### 📣 Community Announcement Please ask questions in the [dedicated discussions repository](https://github.com/WebReflection/discussions), to help the community around this project grow ♥