Skip to content

Commit 9999129

Browse files
authored
Merge pull request #63 from Mifrill/change_log
Added CHANGELOG.md for releases [0.1.0.alpha] - ... - [0.2.1]
2 parents be4675a + bfabda1 commit 9999129

File tree

1 file changed

+192
-0
lines changed

1 file changed

+192
-0
lines changed

CHANGELOG.md

Lines changed: 192 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,192 @@
1+
## [0.2.1] - (Sep 5, 2019) ##
2+
3+
### Added
4+
5+
- handle `EOFError/Errno::ECONNRESET/Errno::EPIPE` errors with rescue
6+
7+
- description options of `Customization` in README
8+
9+
### Changed
10+
11+
- increased Browser::Process::PROCESS_TIMEOUT constant by 1
12+
13+
- `Ferrum::Network::InterceptedRequest.rbmatch?` to handle cases for Ruby 2.3 and less
14+
15+
## [0.2.0] - (Sep 3, 2019) ##
16+
17+
### Added
18+
19+
- snippet examples of the actions in README
20+
21+
- `Ferrum::Node#focus` - fires the `command` `DOM.focus` on Page instance
22+
23+
- `Ferrum::Node#blur` - evaluates JS: `this.blur()` on Page instance
24+
25+
- `Ferrum::Node#click` - fires the native `click` on Page instance
26+
27+
- usage of `FERRUM_INTERMITTENT_ATTEMPTS` `ENV-var` on the rescue of runtime intermittent error
28+
29+
- implementation's of `Ferrum::Page::DOM#xpath` & `Ferrum::Page::DOM#at_xpath`
30+
31+
- `Ferrum.with_attempts` - retry attempt with the sleep on the block passed as an argument
32+
33+
- `Ferrum::NoExecutionContextError` - raises when there's no `context` available
34+
35+
- `Ferrum::Node#attribute` - evaluates JS: `this.getAttribute` with passed `name`
36+
37+
- `Ferrum::Mouse` - dedicated class of `mouse` actions: `click/down/up/move`
38+
39+
- `Ferrum::Browser#mouse` - delegated actions to `Ferrum::Mouse` instance extracted from `Ferrum::Page::Input`
40+
41+
- `Ferrum::Page::Input#find_position` - usage of `DOM.getContentQuads` to find position of node by `top/left`
42+
43+
- `Ferrum::Keyboard` - dedicated class of `keyboard` actions: `down/up/type/modifiers`
44+
45+
- `Ferrum::Browser#keyboard` - delegated actions to `Ferrum::Keyboard` instance extracted from `Ferrum::Page::Input`
46+
47+
- `Ferrum::Headers` dedicated class of headers manager with `get/set/clear/add` actions which delegated to `Ferrum::Page` instance
48+
49+
- `Ferrum::Cookies` dedicated class which includes logic from `Ferrum::Browser::API::Cookie` & `Ferrum::Cookie` with actions: `all/[]/set/remove/clear`
50+
51+
- `Ferrum::Page#cookies` - delegated actions to `Ferrum::Cookies` instance
52+
53+
- `Ferrum::Page::Screenshot` module with methods `screenshot/pdf` implemented by commands `Page.captureScreenshot/Page.printToPDF`
54+
55+
- `Ferrum::Browser#screenshot` - delegated actions to `Page::Screenshot` module
56+
57+
- `Ferrum::Network::InterceptedRequest` class with methods: `auth_challenge?/match?/abort/continue/url/method/headers/initial_priority/referrer_policy`
58+
59+
- `Ferrum::Browser#intercept_request` - method with delegated to `Ferrum::Page::Net` which sets pattern into `Network.setRequestInterception`
60+
61+
- `Ferrum::Browser#on_request_intercepted` - method with delegated to `Ferrum::Page::Net` which applies passed block
62+
63+
- `Ferrum::Browser#abort_request` - method with delegated to `Ferrum::Page::Net` which stops request by passed interception_id
64+
65+
### Changed
66+
67+
- `Ferrum::Page::Input#send_keys` into `Ferrum::Page::Input#type`
68+
69+
- `Ferrum::DeadBrowser` into `Ferrum::DeadBrowserError`
70+
71+
- `Ferrum::ModalNotFound` into `Ferrum::ModalNotFoundError`
72+
73+
- `Ferrum::StatusFailError` into `Ferrum::StatusError`
74+
75+
- `Ferrum::NodeError` into `Ferrum::NodeNotFoundError`
76+
77+
- `Ferrum::Page#go_back` into `Ferrum::Page#back`
78+
79+
- `Ferrum::Page#go_forward` into `Ferrum::Page#forward`
80+
81+
- `Ferrum::Page::Dom#property` into `Ferrum::Page#property`
82+
83+
- `Ferrum::Page::Dom#select_file` into `Ferrum::Page#select_file`
84+
85+
- `Ferrum::Node::#click` getting the `mode` argument as option with `right/double/left` cases
86+
87+
- `Ferrum::Page::Frame#switch_to_frame` into `Ferrum::Page::Frame#within_frame` with added case of ArgumentError
88+
89+
### Removed
90+
91+
- `Ferrum::ObsoleteNode` error
92+
93+
- `Ferrum::FrameNotFound` error
94+
95+
- `Ferrum::Page::Input#set`
96+
97+
- `Ferrum::Page::Input#select`
98+
99+
- `Ferrum::Node::#attributes`
100+
101+
- `Ferrum::Node::#[]`
102+
103+
- `Ferrum::Node::#select_option`
104+
105+
- `Ferrum::Node::#unselect_option`
106+
107+
- `Ferrum::Node::#visible?`
108+
109+
- `Ferrum::Node::#checked?`
110+
111+
- `Ferrum::Node::#selected?`
112+
113+
- `Ferrum::Node::#disabled?`
114+
115+
- `Ferrum::Node::#path`
116+
117+
- `Ferrum::Node::#right_click`
118+
119+
- `Ferrum::Node::#double_click`
120+
121+
- `Ferrum::Page::Input#type`
122+
123+
- `Ferrum::Page::Input#generate_modifiers`
124+
125+
- `Ferrum::Browser::API` - `Header, Cookie, Screenshot, Intercept`
126+
127+
- `Ferrum::Browser#set_overrides`
128+
129+
- `Ferrum::Browser#url_whitelist`
130+
131+
- `Ferrum::Browser#url_blacklist`
132+
133+
## [0.1.2] - (Aug 27, 2019) ##
134+
135+
### Added
136+
137+
- catch of the intermittent errors inside of `evaluate's` methods
138+
139+
- `Ferrum::Page::Runtime#evaluate_on` - fires `Runtime.callFunctionOn` command with `functionDeclaration` on `Ferrum::Page`
140+
141+
### Removed
142+
143+
- `Ferrum::Page::Runtime#evaluate_in`
144+
145+
## [0.1.1] - (Aug 26, 2019) ##
146+
147+
### Added
148+
149+
- stringify the `url` which passed to `Ferrum::Page#goto`
150+
151+
## [0.1.0] - (Aug 26, 2019) ##
152+
153+
### Added
154+
155+
- fires the `Ferrum::NodeError` on zero of node_id
156+
157+
### Changed
158+
159+
- basic description in README
160+
161+
## [0.1.0.alpha] - (Aug 2, 2019) ##
162+
163+
### Added
164+
165+
- Initial implementation
166+
167+
#### Modules:
168+
169+
- Ferrum
170+
171+
- Ferrum::Network - simple requests/responses data store
172+
173+
#### Classes:
174+
175+
- Ferrum::Browser - basic command interface
176+
177+
- Ferrum::Cookie - simple store of the cookie attributes
178+
179+
- Ferrum::Node - abstract level of DOM-node with basic methods
180+
181+
- Ferrum::Page - basic object of the command references, which included DOM, network and browser logic
182+
183+
- Ferrum::Targets - initialize of the `window` manager with a clean browser state
184+
185+
- classes of errors with a description of specific raises reasons
186+
187+
[0.2.1]: https://github.com/rubycdp/ferrum/compare/v0.2...v0.2.1
188+
[0.2.0]: https://github.com/rubycdp/ferrum/compare/v0.1.2...v0.2
189+
[0.1.2]: https://github.com/rubycdp/ferrum/compare/v0.1.1...v0.1.2
190+
[0.1.1]: https://github.com/rubycdp/ferrum/compare/v0.1.0...v0.1.1
191+
[0.1.0]: https://github.com/rubycdp/ferrum/compare/v0.1.0.alpha...v0.1.0
192+
[0.1.0.alpha]: https://github.com/rubycdp/ferrum/releases/tag/v0.1.0.alpha

0 commit comments

Comments
 (0)