|
| 1 | +## [0.4.0] - (Sep 17, 2019) ## |
| 2 | + |
| 3 | +### Added |
| 4 | + |
| 5 | +- `Ferrum::Network` module - moved logic from `Ferrum::Page::Net` with addition changes |
| 6 | + |
| 7 | +- `Ferrum::Browser#network` - instance of `Ferrum::Network` from delegated `Ferrum::Page` instance |
| 8 | + |
| 9 | +- `Ferrum::Network#request` & `Ferrum::Network#response` - delegation to `Network::Exchange` instance |
| 10 | + |
| 11 | +- `Ferrum::Network#first_by` / `Ferrum::Network#last_by` - implemented searching by passed request_id in `Network::Exchange` instance |
| 12 | + |
| 13 | +- `Ferrum::Browser#traffic` delegation to `Ferrum::Network` of `Network::Exchange` instances |
| 14 | + |
| 15 | +- `Ferrum::Network::Exchange` - simple request/response constructor with monitoring |
| 16 | + |
| 17 | + - `#build_request` - instance of `Network::Request` with passed params |
| 18 | + |
| 19 | + - `#build_response` - instance of `Network::Response` with passed params |
| 20 | + |
| 21 | + - `#build_error` - instance of `Network::Error` with passed params |
| 22 | + |
| 23 | + - `#navigation_request?` - the request verification on document by passed frame_id |
| 24 | + |
| 25 | + - `#blocked?` - boolean which becomes true when no the constructed response |
| 26 | + |
| 27 | + - `#to_a` - returns array of constructed request/response/error instances |
| 28 | + |
| 29 | +- `Ferrum::Network::Request#type` - delegation to `type` of passed to instance params |
| 30 | + |
| 31 | +- `Ferrum::Network::Request#type?` - boolean compare with `type` of instance with passed type as argument |
| 32 | + |
| 33 | +- `Ferrum::Network::Request#frame_id` - delegation to `frameId` of passed to instance params |
| 34 | + |
| 35 | +- `Ferrum::Network::InterceptedRequest#abort` - fires `continue` method of instance with `errorReason` as `Aborted` |
| 36 | + |
| 37 | +- `Ferrum::Network::InterceptedRequest#inspect` - simple implementation of native `inspect` method with returns of the current internal state |
| 38 | + |
| 39 | +- `Ferrum::Page::Frame#frame_id` - reader to public available of `frameId` by `Ferrum::Page#frame_id` |
| 40 | + |
| 41 | +### Changed |
| 42 | + |
| 43 | +- description of `Network/Authorization/Interception` sections in README |
| 44 | + |
| 45 | +- `Ferrum::Browser#screenshot` & `Ferrum::Browser#pdf` methods are returns bin when no path is given |
| 46 | + |
| 47 | +- `Ferrum::Browser#status` delegated to `Ferrum::Network` |
| 48 | + |
| 49 | +- `Ferrum::Browser#authorize` delegated to `Ferrum::Network` |
| 50 | + |
| 51 | +- `Ferrum::Network` module into `class` approach for `InterceptedRequest/Request/Response/Error` classes |
| 52 | + |
| 53 | +- `Ferrum::Browser#intercept_request` into `Ferrum::Network#intercept` |
| 54 | + |
| 55 | +- `Ferrum::Browser#subscribe` into `Ferrum::Network#subscribe` with public available |
| 56 | + |
| 57 | +- `Ferrum::Browser#authorized_response` into `Ferrum::Network#authorized_response` with public available |
| 58 | + |
| 59 | +- `Ferrum::Browser#clear_memory_cache` & `Ferrum::Browser#clear_network_traffic` |
| 60 | + |
| 61 | + merged to `Ferrum::Network#clear` with addition of `traffic` clear by the argument as symbol type of `traffic/cache` |
| 62 | + |
| 63 | +- `Ferrum::Network::Request#time` - use `wallTime` params fir time detection |
| 64 | + |
| 65 | +- `body_size` attribute writer of `Ferrum::Network::Response` with reduce of size on headers_size |
| 66 | + |
| 67 | + to handle `encodedDataLength` when `Network.responseReceived` is not dispatched |
| 68 | + |
| 69 | +### Removed |
| 70 | + |
| 71 | +- `Ferrum::Network::Response#redirect_url` |
| 72 | + |
| 73 | +- `Ferrum::Page::Net` |
| 74 | + |
| 75 | +- `Ferrum::Browser#abort_request` |
| 76 | + |
| 77 | +- `Ferrum::Browser#continue_request` |
| 78 | + |
| 79 | +- `Ferrum::Browser#response_headers` |
| 80 | + |
| 81 | +- `Ferrum::Browser#network_traffic` |
| 82 | + |
| 83 | +- `Ferrum::Network::InterceptedRequest#is_navigation_request=` (attribute writer) |
| 84 | + |
1 | 85 | ## [0.3.0] - (Sep 12, 2019) ##
|
2 | 86 |
|
3 | 87 | ### Added
|
|
282 | 366 |
|
283 | 367 | - classes of errors with a description of specific raises reasons
|
284 | 368 |
|
| 369 | +[0.4.0]: https://github.com/rubycdp/ferrum/compare/v0.3...v0.4 |
285 | 370 | [0.3.0]: https://github.com/rubycdp/ferrum/compare/v0.2.1...v0.3
|
286 | 371 | [0.2.1]: https://github.com/rubycdp/ferrum/compare/v0.2...v0.2.1
|
287 | 372 | [0.2.0]: https://github.com/rubycdp/ferrum/compare/v0.1.2...v0.2
|
|
0 commit comments