Tags: KARTIKrocks/wshub
Tags
feat(website): add Why wshub? comparison and Performance stats (#91) The landing page listed features but never answered the question a developer evaluating it actually asks - what does this give me that a raw WebSocket library does not - and carried none of the benchmark numbers. Both now live on the page that search traffic lands on, mirroring the README sections added in 1.8.1. Presented as a table and a row of stat tiles rather than charts: a capability matrix and four headline figures are not plot-shaped, and a bar chart of four unrelated units would be noise. All colours come from existing --ifm-* tokens, so both themes and the site's contrast behaviour are inherited rather than re-specified. The figures and capability rows are duplicated from the README by necessity; both call sites carry a comment pointing at the other. <!-- A PR body is a form, not a document; its sections start at h2 by design. --> <!-- markdownlint-disable-next-line MD041 --> ## Summary <!-- Brief description of what this PR does and why --> ## Motivation <!-- Why is this change needed? Link to related issues --> Fixes # ## Changes <!-- List the key changes made --> - ## Test Plan <!-- How was this tested? What should reviewers run/check? --> - [ ] `make all` passes (fmt, vet, lint, test, build) ## Checklist - [ ] Tests added or updated for changed behavior - [ ] No breaking changes — or breaking changes described below ### Breaking Changes <!-- If applicable, describe what breaks and how to migrate -->
feat: upgrade to Go 1.27 with encoding/json/v2 hardening (#80) <!-- A PR body is a form, not a document; its sections start at h2 by design. --> <!-- markdownlint-disable-next-line MD041 --> ## Summary Bumps the required Go version to 1.27 across the root module and every submodule, unlocking two follow-on changes: message.go, presence.go, and both adapters now use encoding/json/v2 (stricter defaults: case-sensitive member matching, duplicate-key rejection, invalid-UTF-8 rejection) instead of encoding/json v1, and hub.go/client.go generate IDs with the new stdlib uuid package instead of google/uuid, dropping that dependency entirely. Also: - CI (ci.yml, codeql.yml) no longer hardcodes Go versions — the floor leg reads go-version-file from each module's own go.mod and the "current release" leg uses Go's stable alias, so neither needs a manual bump again. golangci-lint's version is now read from the Makefile instead of duplicated in the workflow. - Applied Go 1.27's new go fix modernizers repo-wide (atomic.Int64 fields, sync.WaitGroup.Go, slices.Backward). - Added .greptile/ configuration for automated PR review, alongside the existing .coderabbit.yaml. - Updated AGENTS.md, CONTRIBUTING.md, and CHANGELOG.md (v1.8.0 entry) to match; refreshed the README benchmark tables against the new toolchain. - Website: version markers on the changed docs, plus a cut version-1.8 snapshot since this release changes previously-documented behavior (the Go floor and Message.JSON's parsing semantics), same as the v1.7.0 AllowSameOrigin precedent. <!-- Brief description of what this PR does and why --> ## Motivation <!-- Why is this change needed? Link to related issues --> Fixes # ## Changes <!-- List the key changes made --> - ## Test Plan <!-- How was this tested? What should reviewers run/check? --> - [ ] `make all` passes (fmt, vet, lint, test, build) ## Checklist - [ ] Tests added or updated for changed behavior - [ ] No breaking changes — or breaking changes described below ### Breaking Changes <!-- If applicable, describe what breaks and how to migrate --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added support for Go 1.27+ across the project. * Updated JSON handling with stricter validation: case-sensitive member matching, duplicate-member rejection, and invalid UTF-8 rejection. * **Documentation** * Updated installation guidance, version listings, release notes, and benchmark information. * Documented the JSON behavior changes and updated development prerequisites. * **Chores** * Improved automated testing across supported Go versions and added expanded code-quality review guidance. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Final state of the hand-rolled React/Vite docs site, replaced by the … …Docusaurus site in website/ on main (PR #69). Kept as a tag so the branch can be deleted without making this history unreachable. Safe to delete if you do not want it: git push origin :refs/tags/archive-old-website-spa
PreviousNext