v2.0.0
版本发布时间: 2024-06-18 02:42:14
bigskysoftware/htmx最新发布版本:v2.0.3(2024-10-05 01:55:20)
What's Changed
- Removed IE-specific tests by @Telroshan in https://github.com/bigskysoftware/htmx/pull/2039
- Remove legacy WS/SSE code by @Renerick in https://github.com/bigskysoftware/htmx/pull/2095
- Add support for shadow DOM by @kgscialdone in https://github.com/bigskysoftware/htmx/pull/2075
- Support encapsulating oob swap elements in templates in response by @Telroshan in https://github.com/bigskysoftware/htmx/pull/2120
- Updated mocha, tests now work with node 20 by @Telroshan in https://github.com/bigskysoftware/htmx/pull/2122
- Fix path-params title (preventing zola from building) by @Telroshan in https://github.com/bigskysoftware/htmx/pull/2121
- Fix broken link in essay by @nickchomey in https://github.com/bigskysoftware/htmx/pull/2143
- typo: dahs -> dash by @haidousm in https://github.com/bigskysoftware/htmx/pull/2142
- Add TypeScript union string type for custom event names by @cngJo in https://github.com/bigskysoftware/htmx/pull/2139
- Update
htmx.ajax
type signature to make theelement
argument optional by @PizzasBear in https://github.com/bigskysoftware/htmx/pull/2129 - Update docs.md by @feifangit in https://github.com/bigskysoftware/htmx/pull/2155
- Add "Is htmx Just Another Js Framework" Essay by @alexpetros in https://github.com/bigskysoftware/htmx/pull/2172
- Fix typo in framework essay by @alexpetros in https://github.com/bigskysoftware/htmx/pull/2174
- Remove incorrect external script info from client-side-templates docs by @kgscialdone in https://github.com/bigskysoftware/htmx/pull/2184
- Fix typo in Hyperscript Tabs docs by @ocku in https://github.com/bigskysoftware/htmx/pull/2164
- Fix SSE tests and emit new "beforeMessage" event for SSE Extension by @neelrr1 in https://github.com/bigskysoftware/htmx/pull/2171
- [Website]: Fix cut off list items in demo-server-info panel by @hawkticehurst in https://github.com/bigskysoftware/htmx/pull/2190
- [Website]: Fix demo-server-info panel rendering issue by @hawkticehurst in https://github.com/bigskysoftware/htmx/pull/2188
- Fix typos in mvc.md by @yansal in https://github.com/bigskysoftware/htmx/pull/2208
- Refactor and expose
swap
in public API by @Renerick in https://github.com/bigskysoftware/htmx/pull/2191 - chore: upgrade actions to v4 by @guoard in https://github.com/bigskysoftware/htmx/pull/2211
- Clarify hx-validate documentation by @MikeMoolenaar in https://github.com/bigskysoftware/htmx/pull/2221
- Remove extraneous
to
from essay (is-htmx-another-javascript-framework.md) by @kzsh in https://github.com/bigskysoftware/htmx/pull/2182 - Migrate to FormData by @Telroshan in https://github.com/bigskysoftware/htmx/pull/2226
- Add trailing slash to manual tests link by @danielnieto in https://github.com/bigskysoftware/htmx/pull/2241
- Add Scala http4s example to docs (server-examples) by @martinprobson in https://github.com/bigskysoftware/htmx/pull/2209
- Fix typos in markdown files by @cclauss in https://github.com/bigskysoftware/htmx/pull/2177
- Fix typos in the MVC essay by @cclauss in https://github.com/bigskysoftware/htmx/pull/2242
- https://github.com/bigskysoftware/htmx/pull/2248 in https://github.com/bigskysoftware/htmx/pull/2248
- Minimize re-rendering of 'bulk update users' table by @yawaramin in https://github.com/bigskysoftware/htmx/pull/2249
- Show element used for hx-indicator in value-select example code by @mheptinstall in https://github.com/bigskysoftware/htmx/pull/2275
- Fix edit-row example by @sake92 in https://github.com/bigskysoftware/htmx/pull/2273
- Add htmx security essay by @alexpetros in https://github.com/bigskysoftware/htmx/pull/2280
- Docs: Reference page. Shortened, clarity. by @gnat in https://github.com/bigskysoftware/htmx/pull/2282
- Add web components / shadow DOM example to docs by @kgscialdone in https://github.com/bigskysoftware/htmx/pull/2283
- Docs: Less wordy client scripting introduction. by @gnat in https://github.com/bigskysoftware/htmx/pull/2307
- Fixed typo in Web Security Basics essay by @rdbo in https://github.com/bigskysoftware/htmx/pull/2302
- Docs: Hotwire migration guide: Examples for hx-on! Turbo Streams commentary. by @gnat in https://github.com/bigskysoftware/htmx/pull/2306
- [DOC] Adds a reference to
hx-swap
from SSE extension by @itamarhaber in https://github.com/bigskysoftware/htmx/pull/2293 - Add signup.casa to webring by @nickmonad in https://github.com/bigskysoftware/htmx/pull/2324
- Sync configuration options from reference by @bencroker in https://github.com/bigskysoftware/htmx/pull/2310
- Show hx attributes used in bulk-update code example by @mheptinstall in https://github.com/bigskysoftware/htmx/pull/2274
- Docs: Tiny fixes for Hotwire page. by @gnat in https://github.com/bigskysoftware/htmx/pull/2322
- Add link to
htmx-examples-with-flask
resource by @hasansezertasan in https://github.com/bigskysoftware/htmx/pull/2328 - JSdoc in htmx.js + generated TypeScript definition by @Telroshan in https://github.com/bigskysoftware/htmx/pull/2336
- fix sse-swap removal handling in ext/sse.js by @Renerick in https://github.com/bigskysoftware/htmx/pull/2247
- SSE Ext #2225: reinstantiate EventSource listeners upon reconnection logic by @vlad-tkachenko in https://github.com/bigskysoftware/htmx/pull/2272
- Add textContent swap style by @pbt in https://github.com/bigskysoftware/htmx/pull/2356
- [Documentation] Server Examples: Add F# - Giraffe example by @SIRHAMY in https://github.com/bigskysoftware/htmx/pull/2363
- Add Recipya to the webring by @reaper47 in https://github.com/bigskysoftware/htmx/pull/2345
- [DOC] clarify SSE hx-swap docs to note #784 by @cbiffle in https://github.com/bigskysoftware/htmx/pull/2327
- Update podcasts.csv by @srcerer in https://github.com/bigskysoftware/htmx/pull/2380
- Add config option to ignore nested oob-swaps instead of processing them by @infogulch in https://github.com/bigskysoftware/htmx/pull/1235
- Fix TypeScript types by @nwalters512 in https://github.com/bigskysoftware/htmx/pull/2261
- Double script exec tests variants using templates: issue confirmed by @Telroshan in https://github.com/bigskysoftware/htmx/pull/2365
- WS.js fix for Safari on iOS 17.4 by @Renerick in https://github.com/bigskysoftware/htmx/pull/2391
- Fix date in CHANGELOG.md by @gotcha in https://github.com/bigskysoftware/htmx/pull/2419
- Add documentation for multiple CSS selectors in hx-disabled-elt by @eduardolat in https://github.com/bigskysoftware/htmx/pull/2421
- Ws fix hx vals number handling by @Renerick in https://github.com/bigskysoftware/htmx/pull/2418
- Fix IE11 incompatibilities by @Telroshan in https://github.com/bigskysoftware/htmx/pull/2408
- Link to section on CSS Transitions instead of Mozilla page by @Pi-Cla in https://github.com/bigskysoftware/htmx/pull/2413
- Fix example for mustache in client-side-templates extension. by @airblast-dev in https://github.com/bigskysoftware/htmx/pull/2409
- Switch to default export for htmx 2 by @alexpetros in https://github.com/bigskysoftware/htmx/pull/2428
- Add reference to unminified CDN distribution to the docs by @Renerick in https://github.com/bigskysoftware/htmx/pull/2460
- Fix #2317 force conversion to FormData for xhr.send by @Telroshan in https://github.com/bigskysoftware/htmx/pull/2481
- Update podcasts.csv by @srcerer in https://github.com/bigskysoftware/htmx/pull/2500
- Add Statusnook to the webring by @goksan in https://github.com/bigskysoftware/htmx/pull/2506
- Remove Node 15 requirement mention from README by @Telroshan in https://github.com/bigskysoftware/htmx/pull/2494
- use same ID throughout the example by @gossie in https://github.com/bigskysoftware/htmx/pull/2471
- Update hx-indicator.md by @rafkub in https://github.com/bigskysoftware/htmx/pull/2444
- Update confirm.md by @rafkub in https://github.com/bigskysoftware/htmx/pull/2443
- Fix a trivial typo in CONTRIBUTING.md. by @andrejota in https://github.com/bigskysoftware/htmx/pull/2436
- fix(docs): Add missing apostrophes by @noman-land in https://github.com/bigskysoftware/htmx/pull/2405
- docs: aria-selected true in Tabs HATEOS example by @nicoekkart in https://github.com/bigskysoftware/htmx/pull/2404
- More explicit explanation of htmx.config.getCacheBusterParam by @lookbusy1344 in https://github.com/bigskysoftware/htmx/pull/2376
- docs: fix
this
binding inonClick .then
handler with arrow function by @lloydlobo in https://github.com/bigskysoftware/htmx/pull/2373 - [2.0] Improve extension registration logic by @Renerick in https://github.com/bigskysoftware/htmx/pull/2505
- Add tests for getSelectors method for extension registration by @Renerick in https://github.com/bigskysoftware/htmx/pull/2508
- feat: Add inlineSlyeNonce configuration by @marcospereira in https://github.com/bigskysoftware/htmx/pull/2542
- (website) Fix url to github stars by @zoomie in https://github.com/bigskysoftware/htmx/pull/2521
- 📚 fix code sample in documentation by @antoine-aumjaud in https://github.com/bigskysoftware/htmx/pull/2498
- Fix double-encoded UTF-8 characters by @szepeviktor in https://github.com/bigskysoftware/htmx/pull/2371
- Add Dark mode to the website by @pokonski in https://github.com/bigskysoftware/htmx/pull/2562
New Contributors
- @kgscialdone made their first contribution in https://github.com/bigskysoftware/htmx/pull/2075
- @nickchomey made their first contribution in https://github.com/bigskysoftware/htmx/pull/2143
- @haidousm made their first contribution in https://github.com/bigskysoftware/htmx/pull/2142
- @cngJo made their first contribution in https://github.com/bigskysoftware/htmx/pull/2139
- @PizzasBear made their first contribution in https://github.com/bigskysoftware/htmx/pull/2129
- @feifangit made their first contribution in https://github.com/bigskysoftware/htmx/pull/2155
- @ocku made their first contribution in https://github.com/bigskysoftware/htmx/pull/2164
- @neelrr1 made their first contribution in https://github.com/bigskysoftware/htmx/pull/2171
- @hawkticehurst made their first contribution in https://github.com/bigskysoftware/htmx/pull/2190
- @guoard made their first contribution in https://github.com/bigskysoftware/htmx/pull/2211
- @MikeMoolenaar made their first contribution in https://github.com/bigskysoftware/htmx/pull/2221
- @kzsh made their first contribution in https://github.com/bigskysoftware/htmx/pull/2182
- @danielnieto made their first contribution in https://github.com/bigskysoftware/htmx/pull/2241
- @martinprobson made their first contribution in https://github.com/bigskysoftware/htmx/pull/2209
- @cclauss made their first contribution in https://github.com/bigskysoftware/htmx/pull/2177
- @philips made their first contribution in https://github.com/bigskysoftware/htmx/pull/2248
- @mheptinstall made their first contribution in https://github.com/bigskysoftware/htmx/pull/2275
- @sake92 made their first contribution in https://github.com/bigskysoftware/htmx/pull/2273
- @rdbo made their first contribution in https://github.com/bigskysoftware/htmx/pull/2302
- @itamarhaber made their first contribution in https://github.com/bigskysoftware/htmx/pull/2293
- @nickmonad made their first contribution in https://github.com/bigskysoftware/htmx/pull/2324
- @hasansezertasan made their first contribution in https://github.com/bigskysoftware/htmx/pull/2328
- @vlad-tkachenko made their first contribution in https://github.com/bigskysoftware/htmx/pull/2272
- @pbt made their first contribution in https://github.com/bigskysoftware/htmx/pull/2356
- @SIRHAMY made their first contribution in https://github.com/bigskysoftware/htmx/pull/2363
- @reaper47 made their first contribution in https://github.com/bigskysoftware/htmx/pull/2345
- @cbiffle made their first contribution in https://github.com/bigskysoftware/htmx/pull/2327
- @nwalters512 made their first contribution in https://github.com/bigskysoftware/htmx/pull/2261
- @eduardolat made their first contribution in https://github.com/bigskysoftware/htmx/pull/2421
- @Pi-Cla made their first contribution in https://github.com/bigskysoftware/htmx/pull/2413
- @airblast-dev made their first contribution in https://github.com/bigskysoftware/htmx/pull/2409
- @goksan made their first contribution in https://github.com/bigskysoftware/htmx/pull/2506
- @gossie made their first contribution in https://github.com/bigskysoftware/htmx/pull/2471
- @rafkub made their first contribution in https://github.com/bigskysoftware/htmx/pull/2444
- @andrejota made their first contribution in https://github.com/bigskysoftware/htmx/pull/2436
- @noman-land made their first contribution in https://github.com/bigskysoftware/htmx/pull/2405
- @nicoekkart made their first contribution in https://github.com/bigskysoftware/htmx/pull/2404
- @lookbusy1344 made their first contribution in https://github.com/bigskysoftware/htmx/pull/2376
- @lloydlobo made their first contribution in https://github.com/bigskysoftware/htmx/pull/2373
- @marcospereira made their first contribution in https://github.com/bigskysoftware/htmx/pull/2542
- @zoomie made their first contribution in https://github.com/bigskysoftware/htmx/pull/2521
- @antoine-aumjaud made their first contribution in https://github.com/bigskysoftware/htmx/pull/2498
- @pokonski made their first contribution in https://github.com/bigskysoftware/htmx/pull/2562
Full Changelog: https://github.com/bigskysoftware/htmx/compare/v1.9.10...v2.0.0
1、 htmx.amd.js 155.74KB
2、 htmx.cjs.js 155.73KB
3、 htmx.esm.js 155.73KB
4、 htmx.js 155.71KB
5、 htmx.min.js 47.93KB