Skip to content

Commit 41f2f92

Browse files
authored
Merge pull request #69 from Mifrill/change_log
Added CHANGELOG.md for release [0.3.0]
2 parents 9999129 + 71690dd commit 41f2f92

File tree

1 file changed

+113
-14
lines changed

1 file changed

+113
-14
lines changed

CHANGELOG.md

Lines changed: 113 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,101 @@
1+
## [0.3.0] - (Sep 12, 2019) ##
2+
3+
### Added
4+
5+
- CI build by TravisCI for ruby versions: `2.3/2.4/2.5/2.6/jruby-9.2.8.0`
6+
7+
- fix specs with support of MacOS time formats
8+
9+
- `Ferrum::Mouse::CLICK_WAIT` as `FERRUM_CLICK_WAIT` `ENV-var` with `0.1` as default value
10+
11+
- `Ferrum::Browser#authorize` option `:type` with valid values `:server` (by default), `:proxy`
12+
13+
- Logo :tada:
14+
15+
- `Ferrum::Node#inner_text` - evaluates JS: `this.innerText` on Node instance
16+
17+
- `Ferrum::Page::Runtime::INTERMITTENT_ATTEMPTS` as `FERRUM_INTERMITTENT_ATTEMPTS` `ENV-var` with `6` as default value
18+
19+
- `Ferrum::Page::Runtime::INTERMITTENT_SLEEP` as `FERRUM_INTERMITTENT_SLEEP` `ENV-var` with `0.1` as default value
20+
21+
- `Ferrum::Page#on` getting the `name` as option with `:dialog/:request_intercepted` cases & `block` as last argument
22+
23+
- `Ferrum::Browser#on` - delegated actions to `Ferrum::Page` instance
24+
25+
- `Ferrum::Dialog` object to handle JavaScript Dialog's
26+
27+
- required `page, params` as init arguments
28+
29+
- `#accept` fires JS: `Page.handleJavaScriptDialog` as command on provided `Ferrum::Page` instance with options which included `accept: true`
30+
31+
- `#dismiss` fires JS: `Page.handleJavaScriptDialog` as command on provided `Ferrum::Page` instance with `accept: false`
32+
33+
- `#match?` compare message by passed regexp
34+
35+
- description of `Dialog` feature in README
36+
37+
- `Ferrum::Page::Event` extend of `Concurrent::Event` with implementation of `reset/wait` fix
38+
39+
- implement `Ferrum::Page::Event#iteration` to reuse `synchronize` block on `@iteration` value of `Concurrent::Event`
40+
41+
- redefinition of `Concurrent::Event#reset` - increase `@iteration` outside of `if @set` block
42+
43+
- `FERRUM_PROCESS_TIMEOUT` `ENV-var` as `Ferrum::Browser::Process::PROCESS_TIMEOUT` with `2` as default value
44+
45+
- Elapsed time implementation:
46+
47+
- `Ferrum::Browser::Process::WAIT_KILLED` with `0.05`
48+
49+
- `Ferrum.monotonic_time` - delegation to `Concurrent` object
50+
51+
- `Ferrum.started` - class variable `@@started` as `monotonic_time`
52+
53+
- `Ferrum.elapsed_time` - a difference of `monotonic_time` as minuend and passed time as argument or `@@started` as subtrahend
54+
55+
- `Ferrum.timeout?` - boolean compare passed values `(start, timeout)` by `elapsed_time`
56+
57+
- JRuby support by replaces of `::Process::CLOCK_MONOTONIC` usages according to `Elapsed-time` implementation
58+
59+
### Changed
60+
61+
- fix globally changing of Thread behaviour on options `abort_on_exception/report_on_exception`
62+
63+
- `Ferrum::Page::Input#find_position` into `Ferrum::Node#find_position`
64+
65+
- `Ferrum::Browser#scroll_to` into `Ferrum::Mouse#scroll_to`
66+
67+
- option `:timeout` into `:wait` for `Ferrum::Page#command` / `Ferrum::Mouse#click`
68+
69+
- description of `Authorization` options in README
70+
71+
- `Ferrum::Page::Net#intercept_request` block as last argument into `Ferrum::Page::Net#on(:request_intercepted)` with passed block
72+
73+
- `Ferrum::Browser::TIMEOUT` into `Ferrum::Browser::DEFAULT_TIMEOUT` as `FERRUM_DEFAULT_TIMEOUT` `ENV-var` with `5` as default value
74+
75+
- usage of `Concurrent::Event` into `Ferrum::Page::Event` as `@event` of `Ferrum::Page` instance
76+
77+
- `Ferrum::Page::NEW_WINDOW_BUG_SLEEP` into `Ferrum::Page::NEW_WINDOW_WAIT` as `FERRUM_NEW_WINDOW_WAIT` `ENV-var` with `0.3` as default value
78+
79+
### Removed
80+
81+
- `Ferrum::Page::Input`
82+
83+
- `Ferrum::Browser#proxy_authorize` / `Ferrum::Page::Net#proxy_authorize`
84+
85+
- `Ferrum::ModalNotFoundError`
86+
87+
- `Ferrum::Page#reset_modals` with delegation to `Ferrum::Browser`
88+
89+
- `Ferrum::Page#find_modal` with delegation to `Ferrum::Browser`
90+
91+
- `Ferrum::Page#accept_prompt` with delegation to `Ferrum::Browser`
92+
93+
- `Ferrum::Page#dismiss_confirm` with delegation to `Ferrum::Browser`
94+
95+
- `Ferrum::Page#accept_confirm` with delegation to `Ferrum::Browser`
96+
97+
- `Ferrum::Browser#on_request_intercepted`
98+
199
## [0.2.1] - (Sep 5, 2019) ##
2100

3101
### Added
@@ -8,21 +106,21 @@
8106

9107
### Changed
10108

11-
- increased Browser::Process::PROCESS_TIMEOUT constant by 1
109+
- increased `Browser::Process::PROCESS_TIMEOUT` constant by 1
12110

13-
- `Ferrum::Network::InterceptedRequest.rbmatch?` to handle cases for Ruby 2.3 and less
111+
- `Ferrum::Network::InterceptedRequest#match?` to handle cases for `Ruby 2.3` and less
14112

15113
## [0.2.0] - (Sep 3, 2019) ##
16114

17115
### Added
18116

19117
- snippet examples of the actions in README
20118

21-
- `Ferrum::Node#focus` - fires the `command` `DOM.focus` on Page instance
119+
- `Ferrum::Node#focus` - fires the `command` `DOM.focus` on `Ferrum::Page` instance
22120

23-
- `Ferrum::Node#blur` - evaluates JS: `this.blur()` on Page instance
121+
- `Ferrum::Node#blur` - evaluates JS: `this.blur()` on `Ferrum::Page` instance
24122

25-
- `Ferrum::Node#click` - fires the native `click` on Page instance
123+
- `Ferrum::Node#click` - fires the native `click` on `Ferrum::Page` instance
26124

27125
- usage of `FERRUM_INTERMITTENT_ATTEMPTS` `ENV-var` on the rescue of runtime intermittent error
28126

@@ -84,7 +182,7 @@
84182

85183
- `Ferrum::Node::#click` getting the `mode` argument as option with `right/double/left` cases
86184

87-
- `Ferrum::Page::Frame#switch_to_frame` into `Ferrum::Page::Frame#within_frame` with added case of ArgumentError
185+
- `Ferrum::Page::Frame#switch_to_frame` into `Ferrum::Page::Frame#within_frame` with added case of `ArgumentError`
88186

89187
### Removed
90188

@@ -152,7 +250,7 @@
152250

153251
### Added
154252

155-
- fires the `Ferrum::NodeError` on zero of node_id
253+
- fires the `Ferrum::NodeError` on zero of `node_id`
156254

157255
### Changed
158256

@@ -166,24 +264,25 @@
166264

167265
#### Modules:
168266

169-
- Ferrum
267+
- `Ferrum`
170268

171-
- Ferrum::Network - simple requests/responses data store
269+
- `Ferrum::Network` - simple requests/responses data store
172270

173271
#### Classes:
174272

175-
- Ferrum::Browser - basic command interface
273+
- `Ferrum::Browser` - basic command interface
176274

177-
- Ferrum::Cookie - simple store of the cookie attributes
275+
- `Ferrum::Cookie` - simple store of the cookie attributes
178276

179-
- Ferrum::Node - abstract level of DOM-node with basic methods
277+
- `Ferrum::Node` - abstract level of DOM-node with basic methods
180278

181-
- Ferrum::Page - basic object of the command references, which included DOM, network and browser logic
279+
- `Ferrum::Page` - basic object of the command references, which included `DOM`, network and browser logic
182280

183-
- Ferrum::Targets - initialize of the `window` manager with a clean browser state
281+
- `Ferrum::Targets` - initialize of the `window` manager with a clean browser state
184282

185283
- classes of errors with a description of specific raises reasons
186284

285+
[0.3.0]: https://github.com/rubycdp/ferrum/compare/v0.2.1...v0.3
187286
[0.2.1]: https://github.com/rubycdp/ferrum/compare/v0.2...v0.2.1
188287
[0.2.0]: https://github.com/rubycdp/ferrum/compare/v0.1.2...v0.2
189288
[0.1.2]: https://github.com/rubycdp/ferrum/compare/v0.1.1...v0.1.2

0 commit comments

Comments
 (0)