Skip to content

Commit 0bee005

Browse files
bump: version 1.7.0 → 2.0.0
1 parent 66d803b commit 0bee005

File tree

2 files changed

+152
-1
lines changed

2 files changed

+152
-1
lines changed

CHANGELOG.md

Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,154 @@
1+
## 2.0.0 (2025-06-08)
2+
3+
### BREAKING CHANGE
4+
5+
- pydoll v2 finished
6+
7+
### Feat
8+
9+
- intuitive way to interact with iframes
10+
- refactor Keys class to Key and add utility methods for enums
11+
- add Event TypedDict for standardized event structure
12+
- add TargetEvent enum for Chrome DevTools Protocol events
13+
- add StorageEvent enumeration for Chrome DevTools Protocol events
14+
- add RuntimeEvent enumeration for Chrome DevTools Protocol events
15+
- add PageEvent enumeration for Chrome DevTools Protocol events
16+
- add NetworkEvent enumeration for Chrome DevTools Protocol events
17+
- add InputEvent enum for Chrome DevTools input events
18+
- add FetchEvent enumeration for Chrome DevTools Protocol events
19+
- add DomEvent enumeration for Chrome DevTools Protocol events
20+
- add BrowserEvent enum for Chrome DevTools protocol events
21+
- add methods to enable and disable the runtime domain commands
22+
- add new enums for whitespace, axes, pseudo types, and modes
23+
- add DOM response types and corresponding response classes
24+
- add DOM command types and parameter definitions for pydoll
25+
- add enums for key, mouse, touch, and drag event types
26+
- add input command types for touch, mouse, and keyboard events
27+
- enhance TargetCommands class with new methods for targets management
28+
- add TypedDicts for target response types and browser contexts
29+
- add TypedDict definitions for target command parameters
30+
- add storage-related enumerations for bucket durability and types
31+
- enhance StorageCommands with new methods for data management
32+
- add storage response types and related classes for handling data
33+
- add storage command types using TypedDict for structured params
34+
- add new enumeration classes for serialization and object types
35+
- add runtime response types for handling various object previews
36+
- add initial runtime command types for protocol handling
37+
- add constants for various encoding, formats, and policies
38+
- add TypedDict definitions for page response types and results
39+
- add typed dictionaries for various page command parameters
40+
- add new command parameter classes for network resource handling
41+
- add TypedDict definitions for network response types
42+
- organize command types into structured imports and exports
43+
- add network command types and parameters for cookie management
44+
- add enums for cookie priorities, connection types, and encodings
45+
- add response classes for browser window target retrieval
46+
- setup mkdocs and install related packages
47+
- add async text property for retrieving element text
48+
49+
### Fix
50+
51+
- remove target directory from .gitignore file
52+
- fix typo in USB_UNRESTRICTED constant for consistency
53+
- add new network command parameters and methods for cookies
54+
- change postData type from dict to string in ContinueRequestParams
55+
56+
### Refactor
57+
58+
- refactor screenshot path handling and enhance error checking
59+
- refactor type hints from List to built-in list for consistency
60+
- refine XPath condition handling and ensure integer coordinates
61+
- refactor condition checks to ensure against None values
62+
- refactor exception handling and add browser path validation function
63+
- rename BrowserOptionsManager to ChromiumOptionsManager
64+
- refactor Edge class to use ChromiumOptionsManager and simplify path validation
65+
- refactor Chrome class to use Chromium-specific options manager
66+
- refactor Browser class to use options manager and improve methods
67+
- refactor Options class to ChromiumOptions and use type hints
68+
- refactor to create ChromiumOptionsManager for better clarity
69+
- add abstract base classes for browser options management
70+
- use `message.get('id')` for safer ID checks in response
71+
- refactor message handling to support multiple message types
72+
- refactor element finding methods for enhanced flexibility and clarity
73+
- rename method for better clarity in captcha element handling
74+
- refactor type hints for event callback parameters and options
75+
- simplify ping call by inlining WebSocketClientProtocol cast
76+
- refactor EventsManager to use typed Event objects consistently
77+
- add runtime events management to the Tab class functionality
78+
- update event callback signatures for better type handling
79+
- remove unused import of Response in runtime_commands.py
80+
- add Response import to page_commands for improved functionality
81+
- refactor response classes to use TypedDict for better typing
82+
- refactor WebElement class to organize exception imports clearly
83+
- refactor exception handling in FindElementsMixin class
84+
- refactor exception handling to use custom timeout and connection errors
85+
- remove unused import statements in events_manager.py
86+
- refactor error handling to use specific exceptions for clarity
87+
- refactor error handling to use custom exception for arguments
88+
- fix PermissionError raising in TempDirectoryManager class
89+
- refactor error handling to use specific exceptions for clarity
90+
- handle unsupported OS with a custom exception in Edge class
91+
- raise UnsupportedOS exception for unsupported operating systems
92+
- refactor browser error handling and improve method return types
93+
- refactor exception classes to improve organization and clarity
94+
- refactor element finding methods to use updated command structure
95+
- refactor WebElement class for improved structure and clarity
96+
- refactor import statements and clean up code formatting
97+
- refactor command imports and enhance download behavior method
98+
- refactor Tab import and update FetchCommands method calls
99+
- refactor ConnectionHandler docstrings for clarity and conciseness
100+
- refactor command and event managers for improved type safety
101+
- refactor ConnectionHandler to improve WebSocket management and clarity
102+
- add Tab class for managing browser tabs via CDP integration
103+
- enhance TempDirectoryManager with detailed docstrings and type hints
104+
- refactor ProxyManager to enhance proxy credential handling
105+
- refactor Browser class to enhance automation capabilities and structure
106+
- move commands to a different module
107+
- define base structures for commands and responses in protocol
108+
- import Rect from dom_commands_types for response handling
109+
- refactor cookie-related types for improved clarity and consistency
110+
- remove unnecessary whitespace in docstring of InputCommands class
111+
- refactor DOM commands to improve structure and add functionality
112+
- refactor InputCommands to enhance user input simulation methods
113+
- add CookieParam TypedDict to define cookie attributes
114+
- add new runtime command methods for JavaScript bindings and promises
115+
- remove unused method to clear accepted encodings in network commands
116+
- update ResetPermissionsParams to use NotRequired for context ID
117+
- refactor PageCommands to improve structure and add type hints
118+
- simplify import statements by using wildcard imports for responses
119+
- add new response types and update existing response classes
120+
- consolidate command imports using wildcard imports for clarity
121+
- correct post_data type from dict to str in FetchCommands class
122+
- refactor NetworkCommands to use structured command parameters
123+
- refactor fetch command methods to use static methods directly
124+
- refactor BrowserCommands to use static methods and improve clarity
125+
- refactor response imports and update __all__ definitions
126+
- refactor import statements for better readability and structure
127+
- refactor import statements for consistency in response types
128+
- refactor import and rename EnableParams to FetchEnableParams
129+
- refactor import statement for CommandParams module path
130+
- refactor fetch command templates to use Command class
131+
- add enums for window states, download behaviors, and permissions
132+
- remove unused enum imports and rename base_types module
133+
- refactor command structures for better organization and clarity
134+
- rename command and response modules for better clarity
135+
- refactor imports for better organization and readability
136+
- add browser command methods for version, permissions, and downloads
137+
- add command and response types for protocol implementation
138+
- refactor execute_command to use type annotations for clarity
139+
- refactor command methods to specify response types in BrowserCommands
140+
- refactor command structures and introduce base CommandParams class
141+
- refactor browser command constants to use Command class type
142+
- refactor connection imports and rename manager files for clarity
143+
- refactor BrowserType import to a common constants module
144+
- refactor browser modules to use the new chromium structure
145+
- refactor element imports and remove deprecated element file
146+
- refactor import paths to use the protocol submodule structure
147+
- move command files to the protocol directory for better structure
148+
- rename insert_text to paste_text and remove unused files
149+
- refactor the `InputCommands` class to enhance clarity and simplicity in its operations
150+
- add deprecation warning to get_element_text()
151+
1152
## 1.7.0 (2025-04-06)
2153

3154
### Feat

cz.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
commitizen:
33
name: cz_conventional_commits
44
tag_format: $version
5-
version: 1.7.0
5+
version: 2.0.0

0 commit comments

Comments
 (0)