Skip to content

Release v0.8.0

Choose a tag to compare

@github-actions github-actions released this 03 Jul 06:38
  • aee7693 chore(release): 0.8.0
  • 2d29e9d feat: Support basic Datastar GET request
  • 707b7c9 work: Provide friendly error message if nodemon is not installed
  • 95e2d2c cleanup: Remove test log statement
  • 80ccd45 cleanup: Remove commented code
  • 1cc6bb4 work: Improve script execution logging
  • eb4c9b9 work: Tick clock after running script module
  • 6049013 test: Create test case for datastar test app
  • d6a3222 Datastar endpoint
  • 9c43fba Create helper script for dev server
  • fc20d9a feat: Implement Document.importNode
  • e463ed7 feat(scripting): Add iterable to element attributes
  • 899ae81 feat(scripting): Add Element.innerHTML attribute getter/setter
  • d9e3dd4 feat: Add XHR.responseType
  • f623045 fix: Add missing return for V8 error logs
  • 3c45e0b feat(scripting): Support url.setSearch
  • 4082907 feat: Add suport for ES modules
  • 1f12e8e refactor: Eliminate duplicate imports of same package
  • afd6833 test: Remove duplicate StaticFileServer
  • 95b4c92 test: Fix content type of test scripts
  • 5c68e61 refactor: Create buffered channes to avoid new goroutine
  • 4af2937 work: Fix when modules are loaded
  • 4a4a688 work(v8): Wait for promise after evaluating modules
  • ec7f4a0 work: Log when script element connects
  • f4da8ae work: Execute basic module without imports
  • 2696acc work(html): Support type="module" in HTMLScriptElement
  • 3c84db7 work: Add DownloadModule syntax
  • 808e875 work: Move script downloading to script host
  • 3c7c76f work: Create script compile step
  • aa2469e feat: Implement Element.InsertAdjecentElement
  • c5f14f3 work: Fix issues with DecodeAs implementation
  • d562237 work: expose insertAdjacent to JS
  • cf7dc7a work: Implement Element.InsertAdjacentElement
  • 939a547 test: Close PipeHandler automatically when test context completes
  • 9e10f9e test: Fix how PipeHandler handles disconnected clients
  • e4de47c test: Fix missing sync after abort
  • 595fe57 feat: Improve error logging of JS errors
  • d9b5938 doc: Fix missing word in doc comments
  • c392b08 test: Dispose v8 hosts in general suite teardown
  • 49040c5 refactor: Create explicit function to indicate unsupported functionality
  • 194e19b test: Remove duplicate ParseHTMLDocument helpers
  • d597f92 work: Change script name of NewUint8Array
  • de7bf81 work: Check if parent is nil in ChildNode.Remove()
  • 25a3ed3 test: Use t.Fatalf instead of panic in test helper
  • 7f50207 work: Remove bad comment about autogenerated code
  • a7dab26 test: fix typo in suite type name
  • 8a68449 feat: Close browser when context is closed
  • 9ce8872 feat!(dom): Add Node.ParentNode
  • ff312f9 refactor: Create ElementParent as type alias for ParentNode
  • bae0bee feat(scripting): Expose Node.parentNode
  • 5f1f7e5 feat: Implement ChildNode.remove()
  • 6c8d3a3 cleanup: Remove whitespace
  • 891d50a fix: Error when passing null as a Node in JS
  • 8c2e396 feat: Override HTMLTemplateElement.SetInnerHTML
  • f7a73f4 test: refactor TextNode test
  • 496098c feat: Create Text prototype in JS
  • 1de8a5a refactor: Auto-generate document.createTextNode
  • 8f3a918 feat: Add ReadableStreamDefaultReader.read() method
  • d0c9446 work: Fix error message
  • 3f2039a doc: Improve grammar in doc comments
  • 36c51b0 doc: Fix typo in doc comments
  • a59249d work: Change error generation to explicitly log
  • f69d413 cleanup(codegen): Remove commented line
  • edd5c66 work: Fix unkeyed fields
  • fe3dea6 work: Implement ReadableStream.getReader().read()
  • 6ce8d80 work: Add js/Scope.NewUint8Array
  • 4cc3d28 work: Add js/Scope.NewObject()
  • d78d660 build(codegen): Update webref to 0.5.8
  • 7c87e3f work: Add skeleton ReadableStream.getReader
  • edf1786 feat: Implement Response.body returning a ReadableStream
  • 26479e2 work: Create skeleton ReadableStream class
  • bb49840 feat: Create log error record when calling not implemented JS function
  • a51e24a test: Refactor InsertAdjacentHTML test to table-driven test
  • f548e63 refactor: Simplify code, and fix poor error message
  • fadb9ec feat: Expose ParentNode.children to JS
  • edaf1a4 feat(scripting): Support TextDecoder through polyfill
  • 52853d4 feat(scripting): Basic window.self implementation
  • 837f89f refactor: Fix logging output, Write JS instead of V8
  • bfe70c9 refactor: Extract generic option decoder
  • 1ffa01a refactor: Create generic options parser
  • f4c38da refactor: Move option decoder to codec
  • 32d9bde work: Extract general pattern for decoding javascript options.
  • 46a7ad4 doc: Fix bad type reference in doc comments
  • 1bb508e work: Remove unnecessary Reject function
  • 9c11779 work: Abort reason works in JS
  • 232f889 work: Support context in test helpers
  • fc78fde refactor: Remove unnecessary levels of indirection
  • 4f451f4 work: Extract internal object from goja object
  • d1a8872 work: fetch returns abort reason in rejected promise
  • d5fff92 refactor: Move ErrReason to promise package, and rename to ErrAny
  • 8217102 doc: Fix typos in promise package documentation
  • a5b8883 work: Bail out of goroutine when context is cancelled
  • 257d535 doc: Document default event size for event loop channel
  • 919aa71 build: Try fixing environment variables in makefile
  • c60b31c work: Rename constants to follow naming conventions
  • abda8ad test: Fix the context used for expecting a message
  • 441fd36 test: Remove duplicate BrowsingContext test helpers
  • 11e3692 doc: Add package documentation to promises.
  • afacbc9 test: Improve ExpectReceive helper
  • b72f86f cleanup: Remove unused function
  • d4fe87e build: Enable synctest experimental feature
  • 2ea5b3c work: fix typo in error message
  • 56370cf refactor: Create implicit context on Browser and Window
  • cc31b91 feat: Support aborting fetch request
  • 4d2deef work: Move request options to request
  • c1b5e51 work: Refactor JavaScript promise creation
  • 68efd8a refactor: Move Promise to separate package without dependencies
  • 29043a6 work: refactor PipeHandler
  • c08f002 work: Remove context from PipeHandler
  • e85f497 work: Return an error when reading an aborted response body.
  • 1b6a467 work: Fix roundtripper returning error when aborting early
  • 7e8a565 work: Extract logic to create a cancelled context from AbortSignal
  • ae45e79 work: Refactor signal implementation, no more dangling cancel functions
  • 0753c77 work: Abort controller cancels HTTP client request
  • 881edc1 work: AbortSignal disconnects the HTTP client
  • 4adea8f refactor: Rewrite fetch abort to use EventSource
  • 523c3f3 test: Extract helper asserting for message on channel
  • 45e745c work: First version of an abortable fetch request
  • 76a0bcc feat: Create EventSource
  • 3d3e72e doc: Add documentation to DEFAULT_BUF
  • 908fed9 work: Move EventSource to production code
  • 1a13c12 test: Remove duplicate helper function
  • 5f6af70 test: Simplify checking if a channel is closed
  • b6baa5d refactor: Simplify event stream interface
  • a66dc16 work: Ensure ordering of events
  • 0331c41 work: Create framework for channels of events
  • 13e1f32 cleanup: Remove unnecessary fmt.Sprintf
  • b294e55 docs(readme): Remove comments about usage of ginkgo
  • 5095bd5 build: Change html test script to not use ginkgo
  • e038cde cleanup: Remove ginkgo code
  • a10e2a5 cleanup: Remove unused test code
  • 5d8858b test(scripting): Remove ginkgo bootstrapper
  • afebb85 test(scripting): Migrate HTML element class name ginkgo tests
  • 1cdc24e test(scripting): Migrate Window.location test
  • 494b068 test(scripting): Migrate Element ginkgo tests
  • 75a0c63 test(scripting): Migrate FormData ginkgo tests
  • 7b265aa test(scripting): Move xpath polyfills
  • ad706b2 refactor(scripting): Move Node polyfill to scripting/internal
  • 7ab5f09 refactor(v8): Remove unused polyfill
  • c4249cb refactor(scripting): Move FormData polyfills to scripting/internal
  • 5bee587 cleanup(v8): Remove unused function
  • 86ed685 test(scripting): Migrate NamedNodeMap ginkgo tests
  • becfeb3 test(scripting): Migrage XHR ginkgo tests
  • 9cdc05a test(scripting): Migrate DocumentFragment ginkgo tests
  • 1db3018 test(v8): Remove useless test
  • e6eee25 test(scripting): Migrate ShadowRoot ginkgo tests
  • 6909ed8 test(v8): Remove unnecessary test
  • 23a5b23 test(html): Remove ginkgo bootstrapper
  • 38afed0 test(html): Migrate HTMLAnchorElement ginkgo tests
  • 1112698 test(html): Migrate DOMParser ginkgo tests to Go
  • ac456c4 test(html): Migrate HTMLTemplateElement ginkgo tests to go tests
  • f94c9b0 test(html): Convert FormData ginkgo tests to go tests
  • 32d60f6 refactor: Rewrite loop to range loop
  • 93b4adc test(html): Migrate ginkgo location test
  • 457933f cleanup(codegen): Remove ginkgo dependency
  • 4e4cb1e cleanup(codegen): Remove unused function
  • 058b0a7 test(codegen): Convert ginkgo tests to go tests
  • 9bdc79f test: Migrate QuerySelector test from ginkgo to native go
  • a55584a test: Remove ginkgo tests in gojahost
  • 5c63ed4 test: Convert comment test from ginkgo to native go
  • 31e75d2 feat(dom): Add AbortController.Abort()
  • a13c7c0 test: Convert ginkgo to named go test
  • 8a52970 feat: add skeleton fetch function
  • 812d56d work: Remove unnecessary nil check
  • 6cc307e work: Create a more helpful panic if closing the pipe twice
  • 38a9004 cleanup: Remove commented lines
  • 673f1e6 test(scripting): Verify Request/Response exist as constructors
  • 7273221 refactor: Use http.ResponseController to flush
  • 3b60a50 test: Remove useless test
  • 20af61a work: Return an error when calling unsupported constructor
  • 76d4270 test: Simplify fetch tests
  • 4d8dc5e test: Extract PipeHandler
  • 3e85c7c work: Improve error log in Clock
  • 60be253 work: Implement proper synchronization of fetch test code
  • fe4ab99 refactor(scripting): Extract promise construction
  • 6e477af work: Proper promise return from "fetch"
  • 6359693 work(scripting): Reject promise with json is invalid
  • ef55816 work(v8): Improve error message when converting js->go value
  • fbf38d0 work(scripting): Implement Response.json - but not true async
  • f0a3ae1 test: Refactor StaticFileServer to not just serve static files
  • 5650df6 fix(goja): Errors in callbacks were not reported as errors
  • 5b51510 work(scripting): Include status code in response
  • ded3639 work(scripting): Fetch now returns a Response
  • 9ec6603 work(scripting): fetch now returns a promise
  • b944f49 work(scripting): Support promises in JS abstraction layer
  • d59481f wip: Implement a fetch function
  • c5e47ab work: Expose Request to JavaScript
  • 0308d0b work: Create skeleton Fetch and Request types
  • 7a01bfa refactor(codegen): Extract XHR and URL configurations
  • 4243f48 work(scripting): Skeleton fetch function
  • dce61dc work: Optimize string conversion of response body
  • db89bde work: Log error when script tag execution fails
  • c35217b work: Implement streaming response bodies
  • ff6d160 feat: Support predictable event loop callbacks in goroutines
  • 7009e16 work: Fix pkg attribute in log records
  • 00cd20b work: fix typo in panic message
  • 44e1bc6 refactor: Prevent misuse of AddEvent/AddSafeEvent
  • bf6d1f5 work: Add clock.AddEvent/ProcessEvents functions with variants
  • 6131394 work: Add debug logging in "clock" code.
  • 75bb6f3 build!: Update minimum Go version to 1.24
  • 5908223 docs(readme): Update readme for code generator folder
  • b6739d2 refactor(goja): Reuse window globals
  • 3865531 cleanup(v8): Remove dead code
  • dd35103 refactor(v8): Remove unnecessary ValueFactory
  • 32d6e1e refactor(goja): Remove valueFactory type
  • 622019a refactor(scripting): Remove ValueFactory() from CallbackContext
  • 67fd5e4 refactor(scripting): Embed "ValueFactory" in Scope
  • c4d9f01 refactor(scripting): Remove Scope() methods
  • a400e8e refactor(scripting): Embed Scope in CallbackScope
  • f25aad8 refactor(scripting): Remove useless nil-check
  • 18b262c work(dom): Add skeleton AbortController.Signal()
  • 332cad1 work(scripting): Generate type error when there is no embedded value
  • 0fe0e99 refactor(codegen): Extract interface function definition
  • 94cae7d refactor(codegen): Pass target package for type generator
  • 8a9d31d work(scripting): Skeleton abort controller
  • dfc465d work(dom): Add AbortController interface
  • f7ae3b8 refactor(codegen): Rename domSpecs->specs
  • 08733e3 docs: Fix typo in package
  • 3c2238a test: Add options to test logger
  • a024750 test: Extract initBrowser/initWindow to new package
  • 4619d74 test(goja): Remove unnecessary test
  • e0c03ab cleanup(goja): Remove unused code
  • 5e403fa cleanup: Remove debug print statement
  • 8ad57c0 refactor: Generate default values in code generator
  • 88264c1 build(codegen): Update webref dependency
  • 632750c feat!: Add body argument to XHR Send method
  • 073d19a cleanup(goja): Remove unused code
  • b477ca1 work(goja): Remove surplus object in prototype chain
  • 2748c92 feat(goja): Support indexed and named handlers
  • 58592ef test(scripting): Document dependency to object key order
  • 69ae83e refactor(goja): Reduce duplication in value conversion
  • 2eb7901 cleanup(goja): Remove unused code
  • cfa64be refactor(goja): Move dybamic object/array initialization
  • 08e09ed test(scripting): Improve dataset consistency
  • cbe648a cleanup(goja): Remove unused code
  • b1396eb cleanup(goja): Decrease log verboseness
  • 64ef081 work: Implement indexed handlers and dom node list
  • e4cad6e refactor(goja): Extract gojaClass to separate file
  • f22a46a work: Set window logger in script test suite
  • f3db641 work(goja): Support dataset
  • 8ae19b8 wor(goja): Implement named property handler (dynamic object)
  • afae176 refactor(goja): Extract gojaCallbackScope
  • 0c1d51f cleanup(goja): Remove unused code
  • c2bf385 refactor(scripting): Make indexed and named handler consistent