Skip to content

Releases: gost-dom/browser

Release v0.9.0

07 Jul 18:38
Compare
Choose a tag to compare
  • 98be1e4 chore(release): 0.9.0
  • 69be52c chore: Merge tag 'v0.8.0'
  • 7caed60 doc: Fix grammar in readme files
  • e507663 test: Fix some matcher reporting
  • 8254c3e test: Fix commented line, and verify recorded events
  • 81bbfad test: Improve error messages for failed matchers
  • 5e9c036 doc: Fix typo in package documentation
  • 1c0a0e5 doc: Improve uievent package docs
  • 693a19c work: Don't panic on nil pointers in KeyboardController
  • 390041f work: Implement cancel behaviour for keydown events
  • 1708e8d test: Extract test helpers and matchers to separate file
  • 52006be test: Extract duplicated setup
  • d82b7d9 doc: Update getting started documentation
  • b8bf485 refactor!: Move test server to unexported function in used package
  • f3e6055 doc: Update code docs for package key.
  • fc49f0f doc: Update getting-started documentation
  • 1c64671 doc: Update keyboard input doc
  • 19eb58b doc: Skeleton input-controller-docs
  • 28ebfed doc: Add gosthttp package docs
  • 07b43f4 cleanup: Remove unused package
  • 9cd8c90 Updates to code structure
  • 3d2b515 refactor: Move KeyboardController to input/controller
  • 61ce170 refactor: Extract Key type to keys package
  • c3238b2 work: Send string as a keyboard sequence
  • ea6d325 doc: Update developer docs
  • 6873d07 work: Keyboard test page
  • 24e7b03 work: Controller updates input before dispatching event
  • ec73991 test: Fix datastar test page
  • cc9643f work: Remove keypress events
  • 400ee0d work: Set IDL value attribute instead of content attribute
  • 6993fce work: Letter keys dispatch 4 keyboard events
  • f13412f work: Pressing keys ab with input field focused sets value "ab"
  • d4b19ea work: Create a skeleton HTML page for exploring behaviour
  • 322620d test: Refactor datastar test to use the exported test logger
  • 351fc7f feat: Export a Testing.TB aware logger
  • b786db1 refactor: Reuse name IDL attribute where it wasn't used before
  • fe18a93 feat: FormData reads input element IDL instead of content attributes
  • 3919814 feat: Implement name/value IDL attributes on HTMLInputElement
  • f401376 refactor: Move polyfills installation to separate file
  • 1c7bca0 refactor: Autogenerate HTMLOrSVGElement.dataset implementation
  • a91920d refactor: simplify for loop with range
  • 07634b9 feat: Return with an error when using unfinished request option
  • f89806c doc: Improve documentation of piping log output to Go test.
  • 2e4d4dd doc: Update readme files
  • 004884b fix: Fix TestLogger to now write after test is done
  • ec5abb0 fix: Don't write to logger when closing browser
  • 9d8428b test: Fix typo in test comments
  • 84caf25 chore(release): 0.8.0

Release v0.8.0

03 Jul 06:38
Compare
Choose a tag to compare
  • 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 js...
Read more

Release v0.7.2

12 Jun 17:01
Compare
Choose a tag to compare
  • a866b46 chore(release): 0.7.2
  • 7348251 feat: Add HTMLElement.dataset in JavaScript
  • 4baef95 work: Fix in operator for dataset properties
  • f544bb5 refactor(v8): Remove duplication in error conversion
  • 3295f4b cleanup: Remove comments
  • 4b79e7d work: Fix return values when no callback is set
  • 8c6bec8 cleanup: Remove unnecessary logging
  • da3f165 refactor(scripting): Simplify named handler callbacks
  • 8c958e9 cleanup: Remove unused method
  • 5e0c5da Implement delete dataset
  • 5cd8610 work: Implement named property setter
  • 5c12bb0 implement named handlers for v8
  • e65cf5a work: Expose dataset to JavaScript
  • 2748341 work: Update v8go
  • df25db4 feat: Add DOMStringMap.Keys()
  • 5c29fbb test(scripting): Move Node test suite
  • 4a60fd1 feat(goja): Goja script host now supports iterators
  • 466d139 refactor(scripting): Remove V8Wrapper type postfix
  • edf66f1 refactor(v8): Simplify setting location
  • 13d5ce7 refactor(codegen): Rename generator codes
  • 03c32c9 refactor(codegen): Rename op callback generator
  • fec03c7 refactor(codegen): Extract name construction functions
  • 08aaae0 refactor(codegen): Harmonise imports and receivers
  • e10a118 refactor(codegen): Removing decoupling layer
  • ae488a1 refactor(codegen): Rename config types
  • 8fe7097 refactor(scripting): Use separate files for types in web spec
  • 5480877 refactor(codegen): Move script generators to "scripting"
  • a3fef0a refactor(scripting): Extract uievents package
  • 0036f53 refactor(codegen): Cleanup configuration
  • c657d70 cleanup(codegen): Remove all unnecessary codegen code
  • 8418763 refactor(goja): Reuse most of V8's implementation for script host
  • a981116 refactor(v8): Refactor script engine configuration
  • 7f3dab3 refactor(v8): Move custom event
  • d222488 refactor(v8): Move event class registrations
  • fe53a44 refactor(v8): Move HTML tag name->class mapping
  • 85f6bbc refactor(v8): Move registration of HTMLDocument
  • d1b4632 refactor(v8): Remove unnecessary initializer
  • 6207d9d refactor(v8): Generate DocumentFragment
  • 19d1e76 cleanup(codegen): Remove unused code
  • e19c308 cleanup(v8): Remove unused code
  • 0cbdc91 refactor(v8): Refactor V8 code organization
  • a889f8e refactor(v8): Move UnhandledError to js
  • e971300 refactor(v8): Move ZeroValue to codec
  • 29e783b refactor(v8): Move iterator to JS package
  • c14e776 refactor(v8): Refactor ConsumeOptionalArg
  • aa6bb5e refactor(v8): Decouple iterator from callback scope
  • c18f0fa refactor(v8): Decouple v8Scope from callback context
  • ed87bd1 cleanup(v8): Remove unused function
  • 9394196 refactor(v8): Migrate decoders
  • 722e399 refactor(v8): Move ConsumeArgument to JS package
  • 353bb40 refactor(scripting): Move EncodeEntity to JS package
  • 88ff105 refactor(v8): Move parse helpers to JS package
  • f049518 refactor(v8): Remove unused embedded helper
  • 87da247 refactor(v8): Refactor iterator string lookup
  • 990aac3 refactor(v8): Remove coupling to encoders
  • f5df6c9 refactor(v8): Refactor dependency to decoder methods
  • 3c09690 refactor(goja): Implement Scope on callback context
  • b157661 Update packages
  • 4bb1492 cleanup(v8): Remove unsued interface member
  • 1d4609e refactor(v8): Move decodeNodeOrText to parentNodeV8Wrapper
  • 1515035 refactor(v8): Replace init functions with a single bootstrap
  • c641ac4 refactor(v8): Remove dependency to v8 types class wrappers
  • d45b422 refactor(v8): Make constructors generic
  • aa24ce7 refactor(v8): Create generic v8 wrapper types
  • d85dfd8 refactor(v8): Make iterator generic
  • d357405 refactor(v8): Make all initializer constructors generic
  • db9cdd2 refactor(v8): Move class registration to abstraction layer
  • 7476d46 refactor(v8): Export constructor/initalize functions
  • 7ec8333 refactor(v8): Make script host generic in registrator
  • 52571e1 refactor(v8): Decouple handleReffedObject from engine
  • ebdf3eb Fix indexed handler
  • 09e2774 cleanup(v8): Remove unused functions and types
  • 788a442 refactor(v8): Refactor pair iterator to work on js abstraction
  • 8852bf2 refactor(v8): Make indexed handler generic
  • dbb3468 refactor(v8): Make class registrator generic
  • 03b77f4 refactor(v8): Extract class registrations to higher abstraction
  • 32df0e1 refactor(v8): Remove unused argument for parseRest
  • 2e4f381 cleanup(v8): Remove unused function
  • 25d6fea refactor(v8): Remove unnecessary scope argument to constructor
  • 4b2a11f refactor(V8): Remove last registrations of old type
  • e67d163 refactor(v8): Autogenerate Attr
  • f3460b5 refactor(v8): Convert HTMLDocument to new method
  • a99108f refactor(v8): Auto generate XHREventTarget
  • 3130aff refactor(v8): Extract v8 context initialization
  • fcf15ef refactor(v8): Generate Location interface
  • 0f2e557 refactor(v8): Change custom event to work on js abstraction
  • e036af4 refactor(v8): Change v8Class to jsClass
  • f79053e refactor(v8): Change registerClass to be generic
  • 7dfc5fb refactor(v8): Register jsInitializers instead of constructor factories
  • 52fff4f fixup! refactor(v8): Create framework for abstract class registration
  • ac25048 refactor(v8): Create initializer on JS wrapper types
  • f39e0c2 refactor(v8): Create framework for abstract class registration
  • ab6c4b9 refactor(v8): Make registration work on Class instead of FTs
  • d6c4e30 cleanup(codegen): Remove logging statement
  • 251e7da refactor(v8): Install globals in scope after initialized
  • 4cbe25c refactor(v8): Create new object template for window instance
  • 2701d9f Update v8go
  • ffc7982 refactor(v8): Refactor how constructors are generated
  • 468a735 refactor(v8): Pass jsClass as arg to CustomInitializer
  • 37388ef refactor(codegen): Refactor custom initializer generation
  • 5b706ac refactor(v8): Unexport js constructor callback
  • d59c229 refactor(goja): Remove unused constructor callbacks
  • 33597f2 refactor(v8): Move jsClass construction a level up
  • 1932972 refactor(v8): Create line separator before class initializer
  • 71e0961 cleanup(v8): Remove dead code
  • a6ef319 cleanup(v8): Remove remnants of switch comments
  • e24b523 refactor(v8): Create attributes through js abstractions
  • d0492e8 refactor(v8): Create methods through js.Class abstraction
  • 9843e8f refactor(v8): Pass function template to initialiser function
  • 685fa63 build: Fix cleanup of generated files
  • 888bc5d refactor(v8): Rename JS class abstractions
  • f181f76 cleanup(v8): Remove some commented code
  • 5998c78 refactor(v8): Move DOMParser to subfolder
  • 9af8b14 refactor(v8): Register DOMParser through abstractions
  • 2ed29a3 refactor(v8): Use iterator for node list
  • 45ed572 cleanup(v8): Remove redundant return helpers
  • c721ce4 refactor(v8): Move pair iterator key/values
  • 0e5f5f2 cleanup(v8): Remove unused functions, and increase consistency
  • 77c4e61 refactor(v8): Simplify Object.keys with monadic binding
  • 5cece9f refactor(v8): Make class initialization work on abstraction
  • beddf51 refactor(v8): Use indexed getter use abstraction layer
  • 92f7220 refactor(v8): Make almost all callbacks use abstraction layer
  • 2098f61 refactor(v8): Use abstraction to cache document
  • 633c8d4 refactor(v8): Remove 'returnWithError' calls
  • 8bf3aa9 refactor(v8): Convert callbacks to use abstraction
  • af510ed refactor(v8): Construct new instances through abstraction
  • 2060d21 cleanup(v8): Remove unused functions
  • fe90417 refactor(v8): Split up JS callback interfaces
  • 1d370f5 refactor(v8): Remove duplicate JS Wrapper lookups
  • c1fdbc5 refactor(v8): NewInstance accepts a Scope
  • f1f0871 refactor(v8): Remove redundant iso field
  • bc9063f refactor(v8): Convert URLQueryParams to work on abstraction layer
  • 517c02d refactor(v8): Replace getJSInstance with encodeEntity
  • 7c335ac refactor(v8): Abstract JSON conversion
  • 0efdf6c refactor(v8): Replace TypeError construction
  • d3c5ab7 cleanup(v8): Remove unnecessary temporary variable
  • 7d50b4f cleanup(v8): Remove comments and unused functions
  • 43df941 refactor(v8): change assertV8Value->toV8Value
  • 230e7b9 refactor(v8): Auto generate ParentNode implementation
  • e734f98 refactor(v8): Create helpers to consume rest arguments
  • 8b4afc4 cleanup(v8): Remove unused types after refactoring iterator
  • 0dc714a refactor(v8): Move iterator to script host
  • 334d321 refactor(v8): Construct iterator from ValueFactory
  • 37c4c4e refactor(v8): Extract JS iterator
  • 6a56ea9 refactor(v8): Remove dependency to V8 in event listener
  • f271b10 refactor(v8): Fix other "clean" eventloop function
  • 6bb7b9f refactor(v8): Move AddDisposable to generic JS interface
  • 41daad0 refactor(v8): Access clock and globalThis through scope
  • af9c44d refactor(v8): Rewrite event loop callbacks
  • b0562d9 refactor(v8): Change .store to accept js.CallbackContext
  • 0ff10da refactor(codegen): Provide more flexibility on encode generators
  • 72f9ae9 refactor(v8): Add ReturnWithTypeError to interface
  • 336eb54 refactor(v8): Replace *v8CallbackContext with jsCallbackContext
  • dcb5d60 refactor(v8): Extract encodeInstance method
  • 11d8407 refactor(v8): Codegen EventTarget
  • d3c4dfc refactor(v8): Rewrite insertAdjacentHTML
  • 87752d4 refactor(v8): Remove Element.textContent
  • 9c4b3ab refactor(v8): Refactor string decoding
  • 84fc538 refactor(v8): Rename logger() to Logger to align with interface
  • 8ae178b refactor(v8): Create Scope with Window
  • 15f28a0 Refactor(v8): Create factory function for TypeError
  • 48eb210 refactor(v8): Make handleReffedObject take a new type param
  • f0ed243 refactor(v8): Remove unused code
  • 12e6afc refactor(v8): Rename argument 'args' to 'cbCtx'
  • fdd726a refactor(v8): Remove argument index tracking
  • 0552b60 refactor(v8): Completely rewrite callback generator
  • d9ca51e refactor(v8): Extract interface for ValueFactory
  • 1c5000a refactor(v8): Change node cache to entity cache
  • 398c374 refactor(v8): Construct DOMParse through abstraction API
  • 50a48e4 refactor(v8): Cache JS Constructor instead of V8 FTs
  • e486060 refactor(v8): Move toArray to ValueFa...
Read more

Release v0.7.1

29 May 06:15
Compare
Choose a tag to compare
  • f6eaa7c chore(release): 0.7.1
  • 497d9ef perf: Pool disposed V8 isolates

Release v0.7.0

27 May 12:11
Compare
Choose a tag to compare
  • a4bd162 chore(release): 0.7.0
  • a21946f Remove useless debug logging
  • a80e9cd docs(readme): Update readme
  • 17b695a fix: Set correct prototype for document.documentElement
  • 05f544b test(v8): Convert Document ginkgo tests to testify suite
  • 0a4b24b test: Construct new script hosts for each script test
  • acc7c1c Update status in readme
  • 4b54c4f cleanup: Remove bad log statements and unnecessary vars
  • 3a80fe4 refactor(codegen): Make TypeRule respect it's arguments
  • a44e12d Add missing return
  • 48c42f4 feat: Add missing FormData.getAll in JS
  • 9419737 refactor(v8): Auto-generate FormData
  • d18dbe4 refactor: Use more specific types
  • 4e90883 refactor: Don't accept new arguments passed a missing one
  • 7d38122 cleanup: Remove comments
  • 101a33c refactor: Extract type for mutation observer observe option
  • 6687140 refactor(codegen): Rename IdlTypeForStruct->StructFieldType
  • 08a7d79 refactor(v8): Refactor argument helper
  • c70e0b7 cleanup: Remove unused callbackContext
  • dde2529 refactor(v8): Callbacks return abstraction
  • 8e18995 Transform lookup errors
  • 7fb26b8 Move encoding to callbackContext
  • 18bc269 Replace custom implementations with generated code
  • 96e9684 Improve default log retrieval
  • 2223b9e Fix package name in package documentation
  • 8997d61 refactor(v8): Convert return code to use abstraction
  • 9f2662f refactor!: *string return vaules are returned as (string, bool)
  • a49c9ae refactor(codegen): Move reused types to new package
  • c955053 refactor: Use JS abstraction layer for not implemented errors
  • f2472cb refactor: Replace callbacks with generated code
  • b8188bd refactor: Move script abstraction
  • 040bfc1 refactor: Make all script callbacks accept an abstraction
  • 6ddc953 refactor(scripting): Make function callback work on abstractions
  • 2de48a4 refactor(v8): Use argument name in error messages
  • 0e02715 refactor(v8): Ensure args are read sequentially
  • c6efc91 test(v8): Convert HTMX test to go test
  • 01681f5 refactor(v8): Collect all argument parsing functions to one
  • 599f0fd refactor(codegen): Rename variable to parseArgs
  • 8e74308 refactor: Rename args to cbCtx
  • d0c55f4 refactor(codegen): Pull cbCtx generation up
  • fcea631 refactor(codegen): Move log statement gen up
  • d90bc0b refactor(codegen): Move constructor gen logic up
  • 74624f3 refactor: Move constructor function definition
  • 0061f40 refactor: Refactor generated code to be less coupled to v8
  • e02034d refactor(codegen): Extract ctx variable generator as argument
  • f1bd1a7 refactor(codegen): Extract qualified type lookup to model
  • fe39f46 refactor(codegen): Introduce transformer generator
  • 6719812 refactor(codegen): Create constants for static identifiers
  • ae8ab74 docs(codegen): Codegen strategy
  • 65133b8 work(codegen): Generate history interface
  • a7b21b5 refactor(codegen): Extract custom rules to separate files
  • ae13115 cleanup(codegen): Remove unused types
  • 4b60c88 Create better error log records
  • 8f21832 test: Remove obsolete gingko bootstrapper
  • e4f7ad3 feat: Use more idiomatic errors for DOMTokenList
  • de3a33d refactor: Fix bad lookup
  • ef604b0 fix minor nitpick issues
  • 2299efc refactor: Remove duplicate constructor lookups
  • 951cc59 fix missing commit
  • 501840a Make property name conversion consistent
  • 96d4ef6 Fix locking of host contexts
  • 551ce6e Remove unused global var
  • 2da6ff4 refactor(v8): Avoid aliased v8go import
  • de9eba7 work: Fix invalid format verb %V -> %v
  • a72cee7 fix: Fix potential race conditions with parallel tests
  • 23edb6c perf: Avoid creating new V8 objects for already cached nodes
  • c2d3563 refactor: Remove duplicate object handling
  • 48795d9 cleanup: Fix minor formatting issues
  • bd09002 feat(v8): Add URL.toString()
  • af0e688 refactor(codegen): Refactor argument generation
  • 6778f7c work: Generate toString functions for v8
  • 05eea1d refactor(codegen): Use idl.Argument types
  • a05f8e8 refactor(codegen): Include IDL spec in Attribute type
  • b8da18f Update webref package
  • 7d6a57b refactor(codegen): Remove dependency to old types
  • 7bd1a7e refactor: Remove DOMString, USVString, and ByteString in code
  • d5b8879 refactor(codegen): Move generic code out of V8 package
  • 10a54ab refactor(codegen): Move As to abstractions package
  • 1e1b662 Configure urlSearchParams for new strategy
  • fac482b cleanup(codegen): Remove unnecessary fields
  • 418fb6d cleanup(codegen): Remove unnecessary fields
  • 7b1cbfd refactor(v8): Split script host into more files
  • 333b5c2 build: Update dependencies
  • 216cac0 refactor: Remove usage of to-be-deleted function

Release v0.6.0

20 May 05:01
Compare
Choose a tag to compare
  • 9b3451f chore(release): 0.6.0
  • 3e7d7c3 Add release make target
  • 96e0205 work: Fix error msg for unhandled promise rejection
  • 45645f0 feat: Log errors on unhandled promise rejection
  • 8da51c4 Upgrade v8go dependency
  • 59ff5fb build: Fix local-v8 script
  • 8fe43eb cleanup: Remove unused functions
  • 58a1696 refactor: Fix typo in constants
  • 0598e74 feat: Support CustomEvent.detail in JavaScript
  • db5741a docs: Clarify what refactor means
  • 31c6145 build: Keep code generator running on error
  • 92ec474 feat(v8): Implement URLSearchParams support in V8 host
  • 4355342 test: Remove console.log statements
  • 4f4bfb1 work: Change todo comment to follow convention
  • 09a7513 refactor: Move v8 obejct conversion down in function
  • f2bda87 work: Support constructing URLSearchParams from a record
  • 88f2721 work: Support constructing URLSearchParams from formdata
  • 769619c feat(v8): Evaluating a "wrapper" object returns the Go object
  • 003e9ef work: Release return value on error
  • fdee30c work: Improve error message when type conversion fails
  • 738f077 test: Add missing cleanup of browser resources
  • c31f7cb docs: Clarify URLSearchParams
  • 7d877a0 work: Remove variable shadowing
  • d05ab94 work(codegen): Fail on invalid IDL specification
  • 40735a3 refactor(codegen): Remove duplicate imports
  • 1632bb0 work: Improve consistency in namings
  • 4b8ab6c docs: Update feature list
  • 27f82be docs: Update getting started
  • 9e7df3d work: Generate iterators on go interfaces
  • c735ffb refactor(codegen): Extract prototype function installer
  • 21144c0 work(codegen): Upgrade to [email protected]
  • 62c1248 wip: iterable
  • 624f181 work: Create basic URLSearchParams
  • 3b7eaf0 refactor: Support host-agnostic script implementations
  • 00e63e9 test: Create Run script helper
  • ad0bf41 test: Convert URL test to bare go test
  • 48031f2 feat(v8): Add URLSearchParams
  • 7949c71 refactor(codegen): Simplify skip constructor generation
  • 5e18652 feat: Add element.next/previousElementSibling
  • 6d5f64c test: Convert v8 element tests to suite
  • b67e31b Use nodemon for codegen watch mode
  • 7140aeb feat: Add element.id IDL attribute
  • e5dd949 fix: Clear node when calling Node.ReplaceChildren with no elements
  • c6fcfdb work: Add namespace to mutation record
  • 9c6b0a1 work: Create V8 bindings for mutation observer
  • ae0a62e refactor: Extract Flushers
  • 1303373 refactor(dom): Move types so they are colocated in code file
  • a50fb7c work(codegen): Support pointer types in structs
  • 1afa78b cleanup: Remove unused append function.
  • dc6d5f1 work: Implement MutationRecord.NextSibling
  • 4b6b56c work: Implement mutation records on SetInnerHTML
  • 19475eb test: Improve gomega matchers for records
  • 295a9a6 test: Add general Gomega formatter
  • 77abfd1 work: Handle characterData mutation records
  • e5716eb work: Add PrevSibling to MutationRecord
  • 74185b7 test: Create HaveOldValue custom matcher
  • 6c7dee0 work: Add OldValue for attribute mutation records
  • 9f1ee25 work: Filter irrelevant MutationRecord events
  • d201445 work: Add change event type
  • cf85416 work: Notify when attributes have changed
  • a6d3732 work: Better panic on invalid iso time
  • ea0f3a4 work: Add attribute filter to mutation observer
  • 0f7dba0 work: Set childList mutation record type
  • 12df1c4 test: Simplify mutation recorder construction
  • 5899958 test: Combine tree and subtree in one test
  • 3bd7f0f test: Restructure test file
  • 0afba82 work: Require a Flushers for MutationObserver
  • 6adb15b refactor(codegen): Make custom rules more accessible
  • aa4db59 refactor(codegen): Extract control of get/set
  • 45bc0cb refactor(codegen): Extract return value conversion
  • c92e15e refactor(codegen): Get rid of legacy idl type
  • 4b75be1 refactor(codegen): Separate return value conversion
  • 5c2a46d refactor(codegen): Split operation and attribute generation
  • 8ff3326 refactor(codegen): Move internal output type to custom rules
  • 109ae5f refactor: Extract generic toArray helper
  • b295b2f cleanup: Remove unused functions
  • 9dc2e11 test: Improve gomega matcher output for outerHTML
  • 92cdb31 refactor: Remove node from old parent in setParent
  • 9df270f clenaup: Remove unused function toHtmlNode
  • 515130b refactor: Replace loop with slices.Contains
  • f529394 refactor(dom): Move parent management on insert
  • 787fd33 refactor: Reuse SetAttributeNode implementation
  • cdaf1ee refactor(v8): Use an interface to find instance in callbacks
  • 74fd045 test: Create test-logger
  • e1b7aeb cleanup(v8): Remove unused functions
  • 49c0ad0 work: Nitpick fixes
  • 49324c9 test: Change status code in StaticFileServer
  • a02c244 feat: Support deferred scripts.
  • 994b65e cleanup: Remove noise
  • 1e4ba74 Refactor file server helper
  • 7b307c4 feat: Support window.queueMicrotask
  • 697bfc8 refactor: Cleanup test code
  • 0da97ee test: Remove form recorder and use HTTPRequestRecorder
  • 6f4c669 test: Extract StaticFileServer

Release v0.5.8

11 May 05:04
Compare
Choose a tag to compare
  • 0ffe785 chore(release): 0.5.8
  • 3783f77 docs(readme): Clarify memory leaks
  • 29c8ea2 fix(html): Resolve script src in context of document location
  • b50b6f8 feat(html): Add WindowOptionHTTPClient
  • 0a2e6f5 Update readme.
  • b036eee doc(changelog): Add notice about deprecation.

Release v0.5.7

26 Apr 14:51
Compare
Choose a tag to compare
  • 42492c8 chore(release): 0.5.7
  • c1e05ff docs(readme): Fix markdown table alignment
  • a6dbfb0 build: Push tag before branch after a release
  • 9db3c44 cleanup: Remove comments
  • 1f925d4 doc(html): Add doc for Eval/Run methods
  • d7dca66 fix(v8): Node.insertBefore failed on missing ref
  • e02ac4a test: Migrate node tests to testify suite
  • 1fede2f test: Make script host suite members public
  • c5eae12 test: HaveTextContent checks for nil

Release v0.5.5

11 Apr 11:33
Compare
Choose a tag to compare
  • 3c930c9 chore(release): 0.5.5
  • 41973b3 test: Extract general http request recorder
  • b6b86a8 build: Create release automatically on pushing tag
  • 992fee9 feat(dom): Handle checkbox input types
  • 43c359c test(html): Convert ginkgo test
  • a9414f8 Add deprecated notice to changelog

Release v0.5.4

11 Apr 11:05
Compare
Choose a tag to compare
  • a9414f8 Add deprecated notice to changelog
  • 048e69a chore(release): 0.5.4
  • cd7b4bc fix: "Fix" typo in event phase const name
  • 9d43d9c refactor: Simplify removing slice element
  • 654a995 cleanup: Remove unnecessary codegen config
  • 58c61c1 refactor: Auto generate event JS wrappers
  • 197d7d9 test: Cleanup remnants of code depending on ginko
  • 1a677cd test: Convert scripttest tests
  • 6945725 test: Convert script Document tests
  • de3cc20 test: Convert ginkgo test to testify suite
  • 5467955 refactor(codegen): Extract V8TargetGenerators
  • 9e4cd47 refactor(codegen): Add idl.Type return type
  • d92b1f2 chore(codegen): Updage webref dependency
  • ce293b3 refactor(codegen): Remove useless local var
  • 5718748 refactor(codegen): Add custom arg rule to JS gen
  • 6510018 refactor(codegen): General cleanup
  • 9b79a0a refactor(codegen): Extract engine generators
  • b4512a6 refactor(codegen): Extract model generators
  • 3ea5d30 refactor(codegen): Extract common generators
  • 25373d4 refactor(codegen): Wrapper method gen control flow
  • 24c3ed0 refactor(codegen): Extract wrapper method flow
  • 5993d80 refactor(codegen): Move flow control of methods
  • 927b417 refactor(codegen): Harmonise callback body intf
  • 8a5cbb5 cleanup: Remove unused type
  • effaeed dom: Implement SetInnerHTML
  • a5276cf fix: InsertAdjacentHTML only handled elements
  • 416470e cleanup: Remove unnecessary DOM parser logic
  • d9d03a7 test(dom): Convert ginkgo tests for Element
  • 08eafdd test: Fix bad caching of gomegas
  • 36c87e1 test: Extract AssertFixture
  • 2a5a843 docs: Update commit guidelines
  • 555af5c test: Cleanup
  • 0f62f8a test: Move variables to the owner fixture
  • 038bcf5 test: Replace fixture with new package
  • e7e5906 test: Refactor fixture component
  • dcc903b cleanup: Remove Println statements
  • ab7b038 docs: Rewrite commit guidelines
  • 4303c1f Remove comments