js-component-bindgen 2.0.2

JS component bindgen for transpiling WebAssembly components into JavaScript
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
# Changelog

## [2.0.2] - 2026-06-15

### ⚙️ Miscellaneous Tasks

- _(bindgen)_ update to WASI 0.3.0 by @vados-cosmonic




## [2.0.1] - 2026-06-15

### 🐛 Bug Fixes

- _(bindgen)_ storage len accounting when lifting lists by @vados-cosmonic in #1634




## [2.0.0] - 2026-06-11

### 🐛 Bug Fixes

- _(bindgen)_ flattening of f32 in variant by @vados-cosmonic

- _(bindgen)_ direct param lifts by @vados-cosmonic in #1615

- _(bindgen)_ context.get/set deps by @vados-cosmonic

- _(bindgen)_ save component idx during gen for context.{get,set} by @vados-cosmonic


### 🚜 Refactor

- _(bindgen)_ rework lowers for variant based types by @vados-cosmonic




## [1.20.1] - 2026-06-10

### 🐛 Bug Fixes

- _(bindgen)_ let host provided imports enter immediately by @andreiltd in #1619




## [1.20.0] - 2026-06-10

### 🚀 Features

- _(bindgen)_ pass through generation purpose (import/export) by @vados-cosmonic

- _(bindgen)_ add Waitable#waitForPendingEvent by @vados-cosmonic


### 🐛 Bug Fixes

- _(bindgen)_ perform lifts on async-ness and host imports by @vados-cosmonic

- _(bindgen)_ yield intrinsic using removed yield fn by @vados-cosmonic

- _(bindgen)_ start lowered import in microtask by @vados-cosmonic

- _(bindgen)_ use new JS task for subtask start by @vados-cosmonic

- _(bindgen)_ remove current task wait code by @vados-cosmonic

- _(bindgen)_ mark thread yield as early trampoline by @vados-cosmonic

- _(bindgen)_ use of jspi for yield by @vados-cosmonic

- _(bindgen)_ set typedArray in js lowering functions by @lann in #1611


### ⚙️ Miscellaneous Tasks

- _(bindgen)_ add debug logging for errors during calls by @vados-cosmonic

- _(bindgen)_ improve logging, add check for return fn called by @vados-cosmonic

- _(bindgen)_ improve debug logging by @vados-cosmonic



## New Contributors
* @lann made their first contribution in [#1611]https://github.com/bytecodealliance/jco/pull/1611


## [1.19.7] - 2026-06-08

### 🐛 Bug Fixes

- _(bindgen)_ complete host stream reads after partial progress by @andreiltd in #1604

- _(bindgen)_ lower async flag results with js field names by @andreiltd in #1598

- _(bindgen)_ generate ASYNC_BLOCKED_CODE for futures by @andreiltd in #1599




## [1.19.6] - 2026-06-02

### 🐛 Bug Fixes

- _(bindgen)_ restore storageLen budget after a list field in records and tuples by @temporaryfix in #1586



## New Contributors
* @temporaryfix made their first contribution in [#1586]https://github.com/bytecodealliance/jco/pull/1586


## [1.19.5] - 2026-06-01

### 🐛 Bug Fixes

- _(bindgen)_ track resource origination at runtime by @vados-cosmonic

- _(bindgen)_ resource transfer logic by @vados-cosmonic


### 🚜 Refactor

- _(bindgen)_ clearer autovivicaion of individual handle table by @vados-cosmonic in #1572

- _(bindgen)_ make handle tables global screaming snake case by @vados-cosmonic


### ⚙️ Miscellaneous Tasks

- _(bindgen)_ remove dead code by @vados-cosmonic




## [1.19.4] - 2026-05-27

### 🐛 Bug Fixes

- _(bindgen)_ remove _isHostProvided by @vados-cosmonic

- _(bindgen)_ avoid spread calls for host stream buffers by @andreiltd in #1561

- _(bindgen)_ support rejecting oversized host stream reads by @andreiltd




## [1.19.3] - 2026-05-26

### 🐛 Bug Fixes

- _(bindgen)_ propagate host stream drop/cancel by @andreiltd

- _(bindgen)_ support for WIT type aliases


### 🚜 Refactor

- _(bindgen)_ match logic for type resolution for type aliases by @vados-cosmonic in #1549




## [1.19.2] - 2026-05-20

### 🐛 Bug Fixes

- _(bindgen)_ lift imported own handles via captureTable by @andreiltd in #1515


### ⚙️ Miscellaneous Tasks

- _(bindgen)_ update git cliff config by @vados-cosmonic




## [1.19.1] - 2026-05-19

### 🐛 Bug Fixes

- _(bindgen)_ fix realloc fn lowering by @andreiltd in #1509




## [1.19.0] - 2026-05-16

### 🚀 Features

- _(bindgen)_ allow expanding numeric chunks in stream lowering by @andreiltd in #1481

- _(bindgen)_ add support for stream reads with count > 1 by @andreiltd


### 🐛 Bug Fixes

- _(bindgen)_ avoid assuming WebAssembly global is present by @vados-cosmonic in #1497

- _(bindgen)_ getGlobalCurrentTaskMeta null handling by @wondenge in #1378

- _(bindgen)_ use builder for TranspileOpts by @vados-cosmonic in #1490

- _(bindgen)_ make canon opts optional for func bindgen by @vados-cosmonic in #1488

- _(bindgen)_ register p3 global table-map intrinsics before per-table assignments by @GamePad64 in #1464

- _(bindgen)_ fix result rejection lowering and stream drop propagation by @andreiltd in #1461

- _(bindgen)_ allow external crates to use intrinsic renderer by @vados-cosmonic in #1462

- _(bindgen)_ ensure moving storage pointers by abi size by @andreiltd in #1452

- _(bindgen)_ cache the listValue implementation by @andreiltd in #1445

- _(bindgen)_ lift numeric p3 lists and streams as typed arrays by @andreiltd

- _(bindgen)_ populate imported resource lower metadata by @andreiltd in #1450

- _(bindgen)_ use async ABI for async imports by @andreiltd in #1449

- _(bindgen)_ address code review by @andreiltd

- _(bindgen)_ get blocked copy result from pending event by @andreiltd

- _(bindgen)_ avoid async future and stream host injection deadlocks by @andreiltd


### 🚜 Refactor

- _(bindgen)_ remove usage of _FN_LOCALS by @vados-cosmonic in #1500

- _(bindgen)_ remove canon opts from function bindgen by @vados-cosmonic

- _(bindgen)_ move stream host injection readiness check by @andreiltd in #1437



## New Contributors
* @GamePad64 made their first contribution in [#1464]https://github.com/bytecodealliance/jco/pull/1464


## [1.19.0-rc.7] - 2026-05-16

### 🚜 Refactor

- _(bindgen)_ remove usage of _FN_LOCALS by @vados-cosmonic in #1500




## [1.19.0-rc.6] - 2026-05-16

### 🐛 Bug Fixes

- _(bindgen)_ avoid assuming WebAssembly global is present by @vados-cosmonic in #1497




## [1.19.0-rc.5] - 2026-05-15

### 🐛 Bug Fixes

- _(bindgen)_ getGlobalCurrentTaskMeta null handling by @wondenge in #1378


### 🚜 Refactor

- _(bindgen)_ remove canon opts from function bindgen by @vados-cosmonic




## [1.19.0-rc.4] - 2026-05-15

### 🐛 Bug Fixes

- _(bindgen)_ use builder for TranspileOpts by @vados-cosmonic in #1490




## [1.19.0-rc.3] - 2026-05-15

### 🚀 Features

- _(bindgen)_ allow expanding numeric chunks in stream lowering by @andreiltd in #1481


### 🐛 Bug Fixes

- _(bindgen)_ make canon opts optional for func bindgen by @vados-cosmonic in #1488




## [1.19.0-rc.2] - 2026-05-13

This RC tests new release machinery that allows for augmenting changelog entries
with custom messages (like this one).


## [1.19.0-rc.1] - 2026-05-13



## [1.19.0-rc.0] - 2026-05-12

### 🚀 Features

- _(bindgen)_ add support for stream reads with count > 1 by @andreiltd


### 🐛 Bug Fixes

- _(bindgen)_ register p3 global table-map intrinsics before per-table assignments by @GamePad64 in #1464

- _(bindgen)_ fix result rejection lowering and stream drop propagation by @andreiltd in #1461

- _(bindgen)_ allow external crates to use intrinsic renderer by @vados-cosmonic in #1462

- _(bindgen)_ ensure moving storage pointers by abi size by @andreiltd in #1452

- _(bindgen)_ cache the listValue implementation by @andreiltd in #1445

- _(bindgen)_ lift numeric p3 lists and streams as typed arrays by @andreiltd

- _(bindgen)_ populate imported resource lower metadata by @andreiltd in #1450

- _(bindgen)_ use async ABI for async imports by @andreiltd in #1449

- _(bindgen)_ address code review by @andreiltd

- _(bindgen)_ get blocked copy result from pending event by @andreiltd

- _(bindgen)_ avoid async future and stream host injection deadlocks by @andreiltd


### 🚜 Refactor

- _(bindgen)_ move stream host injection readiness check by @andreiltd in #1437



## New Contributors
* @GamePad64 made their first contribution in [#1464]https://github.com/bytecodealliance/jco/pull/1464


## [1.18.0] - 2026-04-29

### 🚀 Features

- _(bindgen)_ implement future<future<t>> lower by @vados-cosmonic

- _(bindgen)_ fill out future lower impl by @vados-cosmonic


### 🐛 Bug Fixes

- _(bindgen)_ return state-only handle when async-lowered import resolves eagerly by @andreiltd in #1434

- _(bindgen)_ use waitable index in p3 future event payload by @andreiltd in #1433

- _(bindgen)_ lint & nested future check by @vados-cosmonic in #1422

- _(bindgen)_ progress towards nested futture read by @vados-cosmonic

- _(bindgen)_ fix task.return param spill check by @vados-cosmonic

- _(bindgen)_ more direct task failure by @vados-cosmonic

- _(bindgen)_ fix error passing for initial export call errors by @vados-cosmonic

- _(bindgen)_ re-enable determinism coinflip by @vados-cosmonic


### ⚙️ Miscellaneous Tasks

- _(bindgen)_ update comment by @vados-cosmonic

- _(bindgen)_ set errored on tasks that error early by @vados-cosmonic




## [1.17.0] - 2026-04-22


## New Contributors
* @QuantumSegfault made their first contribution in [#1421]https://github.com/bytecodealliance/jco/pull/1421


## [1.16.8] - 2026-04-18

### 🚜 Refactor

- _(bindgen)_ update 'use jco' directive to 'use components' by @vados-cosmonic




## [1.16.7] - 2026-04-17

### 🚀 Features

- _(bindgen)_ add --strict option for enabling type checks by @vados-cosmonic


### 🐛 Bug Fixes

- _(bindgen)_ remove leftover debug code by @vados-cosmonic




## [1.16.6] - 2026-04-16

### 🚀 Features

- _(bindgen)_ add support for p3 futures by @vados-cosmonic

- _(bindgen)_ add explicit checks for lowered numeric primitives by @vados-cosmonic

- _(bindgen)_ host side stream writes from any async iterator by @vados-cosmonic

- _(bindgen)_ implement Instruction::StreamLower by @vados-cosmonic


### 🐛 Bug Fixes

- _(bindgen)_ use IndexMap for deterministic export iteration order by @wondenge

- _(bindgen)_ resource hookup for imports by @vados-cosmonic in #1371

- _(bindgen)_ use adhoc mapping while generating lift/lower fns by @vados-cosmonic

- _(bindgen)_ impl async stream lower owned resources by @vados-cosmonic

- _(bindgen)_ implementation of flat lower own by @vados-cosmonic

- _(bindgen)_ fix async future JS codegen producing invalid output by @wondenge in #1367

- _(bindgen)_ async stream list lower impl by @vados-cosmonic

- _(bindgen)_ option, result, flag lowers by @vados-cosmonic

- _(bindgen)_ async stream option & result lowering by @vados-cosmonic

- _(bindgen)_ revert utf16 encoding changes by @vados-cosmonic

- _(bindgen)_ utf16 decode logic by @vados-cosmonic

- _(bindgen)_ fill in missing lower impls by @vados-cosmonic

- _(bindgen)_ async stream record lowering impl by @vados-cosmonic

- _(bindgen)_ async string flat lowering missing realloc by @vados-cosmonic

- _(bindgen)_ missing ctx in memory usage by @vados-cosmonic

- _(bindgen)_ host-side write post-read event clearing by @vados-cosmonic

- _(bindgen)_ fix Instruction::StreamLift in async contexts by @vados-cosmonic

- _(bindgen)_ done check during read by @vados-cosmonic

- _(bindgen)_ check for host data in host-controlled streams by @vados-cosmonic

- _(bindgen)_ stream drop logic by @vados-cosmonic


### 🚜 Refactor

- _(bindgen)_ use upstream indexmap dep by @vados-cosmonic

- _(bindgen)_ factor out strewam write injection, use w/ lower by @vados-cosmonic

- _(bindgen)_ resource lift handling by @vados-cosmonic

- _(bindgen)_ move resouce scope tracking by @vados-cosmonic in #1358

- _(bindgen)_ use older iteration pattern for node 18/20 by @vados-cosmonic in #1343

- _(bindgen)_ rework lowering code by @vados-cosmonic

- _(bindgen)_ late handling of string encoding by @vados-cosmonic


### ⚙️ Miscellaneous Tasks

- _(bindgen)_ update wasm/wit deps to 0.245.1 by @vados-cosmonic

- _(bindgen)_ fmt by @vados-cosmonic

- _(bindgen)_ clippy by @vados-cosmonic



## New Contributors
* @wondenge made their first contribution


## [1.16.5] - 2026-03-30

### 🚀 Features

- _(bindgen)_ configure wasmparser for wasm 3.0 support by @vados-cosmonic in #1348

- _(bindgen)_ add drop for external stream class by @vados-cosmonic


### 🐛 Bug Fixes

- _(bindgen)_ generate ancillary type generation for functions by @vados-cosmonic

- _(bindgen)_ bindgen runtime bugs by @vados-cosmonic in #1347

- _(bindgen)_ flat stream lift for nested streams by @vados-cosmonic

- _(bindgen)_ allow for imported resources to be lifted out by @vados-cosmonic

- _(bindgen)_ more gracefully handle missing type data by @vados-cosmonic

- _(bindgen)_ add remaining stream lift tests by @vados-cosmonic




## [1.16.4] - 2026-03-24

### 🐛 Bug Fixes

- _(bindgen)_ regression in support for core wasm export initialize by @vados-cosmonic




## [1.16.3] - 2026-03-23

### 🚀 Features

- _(bindgen)_ add stream lift for flags by @vados-cosmonic

- _(bindgen)_ add flat lift for tuple<t> by @vados-cosmonic


### 🐛 Bug Fixes

- _(bindgen)_ stream timing issue by @vados-cosmonic

- _(bindgen)_ list canon lower for special cased list<u8> by @vados-cosmonic

- _(bindgen)_ use of async enter by @vados-cosmonic

- _(bindgen)_ error tag name by @vados-cosmonic

- _(bindgen)_ async flat lift impl for fixed length lists by @vados-cosmonic

- _(bindgen)_ list async lift impls for list & fixed size list by @vados-cosmonic


### 🚜 Refactor

- _(bindgen)_ impl for fixed/unknown length lists by @vados-cosmonic

- _(bindgen)_ rework async lift for enums by @vados-cosmonic


### ⚙️ Miscellaneous Tasks

- _(bindgen)_ clippy by @vados-cosmonic

- _(bindgen)_ show value in debug msg for incorrect variant input by @vados-cosmonic




## [1.16.2] - 2026-03-18

### 🚀 Features

- _(bindgen)_ implement fixed length lists by @yannbolliger


### 🐛 Bug Fixes

- _(bindgen)_ make all bindings const by @yannbolliger in #1315




## [1.16.1] - 2026-03-18

### 🐛 Bug Fixes

- _(bindgen)_ variant lifting impl, update code for lowering by @vados-cosmonic in #1316

- _(bindgen)_ record lift implementation by @vados-cosmonic




## [1.16.0] - 2026-03-17

### 🚀 Features

- _(bindgen)_ add stubs for {Enter,Exit}SyncCall by @vados-cosmonic in #1279

- _(bindgen)_ add basic avoidance of overlapping async task runs by @vados-cosmonic


### 🐛 Bug Fixes

- _(bindgen)_ flat string lift by @vados-cosmonic

- _(bindgen)_ allow overriding lower import trampolines for deno by @vados-cosmonic

- _(bindgen)_ err ctx impl by @vados-cosmonic

- _(bindgen)_ stream impl, determinism, async machinery by @vados-cosmonic

- _(bindgen)_ wait for exits rather than result returns by @vados-cosmonic

- _(bindgen)_ avoid component invariant checking for host tasks by @vados-cosmonic

- _(bindgen)_ remove lift/lower duplication on task.resolve by @vados-cosmonic

- _(bindgen)_ stream end handling, event loop by @vados-cosmonic


### 🚜 Refactor

- _(bindgen)_ consistent use of promise with resolvers ponyfill by @vados-cosmonic


### ⚙️ Miscellaneous Tasks

- _(bindgen)_ remove leftover debug line by @vados-cosmonic in #1308

- _(bindgen)_ add debugging to unexpected results branch by @vados-cosmonic

- _(bindgen)_ update upstream deps by @vados-cosmonic

- _(bindgen)_ remove extra tick by @vados-cosmonic

- _(bindgen)_ fmt by @vados-cosmonic




## [1.15.0] - 2026-02-13

### 🚀 Features

- _(bindgen)_ add p3 stream implementation by @vados-cosmonic

- _(bindgen)_ add semver-compatible matching by @ricochet


### 🐛 Bug Fixes

- _(bindgen)_ enable wasm exceptions proposal support by @rioam2 in #1258

- _(bindgen)_ missing scope_id for resource borrow by @vados-cosmonic

- _(bindgen)_ async host import lookup by @vados-cosmonic

- _(bindgen)_ resource connecting, comments around lifts for futures by @vados-cosmonic

- _(bindgen)_ resource tracking by @vados-cosmonic

- _(bindgen)_ typo in lift code by @vados-cosmonic

- _(bindgen)_ unit stream copy check by @vados-cosmonic

- _(bindgen)_ refactor canon list lower handling by @vados-cosmonic

- _(bindgen)_ s32 flat lower by @vados-cosmonic


### ⚙️ Miscellaneous Tasks

- _(bindgen)_ lint by @vados-cosmonic

- _(bindgen)_ fix clippy by @vados-cosmonic in #1252

- _(bindgen)_ cargo fmt by @vados-cosmonic



## New Contributors
* @rioam2 made their first contribution in [#1258]https://github.com/bytecodealliance/jco/pull/1258


## [1.14.1] - 2026-02-04

### 🐛 Bug Fixes

* let instead of const on backpressureCleared because it is reassigned

## New Contributors
* @rgripper made their first contribution in [#1241]https://github.com/bytecodealliance/jco/pull/1241


## [1.14.0] - 2026-02-01

### 🚀 Features

* *(bindgen)* add "use jco" telemetry directive by @vados-cosmonic

* *(bindgen)* add a check for multiple tasks for a wasm export by @vados-cosmonic

* *(bindgen)* lower impl for results/variants, error context by @vados-cosmonic

* *(bindgen)* add machinery for lowering guest->guest async results by @vados-cosmonic

* *(bindgen)* require lifted exports to be async lowered by @vados-cosmonic

* *(bindgen)* wrap detected lowers for host fns by @vados-cosmonic

* *(bindgen)* record call metadata with subtasks by @vados-cosmonic

* *(bindgen)* support recording memories for components by @vados-cosmonic

* *(bindgen)* introduce global per-component async lower lookup by @vados-cosmonic

* *(bindgen)* async lowering logic for host imports by @vados-cosmonic

* *(bindgen)* add trampoline for lower import by @vados-cosmonic

* *(bindgen)* generate subtasks for async host imports by @vados-cosmonic

* *(bindgen)* distinguish host provided imports by @vados-cosmonic

* *(bindgen)* implement gc valtype conversion by @vados-cosmonic


### 🐛 Bug Fixes

* *(bindgen)* remove extraneous subtask resolve by @vados-cosmonic

* *(bindgen)* params/result ptr separation, import key trimming by @vados-cosmonic

* *(bindgen)* waitable set poll functionality for latest p3 updates by @vados-cosmonic

* *(bindgen)* param checking logic, prepare call by @vados-cosmonic

* *(bindgen)* fix bugs in future/stream & waitable trampolines by @vados-cosmonic

* *(bindgen)* post-return test, loosen reqs for fused post-return by @vados-cosmonic

* *(bindgen)* lowers for top level (root) host imports by @vados-cosmonic

* *(bindgen)* disable useful error test, fix fn name parsing by @vados-cosmonic

* *(bindgen)* async host imports by @vados-cosmonic

* *(bindgen)* subtask return logic for fused components by @vados-cosmonic

* *(bindgen)* wire up fused lift lower by @vados-cosmonic

* *(bindgen)* interpolation on string length during encoding by @vados-cosmonic

* *(bindgen)* working basic async host imports by @vados-cosmonic

* *(bindgen)* lowering, refactor string intrinsics for clarity by @vados-cosmonic

* *(bindgen)* memory index usage by @vados-cosmonic

* *(bindgen)* update async task & host code by @vados-cosmonic

* *(bindgen)* pass in memory getter to lower import by @vados-cosmonic

* *(bindgen)* host import in subtask start logic by @vados-cosmonic

* *(bindgen)* backpressure functionality by @vados-cosmonic

* *(bindgen)* fix missing backpressure machinery by @vados-cosmonic

* *(bindgen)* webidl binding account for missing internal keys by @vados-cosmonic

* *(bindgen)* allow missing current task by @vados-cosmonic

* *(bindgen)* required intrisnics for err context by @vados-cosmonic

* *(bindgen)* host provided hint on constructors by @vados-cosmonic

* *(bindgen)* use of size param, increase code limit by @vados-cosmonic

* *(bindgen)* fix host async import calling by @vados-cosmonic

* *(bindgen)* workaround lint for unused variables in macros by @vados-cosmonic in #1166

* *(bindgen)* loosen checks for task completion, fix conflict by @vados-cosmonic

* *(bindgen)* fix post return lookup by @vados-cosmonic

* *(bindgen)* async impl for task state & subtask management by @vados-cosmonic

* *(bindgen)* use ponyfill for `Promise.withResolvers` by @wooorm-arcjet in #1156


### 🚜 Refactor

* *(bindgen)* remove AsyncTask#pollForEvent by @vados-cosmonic

* *(bindgen)* clean up some code by @vados-cosmonic

* *(bindgen)* rework memory idx setting for tasks by @vados-cosmonic

* *(bindgen)* followup for rename of task creation intrinsic by @vados-cosmonic

* *(bindgen)* rename task creation intrinsic by @vados-cosmonic

* *(bindgen)* more flexibility for missing memories by @vados-cosmonic

* *(bindgen)* rework async task/subtask resolution handling by @vados-cosmonic

* *(bindgen)* exclusive locking logic by @vados-cosmonic


### ⚙️ Miscellaneous Tasks

* *(bindgen)* wit-bindgen -> 0.52.0 by @vados-cosmonic in #1229

* *(bindgen)* add backpressure dec/inc to early trampolines by @vados-cosmonic

* *(bindgen)* rustfmt by @vados-cosmonic in #1151

* *(bindgen)* fix lint by @vados-cosmonic

* *(bindgen)* cleanup testing code by @vados-cosmonic

* *(bindgen)* prep for writing out results for async calls by @vados-cosmonic

* *(bindgen)* remove some overly verbose logging by @vados-cosmonic

* *(bindgen)* temporarily use pre-merged wit-bindgen code by @vados-cosmonic

* *(bindgen)* fix lint by @vados-cosmonic



## New Contributors
* @molarmanful made their first contribution in [#1184]https://github.com/bytecodealliance/jco/pull/1184
* @wffurr made their first contribution in [#1172]https://github.com/bytecodealliance/jco/pull/1172
* @wooorm-arcjet made their first contribution in [#1156]https://github.com/bytecodealliance/jco/pull/1156


## [1.13.0] - 2025-11-03

### 🚀 Features

* *(bindgen)* return promises for sync lowered async functions by @vados-cosmonic


### 🐛 Bug Fixes

* *(bindgen)* allow extended const wasm feature during parse by @vados-cosmonic in #1085

* *(bindgen)* async task return value by @vados-cosmonic in #1084

* *(bindgen)* assert for stack values during a return for async by @vados-cosmonic

* *(bindgen)* fix async return param logic by @vados-cosmonic

* *(bindgen)* declare within declare for reserved words by @vados-cosmonic


### ⚙️ Miscellaneous Tasks

* *(bindgen)* fix lint by @vados-cosmonic

* *(bindgen)* fix lint by @vados-cosmonic

* *(bindgen)* update upstream deps by @vados-cosmonic in #1028

* *(bindgen)* remove leftover debug logs by @vados-cosmonic in #979




## [1.12.0] - 2025-08-25

### 🚀 Features

* *(bindgen)* generate Disposable interface for wasm resources (#901) by @iamrajiv in #901

* *(bindgen)* support futures and streams (#806) by @vados-cosmonic in #806

* *(bindgen)* implement waitable set intrinsics (#767) by @vados-cosmonic in #767

* *(bindgen)* implement yield (#745) by @vados-cosmonic in #745

* *(bindgen)* implement task.cancel (#743) by @vados-cosmonic in #743

* *(bindgen)* implement backpressure.set (#742) by @vados-cosmonic in #742

* *(bindgen)* context.{get|set}, initial task.return impl (#736) by @vados-cosmonic in #736


### 🐛 Bug Fixes

* *(bindgen)* dispose type generation by @vados-cosmonic in #954

* *(bindgen)* small fixups to global task id tracking codegen by @vados-cosmonic in #951


### 🚜 Refactor

* *(bindgen)* intrinsics (#811) by @vados-cosmonic in #811



## New Contributors
* @lrowe made their first contribution in [#956]https://github.com/bytecodealliance/jco/pull/956
* @dependabot[bot] made their first contribution in [#958]https://github.com/bytecodealliance/jco/pull/958
* @jco-release-bot made their first contribution in [#930]https://github.com/bytecodealliance/jco/pull/930
* @iamrajiv made their first contribution in [#901]https://github.com/bytecodealliance/jco/pull/901
* @elmerbulthuis made their first contribution in [#859]https://github.com/bytecodealliance/jco/pull/859
* @andreiltd made their first contribution in [#764]https://github.com/bytecodealliance/jco/pull/764
* @thomas9911 made their first contribution in [#765]https://github.com/bytecodealliance/jco/pull/765
* @emmanuel-ferdman made their first contribution in [#756]https://github.com/bytecodealliance/jco/pull/756


## [1.12.0-rc.0] - 2025-08-21

### 🚀 Features

* *(bindgen)* generate Disposable interface for wasm resources (#901) by @iamrajiv in #901

* *(bindgen)* support futures and streams (#806) by @vados-cosmonic in #806

* *(bindgen)* implement waitable set intrinsics (#767) by @vados-cosmonic in #767

* *(bindgen)* implement yield (#745) by @vados-cosmonic in #745

* *(bindgen)* implement task.cancel (#743) by @vados-cosmonic in #743

* *(bindgen)* implement backpressure.set (#742) by @vados-cosmonic in #742

* *(bindgen)* context.{get|set}, initial task.return impl (#736) by @vados-cosmonic in #736


### 🐛 Bug Fixes

* *(bindgen)* small fixups to global task id tracking codegen by @vados-cosmonic in #951


### 🚜 Refactor

* *(bindgen)* intrinsics (#811) by @vados-cosmonic in #811



## New Contributors
* @dependabot[bot] made their first contribution in [#947]https://github.com/bytecodealliance/jco/pull/947
* @jco-release-bot made their first contribution in [#930]https://github.com/bytecodealliance/jco/pull/930
* @iamrajiv made their first contribution in [#901]https://github.com/bytecodealliance/jco/pull/901
* @elmerbulthuis made their first contribution in [#859]https://github.com/bytecodealliance/jco/pull/859
* @andreiltd made their first contribution in [#764]https://github.com/bytecodealliance/jco/pull/764
* @thomas9911 made their first contribution in [#765]https://github.com/bytecodealliance/jco/pull/765
* @emmanuel-ferdman made their first contribution in [#756]https://github.com/bytecodealliance/jco/pull/756



## [js-component-bindgen-v1.11.0] - 2025-04-28

### ⚙️ Miscellaneous Tasks

* *(bindgen)* decouple jco and component bindgen versioning (#635) by @vados-cosmonic in #635