mirror of
				https://github.com/MontFerret/ferret.git
				synced 2025-10-30 23:37:40 +02:00 
			
		
		
		
	
		
			
				
	
	
	
		
			5.9 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			5.9 KiB
		
	
	
	
	
	
	
	
Changelog
0.6.0
Added
- Added support for context.Done()to interrupt an execution #201.
- Added support for custom HTML drivers #209.
- Added support for dot notation access and assignments for custom types #214
- Added ELEMENT_EXISTS(doc, selector) -> Booleanfunction #210.
LET exists = ELEMENT_EXISTS(doc, ".nav")
- Added PageLoadParamstoDOCUMENTfunction #214.
LET doc = DOCUMENT("https://www.google.com/", {
    dynamic: true,
    timeout: 10000
})
Fixed
Breaking change
- (Embedded) Removed builtin drivers initialization in Program #198. The initialization must be done via context manually.
0.5.2
Fixed
- Does not close browser tab when fails to load a page #193.
- HTMLElement.valuedoes not return actual value #195
- Compiles a query with duplicate variable in FOR statement #196
- Default CDP address #197.
0.5.1
Fixed
- Unable to change a page load timeout #186.
- RETURN docreturns an empty string #187.
- Unable to pass an HTML Node without a selector to INNER_TEXTandINNER_HTML#187.
- doc.innerTextreturns an error #187.
- Panics when WAIT_CLASSdoes not receive all required arguments #192.
0.5.0
Added
- FMTfunction #151.
- DateTime functions #152, #153, #154, #156, #157, #165, #175, #182.
- PAGINATIONfunction #173.
- SCROLL_TOP,- SCROLL_BOTTOMand- SCROLL_ELEMENTfunctions #174.
- HOVERfunction #178.
- Panic recovery mechanism #158.
Fixed
- Unable to define variables and make function calls before FILTER, SORT and etc statements #148.
- Unable to use params in LIMIT clause #173.
- RIGHTshould return substr counting from right rather than left #164.
- INNER_HTMLreturns outer HTML instead for dynamic elements #170.
- INNER_TEXTreturns HTML instead from dynamic elements #170.
Breaking change:
- Name collision between mathandutilspackages in standard library. RenamedLOGtoPRINT#162.
0.4.0
Added
Fixed
- Unable to use string literals as object properties commit
0.3.0
Added
- FROM_BASE64function commit
- Support for multi line strings commit
- DOWNLOADfunction commit
- Binary expressions commit
Fixed
- KEEPfunction does not perform deep cloning commit
- WaitForNavigation callback can get called more than once commit
- Concurrent map iteration and map write commit
Breaking changes
- Renamed .innerHtmlto.innerHTMLcommit