@browserless.io/browserless 2.20.0-beta-4 → 2.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +157 -8
- package/build/config.d.ts +1 -0
- package/build/config.js +3 -2
- package/build/router.js +4 -1
- package/build/routes/chrome/http/pdf.post.body.json +8 -8
- package/build/routes/chrome/http/scrape.post.body.json +8 -8
- package/build/routes/chrome/http/screenshot.post.body.json +8 -8
- package/build/routes/chromium/http/content.post.body.json +8 -8
- package/build/routes/chromium/http/pdf.post.body.json +8 -8
- package/build/routes/chromium/http/scrape.post.body.json +8 -8
- package/build/routes/chromium/http/screenshot.post.body.json +8 -8
- package/build/routes/chromium/tests/content.spec.js +23 -0
- package/build/routes/chromium/tests/function.spec.js +1 -1
- package/build/routes/chromium/tests/pdf.spec.js +1 -1
- package/build/routes/management/http/static.get.js +3 -0
- package/build/sdk-utils.js +0 -4
- package/package.json +2 -2
- package/src/config.ts +3 -2
- package/src/router.ts +4 -3
- package/src/routes/chromium/tests/content.spec.ts +27 -0
- package/src/routes/chromium/tests/function.spec.ts +1 -1
- package/src/routes/chromium/tests/pdf.spec.ts +1 -1
- package/src/routes/management/http/static.get.ts +6 -0
- package/src/sdk-utils.ts +0 -6
- package/static/docs/swagger.json +2 -2
- package/static/docs/swagger.min.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,21 @@
|
|
|
1
|
-
# [Latest](https://github.com/browserless/chrome/compare/v2.
|
|
1
|
+
# [Latest](https://github.com/browserless/chrome/compare/v2.20.0...main)
|
|
2
|
+
|
|
2
3
|
- Dependency updates.
|
|
3
4
|
|
|
5
|
+
# [v2.20.0](https://github.com/browserless/chrome/compare/v2.19.0...v2.20.)
|
|
6
|
+
|
|
7
|
+
- Dependency updates.
|
|
8
|
+
- Supports `puppeteer@23.3.0`.
|
|
9
|
+
- Support `playwright@1.47.0`.
|
|
10
|
+
- Use installed playwright-core for downloading browser binaries instead of `npx`, ensuring the appropriate browsers are installed.
|
|
11
|
+
- Fix JSON routes 404-ing when charset is specified in the content-type header.
|
|
12
|
+
- Disable the built-in debugger by setting `ENABLE_DEBUGGER=false`.
|
|
13
|
+
- Automatically run prettier on file save in VS Code.
|
|
14
|
+
- Windows fixes for SDK projects.
|
|
15
|
+
- README link fixes.
|
|
16
|
+
|
|
4
17
|
# [v2.19.0](https://github.com/browserless/chrome/compare/v2.18.0...v2.19.0)
|
|
18
|
+
|
|
5
19
|
- Dependency updates.
|
|
6
20
|
- Drop `sort-keys` for eslint integrations.
|
|
7
21
|
- Fix devtools URLs when `PROXY` is set and contains a path.
|
|
@@ -9,6 +23,7 @@
|
|
|
9
23
|
- Small fixes for new eslint rules.
|
|
10
24
|
|
|
11
25
|
# [v2.18.0](https://github.com/browserless/chrome/compare/v2.17.0...v2.18.0)
|
|
26
|
+
|
|
12
27
|
- Dependency updates.
|
|
13
28
|
- Supports `puppeteer-core@23.1.1`.
|
|
14
29
|
- Supports `playwright-core@1.46.1, 1.44.1, 1.43.1, 1.42.1, 1.41.2`.
|
|
@@ -16,39 +31,47 @@
|
|
|
16
31
|
- `/function` API now works properly when applying a 3rd-party proxy.
|
|
17
32
|
|
|
18
33
|
# [v2.17.0](https://github.com/browserless/chrome/compare/v2.16.1...v2.17.0)
|
|
34
|
+
|
|
19
35
|
- Dependency updates.
|
|
20
36
|
- Hide token in logs on startup.
|
|
21
37
|
- Fixes an issue where using `--proxy-server` now works with /function-API calls.
|
|
22
|
-
- Adds support for the following CORS headers via env variables (headers and their corresponding config names are below).
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
38
|
+
- Adds support for the following CORS headers via env variables (headers and their corresponding config names are below). _Please note that these are very permissive by default, but only set when `ENABLE_CORS` is `true`!_
|
|
39
|
+
- 'Access-Control-Allow-Credentials': CORS_ALLOW_CREDENTIALS (default '\*')
|
|
40
|
+
- 'Access-Control-Allow-Headers': CORS_ALLOW_HEADERS (default: '\*')
|
|
41
|
+
- 'Access-Control-Allow-Methods': CORS_ALLOW_METHODS (default: 'OPTIONS, POST, GET')
|
|
42
|
+
- 'Access-Control-Allow-Origin': CORS_ALLOW_ORIGIN (default: '\*')
|
|
43
|
+
- 'Access-Control-Expose-Headers': CORS_EXPOSE_HEADERS (default: '\*')
|
|
44
|
+
- 'Access-Control-Max-Age': CORS_MAX_AGE (default: '2592000')
|
|
29
45
|
|
|
30
46
|
# [v2.16.1](https://github.com/browserless/chrome/compare/v2.16.0...v2.16.1)
|
|
47
|
+
|
|
31
48
|
- Dependency updates.
|
|
32
49
|
- Fixes numerous SDK issues when creating and building new projects.
|
|
33
50
|
|
|
34
51
|
# [v2.16.0](https://github.com/browserless/chrome/compare/v2.15.0...v2.16.0)
|
|
52
|
+
|
|
35
53
|
- Dependency updates.
|
|
36
54
|
- Better extension handling and merging when passing in custom extensions.
|
|
37
55
|
- Fixes a bug where a failed job (error thrown) causes the internal queue to drain.
|
|
38
56
|
- Prettier and other source improvements.
|
|
39
57
|
|
|
40
58
|
# [v2.15.0](https://github.com/browserless/chrome/compare/v2.14.0...v2.15.0)
|
|
59
|
+
|
|
41
60
|
- Bug fix to avoid removing healthy jobs from limiter when a job fails
|
|
42
61
|
- Dependency updates.
|
|
43
62
|
|
|
44
63
|
# [v2.14.0](https://github.com/browserless/chrome/compare/v2.13.0...v2.14.0)
|
|
64
|
+
|
|
45
65
|
**Potentially Breaking**
|
|
66
|
+
|
|
46
67
|
- Merged duplicate code in browsers and fixed name `WebkitPlaywright` to `WebKitPlaywright` (capitalized "K").
|
|
47
68
|
- Devtools now bundled into the repository at build-time for the `/debugger` route.
|
|
48
69
|
- Dependency updates.
|
|
49
70
|
|
|
50
71
|
# [v2.13.0](https://github.com/browserless/chrome/compare/v2.12.0...v2.13.0)
|
|
72
|
+
|
|
51
73
|
**Potentially Breaking**
|
|
74
|
+
|
|
52
75
|
- The `browser` hook now gets the `req` property for the full request instead of `meta`.
|
|
53
76
|
- Now embeds the debugger located at `/debugger`.
|
|
54
77
|
- Preliminary support for `trackingId`.
|
|
@@ -58,23 +81,29 @@
|
|
|
58
81
|
- Dependency updates.
|
|
59
82
|
|
|
60
83
|
# [v2.12.0](https://github.com/browserless/chrome/compare/v2.11.0...v2.12.0)
|
|
84
|
+
|
|
61
85
|
**Potentially Breaking**
|
|
86
|
+
|
|
62
87
|
- SDK projects should now use conventional class method properties versus the "fat-arrow" style instance methods.
|
|
63
88
|
|
|
64
89
|
**Updates**
|
|
90
|
+
|
|
65
91
|
- Support for multi-version playwright (puppeteer coming soon). Browserless now checks the version in the User-Agent header and loads the appropriate playwright server for it.
|
|
66
92
|
- Dependency updates.
|
|
67
93
|
|
|
68
94
|
# [v2.11.0](https://github.com/browserless/chrome/compare/v2.10.0...v2.11.0)
|
|
95
|
+
|
|
69
96
|
- Wrap the pressure response in a pressure key.
|
|
70
97
|
- New `keepAlive` property on browser objects for downstream SDK projects to flag.
|
|
71
98
|
- Dependency updates.
|
|
72
99
|
|
|
73
100
|
# [v2.10.0](https://github.com/browserless/chrome/compare/v2.9.0...v2.10.0)
|
|
101
|
+
|
|
74
102
|
- Adds back in the `/pressure` API from V1.
|
|
75
103
|
- Dependency updates.
|
|
76
104
|
|
|
77
105
|
# [v2.9.0](https://github.com/browserless/chrome/compare/v2.8.0...v2.9.0)
|
|
106
|
+
|
|
78
107
|
- Dependency updates.
|
|
79
108
|
- Debugger is now included and mounted under the `/debugger` path.
|
|
80
109
|
- Browserless now uses the `Logger` utility internally. Better logs for certain classes as well.
|
|
@@ -83,29 +112,37 @@
|
|
|
83
112
|
-
|
|
84
113
|
|
|
85
114
|
# [v2.8.0](https://github.com/browserless/chrome/compare/v2.7.1...v2.8.0)
|
|
115
|
+
|
|
86
116
|
**April 12, 2024**
|
|
87
117
|
**Potentially Breaking**
|
|
118
|
+
|
|
88
119
|
- New `Logger` class and SDK primitives in support of that.
|
|
89
120
|
- Routes now get an instance of `Logger`, before the `browser` argument or as the last argument for HTTP routes.
|
|
90
121
|
|
|
91
122
|
**Updates**
|
|
123
|
+
|
|
92
124
|
- Numerous SDK fixes and updates in the CLI.
|
|
93
125
|
- Dependency updates.
|
|
94
126
|
|
|
95
127
|
# [v2.7.1](https://github.com/browserless/chrome/compare/v2.7.0...v2.7.1)
|
|
128
|
+
|
|
96
129
|
**April 11, 2024**
|
|
130
|
+
|
|
97
131
|
- Fixes a boot-looping issue due to bad startup script. Adds tests for this as well.
|
|
98
132
|
- Dependency updates.
|
|
99
133
|
|
|
100
134
|
# [v2.7.0](https://github.com/browserless/chrome/compare/v2.6.1...v2.7.0)
|
|
135
|
+
|
|
101
136
|
- Support for Running GPUs
|
|
102
137
|
- Dependency updates.
|
|
103
138
|
|
|
104
139
|
# [v2.6.1](https://github.com/browserless/chrome/compare/v2.6.0...v2.6.1)
|
|
140
|
+
|
|
105
141
|
- Fixes for function API calls when behind an external URL.
|
|
106
142
|
- Dependency updates.
|
|
107
143
|
|
|
108
144
|
# [v2.6.0](https://github.com/browserless/chrome/compare/v2.5.0...v2.6.0)
|
|
145
|
+
|
|
109
146
|
- Adds a `GET /active` route that responds with no message and a `204` http code.
|
|
110
147
|
- Move to NodeJS 20.12.0.
|
|
111
148
|
- README, CHANGELOG, Migration and spelling fixes.
|
|
@@ -114,6 +151,7 @@
|
|
|
114
151
|
- Dependency updates.
|
|
115
152
|
|
|
116
153
|
# [v2.5.0](https://github.com/browserless/chrome/compare/v2.4.0...v2.5.0)
|
|
154
|
+
|
|
117
155
|
- `Config` now allows for programmatic getting and setting of the external address.
|
|
118
156
|
- Support for a new `Hooks` module for setting up hooks in a more SDK-friendly manner.
|
|
119
157
|
- Adds new exports for building downstream SDK projects more easily, versus using our CLI:
|
|
@@ -126,11 +164,14 @@
|
|
|
126
164
|
- Dependency updates.
|
|
127
165
|
|
|
128
166
|
# [v2.4.0](https://github.com/browserless/chrome/compare/v2.3.0...v2.4.0)
|
|
167
|
+
|
|
129
168
|
**Potentially Breaking**
|
|
169
|
+
|
|
130
170
|
- Drops support for recording and screencasting in favor of library-based approaches.
|
|
131
171
|
- `playwright@1.42.1` and `puppeteer@22.4.0`.
|
|
132
172
|
|
|
133
173
|
**Other Changes**
|
|
174
|
+
|
|
134
175
|
- SDK routes now take precedence over core routes when a path-collision occurs.
|
|
135
176
|
- Support SDK projects with their own `static` directories.
|
|
136
177
|
- Adds support for user-specified `stop` methods in SDK Module extensions.
|
|
@@ -139,7 +180,9 @@
|
|
|
139
180
|
- Dependency updates.
|
|
140
181
|
|
|
141
182
|
# [v2.3.0](https://github.com/browserless/chrome/compare/v2.2.0...v2.3.0)
|
|
183
|
+
|
|
142
184
|
**Potentially Breaking**
|
|
185
|
+
|
|
143
186
|
- Routes must define a unique `name` property in order to remove them in SDK projects.
|
|
144
187
|
- A new `browserless` object in the SDK `package.json` file can specify module overrides, in camelCase, instead of using a path-based semantic.
|
|
145
188
|
- Fixes issues with `npx playwright-core install...` potentially installing other browser versions than what is a dependency of Browserless.
|
|
@@ -147,7 +190,9 @@
|
|
|
147
190
|
- Dependency updates.
|
|
148
191
|
|
|
149
192
|
# [v2.2.0](https://github.com/browserless/chrome/compare/v2.1.0...v2.2.0)
|
|
193
|
+
|
|
150
194
|
**Potentially Breaking**
|
|
195
|
+
|
|
151
196
|
- `ghcr.io/browserless/chrome` now runs actual Chrome and not Chromium! If you were using this tag please update to use `ghcr.io/browserless/chromium`!
|
|
152
197
|
- This Chrome tag uses the new routing convention below. If you get random 404's, please add `/chrome` to the start of the route. EG, `/pdf` becomes `/chrome/pdf`.
|
|
153
198
|
- Websocket connections follow a similar breakage in that the URL will go from something like `ws://localhost:3000` to `ws://localhost:3000/chrome`.
|
|
@@ -158,6 +203,7 @@
|
|
|
158
203
|
- Refer to the embedded documentation site for any and all updates on API differences.
|
|
159
204
|
|
|
160
205
|
**Other Changes**
|
|
206
|
+
|
|
161
207
|
- HTTPRoutes and WebSocket routes can now have multiple paths to listen on.
|
|
162
208
|
- Add `clean` command to `@browserless.io/browserless` CLI.
|
|
163
209
|
- Adds support for `/json/list`, `/json/new`, `/json/version` and `json/protocol` APIs (Chrome and Chromium only).
|
|
@@ -170,6 +216,7 @@
|
|
|
170
216
|
- Dependency updates.
|
|
171
217
|
|
|
172
218
|
# [v2.1.0](https://github.com/browserless/browserless/compare/v2.0.0-beta-1...v2.1.0)
|
|
219
|
+
|
|
173
220
|
- Dependency updates.
|
|
174
221
|
- Name is now `@browserless.io/browserless` to reflect our npm package.
|
|
175
222
|
- NEW: SDK is now live here: https://www.npmjs.com/package/@browserless.io/browserless.
|
|
@@ -183,9 +230,11 @@
|
|
|
183
230
|
- Numerous link and copyright fixes.
|
|
184
231
|
|
|
185
232
|
# [v2.0.0](https://github.com/browserless/chrome/compare/master...feat/browserless-2.0)
|
|
233
|
+
|
|
186
234
|
browserless 2.0.0 represents the best body of work after running browserless for over 5 years. It contains mostly the same functionality and more, and is rebuilt to be more modular and offer a NodeJS SDK. It's also much lighter and faster than prior versions and includes a lot of semantic changes.
|
|
187
235
|
|
|
188
236
|
## Features
|
|
237
|
+
|
|
189
238
|
- ECMAScript style module loading and dependencies.
|
|
190
239
|
- New routing system using purely NodeJS's HTTP module.
|
|
191
240
|
- Better logs and concurrency/queueing parameters.
|
|
@@ -194,15 +243,18 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
194
243
|
- Soon: upcoming support for extensions, long-running sessions and more.
|
|
195
244
|
|
|
196
245
|
## Breaking Changes
|
|
246
|
+
|
|
197
247
|
- Remove support for Selenium.
|
|
198
248
|
- The `/function` API now runs inside the context of the browser and not in Node.
|
|
199
249
|
- Drop support for keep-alive and pre-booting.
|
|
200
250
|
- Support for a single `launch` query-string parameter for launching a browser versus many individual parameters.
|
|
201
251
|
|
|
202
252
|
## Minor Changes
|
|
253
|
+
|
|
203
254
|
- Many docker parameters have been renamed, but are backwards compatible. See config.ts for details.
|
|
204
255
|
|
|
205
256
|
# [v1.61.0](https://github.com/browserless/chrome/compare/v1.60.2...v1.61.0)
|
|
257
|
+
|
|
206
258
|
- **FINAL of V1 for browserless/chrome. [See notes on V2 here](https://github.com/browserless/chrome/pull/3345)**
|
|
207
259
|
- Dependency updates.
|
|
208
260
|
- Added `fonts-urw-base35`.
|
|
@@ -212,11 +264,13 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
212
264
|
- Fix improper handling of HTTP writing on bare sockets with 500 errors.
|
|
213
265
|
|
|
214
266
|
# [v1.60.2](https://github.com/browserless/chrome/compare/v1.60.1...v1.60.2)
|
|
267
|
+
|
|
215
268
|
- Dependency updates.
|
|
216
269
|
- Fixes an issue where calls to GET /sessions sometimes return blank results.
|
|
217
270
|
- Drop puppeteer `21.3.1` in favor of `21.3.6`.
|
|
218
271
|
|
|
219
272
|
# [v1.60.1](https://github.com/browserless/chrome/compare/v1.60.0...v1.60.1)
|
|
273
|
+
|
|
220
274
|
- Dependency updates.
|
|
221
275
|
- Drop the `partner` repo from builds as we no longer use it for installing `flash`.
|
|
222
276
|
- Bump to `Ubuntu` lunar.
|
|
@@ -228,6 +282,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
228
282
|
- Drops `node-fetch` across the board in favor of `fetch` native.
|
|
229
283
|
|
|
230
284
|
# [v1.60.0](https://github.com/browserless/chrome/compare/v1.59.0...v1.60.0)
|
|
285
|
+
|
|
231
286
|
- Dependency updates.
|
|
232
287
|
- New build arguments in our Dockerfile to apply different named base repo.
|
|
233
288
|
- New `CHROME_STABLE_VERSION` build arg for specifying a particular chrome stable version.
|
|
@@ -242,6 +297,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
242
297
|
- Link fixes in README.md.
|
|
243
298
|
|
|
244
299
|
# [v1.59.0](https://github.com/browserless/chrome/compare/v1.58.0...v1.59.0)
|
|
300
|
+
|
|
245
301
|
- Dependency updates.
|
|
246
302
|
- Bump to Ubuntu Kinetic release + updates to use relevant packages.
|
|
247
303
|
- In support of puppeteer 20+, updates to `env.js` for finding/symlinking Chrome.
|
|
@@ -249,6 +305,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
249
305
|
- Ad-blocking and other request-interception in browserless is graceful using the `isInterceptResolutionHandled` method.
|
|
250
306
|
|
|
251
307
|
# [v1.58.0](https://github.com/browserless/chrome/compare/v1.57.0...v1.58.0)
|
|
308
|
+
|
|
252
309
|
- Dependency updates.
|
|
253
310
|
- Documentation link fixes.
|
|
254
311
|
- Add new required lib `libu2f-udev`.
|
|
@@ -262,6 +319,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
262
319
|
- Fixes an issue where user-data-dirs aren't deleted due to a crashed container.
|
|
263
320
|
|
|
264
321
|
# [v1.57.0](https://github.com/browserless/chrome/compare/v1.56.0...v1.57.0)
|
|
322
|
+
|
|
265
323
|
- Dependency updates.
|
|
266
324
|
- Add back in `puppeteer@13.1.3` for PDF/Screenshot performance.
|
|
267
325
|
- Replace `puppeteer@18.0.5` in favor of `puppeteer@19.2.2`.
|
|
@@ -274,6 +332,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
274
332
|
- 1.27.1
|
|
275
333
|
|
|
276
334
|
# [v1.56.0](https://github.com/browserless/chrome/compare/v1.55.0...v1.56.0)
|
|
335
|
+
|
|
277
336
|
- Dependency updates.
|
|
278
337
|
- Fixes various puppeteer issues with regards to revision information and browser-fetching.
|
|
279
338
|
- Fixes a Selenium issue where failed browsers can cause session to zombie.
|
|
@@ -281,10 +340,14 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
281
340
|
- Better selenium W3C support.
|
|
282
341
|
|
|
283
342
|
# [v1.55.0](https://github.com/browserless/chrome/compare/v1.55.0...v1.54.1)
|
|
343
|
+
|
|
284
344
|
**Potentially Breaking**
|
|
345
|
+
|
|
285
346
|
- Update base OS from Ubuntu 20.04 to Ubuntu 22.04.
|
|
286
347
|
- Drops `path` support for both `addScriptTag` and `addStyleTag`. Use `url` or inject content directly.
|
|
348
|
+
|
|
287
349
|
---
|
|
350
|
+
|
|
288
351
|
- Dependency updates.
|
|
289
352
|
- We now support multiple versions of playwright via `playwright-core`. browserless checks the User-Agent string and tries to load a compatible playwright server at runtime in order to avoid breakages between versions.
|
|
290
353
|
- New `scrollPage` boolean parameter for the screenshot and other relevant APIs.
|
|
@@ -295,6 +358,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
295
358
|
- Updated links for browserless documentation in docs.
|
|
296
359
|
|
|
297
360
|
# [v1.54.1](https://github.com/browserless/chrome/compare/v1.54.1...v1.54.0)
|
|
361
|
+
|
|
298
362
|
- Dependency updates.
|
|
299
363
|
- Add `browser.json` file to git tags.
|
|
300
364
|
- Prettier fixes on source.
|
|
@@ -303,6 +367,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
303
367
|
- Fix: allow `disconnect` listeners to fire before closing.
|
|
304
368
|
|
|
305
369
|
# [v1.54.0](https://github.com/browserless/chrome/compare/v1.53.0...v1.54.0)
|
|
370
|
+
|
|
306
371
|
- Dependency updates.
|
|
307
372
|
- Move to using `mocha` for better esm support.
|
|
308
373
|
- Drop puppeteer `13.6.0` in favor of `14.4.1`.
|
|
@@ -310,6 +375,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
310
375
|
- New internal `getCDPClient` for loading a page's CPD connection.
|
|
311
376
|
|
|
312
377
|
# [v1.53.0](https://github.com/browserless/chrome/compare/v1.52.1...v1.53.0)
|
|
378
|
+
|
|
313
379
|
- Dependency updates.
|
|
314
380
|
- Bump `browserless:base` to `1.16.0`.
|
|
315
381
|
- Drop `--quiet` from deploy scripts.
|
|
@@ -318,12 +384,14 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
318
384
|
- README updates.
|
|
319
385
|
|
|
320
386
|
# [v1.52.1](https://github.com/browserless/chrome/compare/v1.52.0...v1.52.1)
|
|
387
|
+
|
|
321
388
|
- Dependency updates.
|
|
322
389
|
- Playwright example correction in README.md.
|
|
323
390
|
- Use revision `970485` for puppeteer 13.x.x, `latest`, chrome-stable and `arm64`.
|
|
324
391
|
- When using `KEEPALIVE` and `PREBOOT`, don't create new blank pages, and use the existing one instead.
|
|
325
392
|
|
|
326
393
|
# [v1.52.0](https://github.com/browserless/chrome/compare/v1.51.1...v1.52.0)
|
|
394
|
+
|
|
327
395
|
- Dependency updates.
|
|
328
396
|
- Added in new fonts: `fonts-gfs-neohellenic`.
|
|
329
397
|
- Minor code formatting changes.
|
|
@@ -340,6 +408,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
340
408
|
- Add in more unit and integration tests.
|
|
341
409
|
|
|
342
410
|
# [v1.52.0](https://github.com/browserless/chrome/compare/v1.51.1...v1.52.0)
|
|
411
|
+
|
|
343
412
|
- Dependency updates.
|
|
344
413
|
- Added in new fonts: `fonts-gfs-neohellenic`.
|
|
345
414
|
- Minor code formatting changes.
|
|
@@ -356,9 +425,12 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
356
425
|
- Add in more unit and integration tests.
|
|
357
426
|
|
|
358
427
|
# [v1.51.1](https://github.com/browserless/chrome/compare/v1.51.0...v1.51.1)
|
|
428
|
+
|
|
359
429
|
- Dependency updates.
|
|
360
430
|
- Updates the `vm2` module to `3.9.7`.
|
|
431
|
+
|
|
361
432
|
# [v1.51.0](https://github.com/browserless/chrome/compare/v1.50.0...v1.51.0)
|
|
433
|
+
|
|
362
434
|
- Dependency updates.
|
|
363
435
|
- New `viewport` option inside of the content API.
|
|
364
436
|
- New `encoding` option in the screenshot API.
|
|
@@ -369,6 +441,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
369
441
|
- Small type updates.
|
|
370
442
|
|
|
371
443
|
# [v1.50.0](https://github.com/browserless/chrome/compare/v1.49.1...v1.50.0)
|
|
444
|
+
|
|
372
445
|
- Dependency updates.
|
|
373
446
|
- Drops support for `puppeteer-4.0.1` in favor of `puppeteer-12.0.1`.
|
|
374
447
|
- Chrome-stable now utilizes puppeteer @ `12.0.1`.
|
|
@@ -383,19 +456,25 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
383
456
|
- New `/metrics/total` route for summing up all statistics in a single JSON payload.
|
|
384
457
|
|
|
385
458
|
# [v1.49.1](https://github.com/browserless/chrome/compare/v1.49.0...v1.49.1)
|
|
459
|
+
|
|
386
460
|
- Dependency updates.
|
|
387
461
|
- Fix webhook not using timeout URL.
|
|
388
462
|
|
|
389
463
|
# [v1.49.0](https://github.com/browserless/chrome/compare/v1.48.0...v1.49.0)
|
|
464
|
+
|
|
390
465
|
- Dependency updates.
|
|
391
466
|
- Support for ARM64 builds by dropping flash for it.
|
|
392
467
|
- Bump puppeteer 10.2.0 for 10.4.0.
|
|
393
468
|
- New puppeteer-hook for injecting a puppeteer-compatible library, eg. puppeteer-extra.
|
|
394
469
|
|
|
395
470
|
# [v1.48.0](https://github.com/browserless/chrome/compare/v1.47.0...v1.48.0)
|
|
471
|
+
|
|
396
472
|
**Potentially Breaking**
|
|
473
|
+
|
|
397
474
|
- API calls with `html` in their payloads now use the `page.setContent` API versus a prior hack using one-time network-request interception ([example here](https://github.com/browserless/chrome/compare/v1.47.0...master#diff-67b699af1b24472604e21081d0509620d4ab3d986fcd4f8aa0b04d5ee5e4c63fL88)). Old versions of puppeteer might not work properly with this (<= 5.x.x). This effects the following APIS: `/content`, `/pdf` and `/screenshot`.
|
|
475
|
+
|
|
398
476
|
---
|
|
477
|
+
|
|
399
478
|
- Dependency updates.
|
|
400
479
|
- Bump `browserless/base` to `1.12.0` (add user-id to `blessuser` of `BLESS_USER_ID=999`).
|
|
401
480
|
- Bumps puppeteer @10.x.x to `10.2.0` with revision `901912`.
|
|
@@ -403,6 +482,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
403
482
|
- Fix some typings in tests.
|
|
404
483
|
|
|
405
484
|
# [v1.47.0](https://github.com/browserless/chrome/compare/v1.46.0...v1.47.0)
|
|
485
|
+
|
|
406
486
|
- Dependency updates.
|
|
407
487
|
- Bump `browserless/base` to `1.11.0`.
|
|
408
488
|
- Add new lint task and rename GitHub actions tasks, remove `tslint`.
|
|
@@ -414,6 +494,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
414
494
|
-
|
|
415
495
|
|
|
416
496
|
# [v1.46.0](https://github.com/browserless/chrome/compare/v1.45.0...v1.46.0)
|
|
497
|
+
|
|
417
498
|
- Dependency updates.
|
|
418
499
|
- Move to Node 16.x.x.
|
|
419
500
|
- Bump browserless/base to 1.10.0.
|
|
@@ -428,14 +509,19 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
428
509
|
- Improvements on how chrome is closed.
|
|
429
510
|
|
|
430
511
|
# [1.45.0](https://github.com/browserless/chrome/compare/v1.44.0...v1.45.0)
|
|
512
|
+
|
|
431
513
|
- Dependency Updates.
|
|
432
514
|
- Support for [playwright proxies](https://github.com/browserless/chrome/commit/0903795e936b93a511ec04f7ae35c03397682905).
|
|
433
515
|
- Fixes an issue with larger headers potentially causing load-balancers to crash and fail.
|
|
434
516
|
|
|
435
517
|
# [v1.44.0](https://github.com/browserless/chrome/compare/v1.43.0...v1.44.0)
|
|
518
|
+
|
|
436
519
|
**Potentially Breaking**
|
|
520
|
+
|
|
437
521
|
- `PROXY_HOST` and `PROXY_PORT` are now replaced with a single `PROXY_URL` param, eg: `https://www.mybrowserless.com/optional/paths`. When set, browserless uses this fully-qualified URL to build out links _back_ to its internal debugger and sessions. Useful when you're instance is behind a proxy or load-balancer of some kind.
|
|
522
|
+
|
|
438
523
|
---
|
|
524
|
+
|
|
439
525
|
- Dependency Updates.
|
|
440
526
|
- Use recent Node 14 (browserless-base 1.7.0).
|
|
441
527
|
- New `rejectResourceTypes` property on most APIs (content, screenshot, pdf, etc.).
|
|
@@ -447,12 +533,14 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
447
533
|
- More types, tests, and utility consolidation.
|
|
448
534
|
|
|
449
535
|
# [v1.43.0](https://github.com/browserless/chrome/compare/v1.42.0...v1.43.0)
|
|
536
|
+
|
|
450
537
|
- Dependency Updates.
|
|
451
538
|
- Fixes an issue where --user-data-dirs aren't deleted properly, potentially filling disks.
|
|
452
539
|
- Changes CPU/Memory checks to be user-based and not the entire OS.
|
|
453
540
|
- Adds tests for the user-data-dir issue.
|
|
454
541
|
|
|
455
542
|
# [v1.42.0](https://github.com/browserless/chrome/compare/v1.41.0...v1.42.0)
|
|
543
|
+
|
|
456
544
|
- Dependency Updates.
|
|
457
545
|
- Move to Node 14!
|
|
458
546
|
- Use `esModuleInterop` for imports.
|
|
@@ -463,30 +551,36 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
463
551
|
- Ensure temp user-data-dirs are always cleaned up.
|
|
464
552
|
|
|
465
553
|
# [v1.41.0](https://github.com/browserless/chrome/compare/v1.40.2...v1.41.0)
|
|
554
|
+
|
|
466
555
|
- Dependency Updates.
|
|
467
556
|
- New `SESSION_CHECK_FAIL_URL` webhook for when pre-session checks fail.
|
|
468
557
|
- Health checks now take the last two CPU/Memory samples to determine if a failure (5 minutes).
|
|
469
558
|
|
|
470
559
|
# [v1.40.2](https://github.com/browserless/chrome/compare/v1.40.1...v1.40.2)
|
|
560
|
+
|
|
471
561
|
- Dependency Updates.
|
|
472
562
|
- Fix potentially unhandled stream error events when closing chrome.
|
|
473
563
|
- Bump puppeteer to 5.4.1 for major 5.
|
|
474
564
|
|
|
475
565
|
# [v1.40.1](https://github.com/browserless/chrome/compare/v1.40.0...v1.40.1)
|
|
566
|
+
|
|
476
567
|
- Dependency Updates
|
|
477
568
|
- New `SOCKET_CLOSE_METHOD` for better load-balancing behavior when under load.
|
|
478
569
|
|
|
479
570
|
# [v1.40.0](https://github.com/browserless/chrome/compare/v1.39.0...v1.40.0)
|
|
571
|
+
|
|
480
572
|
- Dependency Updates
|
|
481
573
|
- Support for playwright 1.4.0 and greater. [See more here](https://github.com/microsoft/playwright/issues/4054).
|
|
482
574
|
- New `PRE_REQUEST_HEALTH_CHECK` env variable to check CPU/Memory prior to running a session. Set `MAX_CPU_PERCENT` or `MAX_MEMORY_PERCENT` for setting these thresholds. Responds with a `503` HTTP code if CPU/Memory are high on any inbound session (API, puppeteer or webdriver).
|
|
483
575
|
|
|
484
576
|
# [v1.39.0](https://github.com/browserless/chrome/compare/v1.38.0...v1.39.0)
|
|
577
|
+
|
|
485
578
|
- Dependency Updates
|
|
486
579
|
- Fixes a crash due to `browser.close` streams not completing properly.
|
|
487
580
|
- Adds a `dumpio` query-string parameter for launching with puppeteer.
|
|
488
581
|
|
|
489
582
|
# [v1.38.0](https://github.com/browserless/chrome/compare/v1.37.2...v1.38.0)
|
|
583
|
+
|
|
490
584
|
- Dependency Updates
|
|
491
585
|
- Fixes a memory leak when browsers don't close properly.
|
|
492
586
|
- Adds a `/heapdump` route for capturing heap dumps. Turn on by setting `ENABLE_HEAP_DUMP=true` in your docker env.
|
|
@@ -495,24 +589,31 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
495
589
|
- README fixes.
|
|
496
590
|
|
|
497
591
|
# [v1.37.2](https://github.com/browserless/chrome/compare/v1.37.1...v1.37.2)
|
|
592
|
+
|
|
498
593
|
- Dependency Updates
|
|
499
594
|
- Fixes an issue where the webserver can crash after rejecting a request.
|
|
500
595
|
- Fixes deployment script not waiting for zip files to be finished unzipped.
|
|
501
596
|
|
|
502
597
|
# [1.37.1](https://github.com/browserless/chrome/compare/v1.37.0...v1.37.1)
|
|
598
|
+
|
|
503
599
|
- Dependency Updates
|
|
504
600
|
- Fixes an issue in webdriver not starting properly.
|
|
505
601
|
|
|
506
602
|
# [1.37.0](https://github.com/browserless/chrome/compare/v1.36.0...v1.37.0)
|
|
603
|
+
|
|
507
604
|
**Potentially Breaking**
|
|
605
|
+
|
|
508
606
|
- Due to stability issues, puppeteer version 3.x.x and 4.x.x now use chromium revision `782078`. See our `package.json` for details.
|
|
607
|
+
|
|
509
608
|
---
|
|
609
|
+
|
|
510
610
|
- Dependency Updates
|
|
511
611
|
- README Updates
|
|
512
612
|
- Fixes an issue for secured containers using prometheus (plus tests).
|
|
513
613
|
- Support for puppeteer `5.2.1`
|
|
514
614
|
|
|
515
615
|
# [1.36.0](https://github.com/browserless/chrome/compare/v1.35.0...v1.36.0)
|
|
616
|
+
|
|
516
617
|
- Dependency Updates
|
|
517
618
|
- Drops support for puppeteer `2.0.0` and `3.0.4`, please use `2.1.1` and `3.3.0` for those revisions.
|
|
518
619
|
- Adds support for puppeteer `5.0.0`.
|
|
@@ -520,16 +621,21 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
520
621
|
- Adds back in `--disable-dev-shm-usage` to default arguments for better SHM performance.
|
|
521
622
|
|
|
522
623
|
# [1.35.0](https://github.com/browserless/chrome/compare/v1.34.0...v1.35.0)
|
|
624
|
+
|
|
523
625
|
- Dependency Updates
|
|
524
626
|
- New `maxTime`, `minTime`, `meanTime` and `totalTime` of all sessions for a given period in /stats.
|
|
525
627
|
- Bugfix on CPU/Memory triggering health failure webhooks.
|
|
526
628
|
- Fix issues in websocket errors by awaiting browser.close (or 5 seconds, whichever is quickest).
|
|
527
629
|
|
|
528
630
|
# [v1.34.0](https://github.com/browserless/chrome/compare/v1.33.1...v1.34.0)
|
|
631
|
+
|
|
529
632
|
**Potentially Breaking**
|
|
633
|
+
|
|
530
634
|
- screencast API no longer supports `audio` or the `setPreferences` function in order to offer a better video experience. In order to set the width/height, simply set a page width height to what you'd like.
|
|
531
635
|
- `chrome-stable` will now use `puppeteer@3.1.0` for better compatibility.
|
|
636
|
+
|
|
532
637
|
---
|
|
638
|
+
|
|
533
639
|
- Dependency updates.
|
|
534
640
|
- Drops puppeteer version `1.20.0` and below.
|
|
535
641
|
- Move `browserless/base` to `v1.5.0`.
|
|
@@ -538,10 +644,12 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
538
644
|
- `about:blank` pages now are returned in the `/sessions` API for transparency of open sessions/browsers.
|
|
539
645
|
|
|
540
646
|
# [1.33.1](https://github.com/browserless/chrome/compare/v1.33.0...v1.33.1)
|
|
647
|
+
|
|
541
648
|
- Dependency updates.
|
|
542
649
|
- Fix socket errors from accidentally firing error webhooks.
|
|
543
650
|
|
|
544
651
|
# [1.33.0](https://github.com/browserless/chrome/compare/v1.32.0...v1.33.0)
|
|
652
|
+
|
|
545
653
|
- Drops support for puppeteer 1.17.x and 1.18.x
|
|
546
654
|
- Support for puppeteer 3.0.x
|
|
547
655
|
- Dependency updates
|
|
@@ -549,32 +657,38 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
549
657
|
- Consolidates more types.
|
|
550
658
|
|
|
551
659
|
# [1.32.0](https://github.com/browserless/chrome/compare/v1.31.1...v1.32.0)
|
|
660
|
+
|
|
552
661
|
- Dependency Updates.
|
|
553
662
|
- Adds roboto fonts.
|
|
554
663
|
- Updates `pressure` API to take account of running browsers in the `running` count.
|
|
555
664
|
- Adds `maxConcurrent`, `maxQueued`, `cpu` and `memory` to pressure.
|
|
556
665
|
|
|
557
666
|
# [1.31.1](https://github.com/browserless/chrome/compare/v1.31.0...v1.31.1)
|
|
667
|
+
|
|
558
668
|
- Dependency Updates.
|
|
559
669
|
- Fixes a small issue where XVFB doesn't start properly during an automated restart.
|
|
560
670
|
|
|
561
671
|
# [1.31.0](https://github.com/browserless/chrome/compare/v1.30.0...v1.31.0)
|
|
672
|
+
|
|
562
673
|
- Dependency Updates.
|
|
563
674
|
- Allows `trackingId` on uploaded files to save in the appropriate tracking-ID folder.
|
|
564
675
|
- New `userAgent` param for setting user-agent in API requests.
|
|
565
676
|
- Fixes an issue where chrome wasn't being closed in rare cases.
|
|
566
677
|
|
|
567
678
|
# [1.30.0](https://github.com/browserless/chrome/compare/v1.29.1...v1.30.0)
|
|
679
|
+
|
|
568
680
|
- Dependency Updates.
|
|
569
681
|
- Updates to Node 13 for speed and memory improvements.
|
|
570
682
|
- browserless/base@1.4.0
|
|
571
683
|
|
|
572
684
|
# [1.29.1](https://github.com/browserless/chrome/compare/v1.29.0...v1.29.1)
|
|
685
|
+
|
|
573
686
|
- Dependency Updates.
|
|
574
687
|
- Fixes how deploy script determines errors when running child commands.
|
|
575
688
|
- Fixes issues when many selenium sessions can potentially fill up disk space.
|
|
576
689
|
|
|
577
690
|
# [1.29.0](https://github.com/browserless/chrome/compare/v1.28.0...v1.29.0)
|
|
691
|
+
|
|
578
692
|
- Dependency updates.
|
|
579
693
|
- Uses `pipe`'s for most API calls and other internal endpoints for faster/better throughput. Works only for `headless` API/puppeteer calls.
|
|
580
694
|
- Allows custom lighthouse configs via POST `config` property.
|
|
@@ -583,6 +697,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
583
697
|
- Properly passes socket errors to the error handler/webhook
|
|
584
698
|
|
|
585
699
|
# [1.28.0](https://github.com/browserless/chrome/compare/v1.27.0...v1.28.0)
|
|
700
|
+
|
|
586
701
|
- Dependency updates.
|
|
587
702
|
- Sets a system-default font of Ubuntu for most sites that use `system-ui` in their font declarations.
|
|
588
703
|
- Fixes health-check failure webhooks.
|
|
@@ -590,17 +705,20 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
590
705
|
- Moves over to GH actions over Travis for CI.
|
|
591
706
|
|
|
592
707
|
# [1.27.0](https://github.com/browserless/chrome/compare/v1.26.1...v1.27.0)
|
|
708
|
+
|
|
593
709
|
- Dependency updates.
|
|
594
710
|
- New `manipulate` params for screenshots, allowing for resizing, flipping and more.
|
|
595
711
|
- Better tracking of chrome-process for cleanup of zombied sessions.
|
|
596
712
|
|
|
597
713
|
# [1.26.1](https://github.com/browserless/chrome/compare/v1.26.0...v1.26.1)
|
|
714
|
+
|
|
598
715
|
- Dependency updates.
|
|
599
716
|
- Added `git` as a dependency in dockerfile for git-based npm dependencies to work.
|
|
600
717
|
- Fixed an issue in `start.sh` so that errors bubble up properly and close the process.
|
|
601
718
|
- Bumps `browserless/base` to `1.2.0`.
|
|
602
719
|
|
|
603
720
|
# [1.26.0](https://github.com/browserless/chrome/compare/v1.25.0...v1.26.0)
|
|
721
|
+
|
|
604
722
|
- Dependency updates.
|
|
605
723
|
- Dropping pre-push hooks for speed.
|
|
606
724
|
- Consolidate all interfaces/types to a types.d.ts file.
|
|
@@ -610,6 +728,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
610
728
|
-
|
|
611
729
|
|
|
612
730
|
# [1.25.0](https://github.com/browserless/chrome/compare/v1.24.0...v1.25.0)
|
|
731
|
+
|
|
613
732
|
- Dependency updates.
|
|
614
733
|
- Stricter build-time arguments for chromium and chromedriver assets.
|
|
615
734
|
- Better XVFB functionality.
|
|
@@ -618,6 +737,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
618
737
|
- Proper support for parsing `ignoreDefaultArgs` query-parameters.
|
|
619
738
|
|
|
620
739
|
# [1.24.0](https://github.com/browserless/chrome/compare/v1.23.1...v1.24.0)
|
|
740
|
+
|
|
621
741
|
- Dependency updates.
|
|
622
742
|
- Bugfix on our debugger's play button being off-center.
|
|
623
743
|
- Fixes driver.close() calls not cleaning the browser.
|
|
@@ -626,11 +746,13 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
626
746
|
- More integration and unit tests added.
|
|
627
747
|
|
|
628
748
|
# [1.23.1](https://github.com/browserless/chrome/compare/v1.23.0...v1.23.1)
|
|
749
|
+
|
|
629
750
|
- Fixes an issue in chromedriver where commands would hang.
|
|
630
751
|
- Fixes an issue in chromedriver sessions not being removed properly.
|
|
631
752
|
- Fixes and pins the base image so that headful sessions work again.
|
|
632
753
|
|
|
633
754
|
# [1.23.0](https://github.com/browserless/chrome/compare/v1.22.0...v1.23.0)
|
|
755
|
+
|
|
634
756
|
- Dependency updates.
|
|
635
757
|
- Use `apt-get` to install `dumb-init`.
|
|
636
758
|
- Add a LANG arg in docker.
|
|
@@ -640,6 +762,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
640
762
|
- Updates protocol and host information in ad-blocking.
|
|
641
763
|
|
|
642
764
|
# [1.22.0](https://github.com/browserless/chrome/compare/v1.21.0...v1.22.0)
|
|
765
|
+
|
|
643
766
|
- Dependency updates.
|
|
644
767
|
- Removal of unnecessary '--disable-dev-shm-usage'
|
|
645
768
|
- Squelching of chromedriver's verbose args unless `DEBUG=*` is set.
|
|
@@ -647,6 +770,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
647
770
|
- Allowing of sub-child routes in workspaces.
|
|
648
771
|
|
|
649
772
|
# [1.21.0](https://github.com/browserless/chrome/compare/v1.20.0...v1.21.0)
|
|
773
|
+
|
|
650
774
|
- Dependency updates.
|
|
651
775
|
- New `viewport` property option for PDF endpoint.
|
|
652
776
|
- The `/stats` endpoint now runs in a separate process meaning it can be parallelized.
|
|
@@ -654,10 +778,12 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
654
778
|
- Fixes an issue with the file-chooser API not working in puppeteer.
|
|
655
779
|
|
|
656
780
|
# [1.20.0](https://github.com/browserless/chrome/compare/v1.19.0...v1.20.0)
|
|
781
|
+
|
|
657
782
|
- Dependency updates.
|
|
658
783
|
- New `/scrape` API!
|
|
659
784
|
|
|
660
785
|
# [1.19.0](https://github.com/browserless/chrome/compare/v1.18.0...v1.19.0)
|
|
786
|
+
|
|
661
787
|
- Dependency updates.
|
|
662
788
|
- Fixes chrome-stable's binary chromedriver.
|
|
663
789
|
- Move over to Node 12.
|
|
@@ -672,6 +798,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
672
798
|
-
|
|
673
799
|
|
|
674
800
|
# [1.18.0](https://github.com/browserless/chrome/compare/v1.17.0...v1.18.0)
|
|
801
|
+
|
|
675
802
|
- Dependency updates
|
|
676
803
|
- Better `IS_DOCKER` check for kubernetes.
|
|
677
804
|
- Updates to README.md, spelling fixes and Slack link.
|
|
@@ -686,6 +813,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
686
813
|
- Fixing issues with keeping chrome alive (only closing once TTL is met).
|
|
687
814
|
|
|
688
815
|
# [1.17.0](https://github.com/browserless/chrome/compare/v1.16.0...v1.17.0)
|
|
816
|
+
|
|
689
817
|
- Dependency updates
|
|
690
818
|
- Splitting docker images into two repositories for faster builds and pulls
|
|
691
819
|
- Adding in external routing capabilities
|
|
@@ -695,6 +823,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
695
823
|
- Better chromedriver failure messages.
|
|
696
824
|
|
|
697
825
|
# [1.16.0](https://github.com/browserless/chrome/compare/v1.15.0...v1.16.0)
|
|
826
|
+
|
|
698
827
|
- Adding `ffmpeg` to the docker dependency list.
|
|
699
828
|
- Add `timecut` as a dependency for recording.
|
|
700
829
|
- Better logs on chrome PID's and closing forcefully.
|
|
@@ -704,15 +833,18 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
704
833
|
- `/json/version` now returns a `webSocketDebuggerUrl`.
|
|
705
834
|
|
|
706
835
|
# [1.15.0](https://github.com/browserless/chrome/compare/v1.14.1...v1.15.0)
|
|
836
|
+
|
|
707
837
|
- New `page` and `browser` hooks for docker images that `FROM` browserless.
|
|
708
838
|
- `bluebird` added as a module for `function` and other endpoints.
|
|
709
839
|
- More dependency updates.
|
|
710
840
|
|
|
711
841
|
# [1.14.1](https://github.com/browserless/chrome/compare/v1.14.0...v1.14.1)
|
|
842
|
+
|
|
712
843
|
- Bugfix when running multiple "headfull" sessions.
|
|
713
844
|
- Dependency updates.
|
|
714
845
|
|
|
715
846
|
# [1.14.0](https://github.com/browserless/chrome/compare/v1.13.0...v1.14.0)
|
|
847
|
+
|
|
716
848
|
- New `WORKSPACE_DELETE_EXPIRED` and `WORKSPACE_EXPIRE_DAYS` to auto-cleanup workspace dirs.
|
|
717
849
|
- README.md cleanup now that HTTPS is no longer required.
|
|
718
850
|
- Support for `~` in docker env parameters.
|
|
@@ -724,17 +856,20 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
724
856
|
- Better internal types.
|
|
725
857
|
|
|
726
858
|
# [1.13.0](https://github.com/browserless/chrome/compare/v1.12.0...v1.13.0)
|
|
859
|
+
|
|
727
860
|
- A minor refactor to consolidate calls to `url.parse` for performance gains.
|
|
728
861
|
- Introduces a per-session based timeout that overrides the global timeout.
|
|
729
862
|
- Consolidates authorization checks to remove duplication.
|
|
730
863
|
- Moves more types into their backing modules in order to better consolidate files.
|
|
731
864
|
|
|
732
865
|
# [1.12.0](https://github.com/browserless/chrome/compare/v1.11.0...v1.12.0)
|
|
866
|
+
|
|
733
867
|
- Set's a non-conflicting `WORKSPACE_DIR` and `DEFAULT_USER_DATA_DIR` in docker by default.
|
|
734
868
|
- Drops support for puppeteer `1.15.0` and adds `1.19.0`.
|
|
735
869
|
- Web-based debugger now sends cookies for docker deployments that are secure.
|
|
736
870
|
|
|
737
871
|
# [1.11.0](https://github.com/browserless/chrome/compare/v1.10.0...v1.11.0)
|
|
872
|
+
|
|
738
873
|
- Live debugger is now self-hosted, no more enforced https though it's still recommended.
|
|
739
874
|
- Consolidated build steps.
|
|
740
875
|
- Using the same chromedriver binary that matches the puppeteer's bundled chromium.
|
|
@@ -745,6 +880,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
745
880
|
- Dependency updates.
|
|
746
881
|
|
|
747
882
|
# [1.10.0](https://github.com/browserless/chrome/compare/v1.9.0...v1.10.0)
|
|
883
|
+
|
|
748
884
|
- Dropped support for puppeteer `1.9.0 => 1.14.0`.
|
|
749
885
|
- Added support for puppeteer `1.16.0 => 1.18.0`.
|
|
750
886
|
- A version of chromedriver is now installed to perfectly match the version of puppeteer's chromium.
|
|
@@ -758,12 +894,14 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
758
894
|
- Workspace support for selenium-based integrations.
|
|
759
895
|
|
|
760
896
|
# [1.9.0](https://github.com/browserless/chrome/compare/v1.8.0...v1.9.0)
|
|
897
|
+
|
|
761
898
|
- Better handling of browser/socket closing in puppeteer integrations.
|
|
762
899
|
- Numerous screencast fixes.
|
|
763
900
|
- Moved all GH links to new repo location.
|
|
764
901
|
- Dep updates.
|
|
765
902
|
|
|
766
903
|
# [1.8.0](https://github.com/browserless/chrome/compare/v1.7.0...v1.8.0)
|
|
904
|
+
|
|
767
905
|
- Better windows dev experience.
|
|
768
906
|
- Indian font support.
|
|
769
907
|
- Video capture now supports audio and browser width/height.
|
|
@@ -771,10 +909,12 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
771
909
|
- DEFAULT env variables for launching pre-booted Chrome.
|
|
772
910
|
|
|
773
911
|
# 1.7.0
|
|
912
|
+
|
|
774
913
|
- Dep updates
|
|
775
914
|
- New `?blockAds` query-parameter for disabling 3rd-party ad calls.
|
|
776
915
|
|
|
777
916
|
# 1.6.0
|
|
917
|
+
|
|
778
918
|
- New `authenticate` and `setExtraHTTPHeaders` params for the `content`, `pdf`, and `screenshot` APIs. Useful for using proxies in our REST APIs.
|
|
779
919
|
- Fixed a bunch of bugs inside of the webdriver integration, making it more REST-ful.
|
|
780
920
|
- Updated dependencies inside of Chromedriver.
|
|
@@ -782,6 +922,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
782
922
|
- Bumped Puppeteer to 1.15.0.
|
|
783
923
|
|
|
784
924
|
# 1.5.0
|
|
925
|
+
|
|
785
926
|
- New `/session` API (and accompanying routes) for display/viewing active sesions in a remote debugger(!).
|
|
786
927
|
- New `?pause` query-param for pausing sessions prior to running them (useful for the live debug viewer).
|
|
787
928
|
- The browserless debugger now exposes links to these debug pages via the sidebar.
|
|
@@ -790,11 +931,13 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
790
931
|
- No more `no-implicit-any`'s inside the codebase.
|
|
791
932
|
|
|
792
933
|
# 1.4.0
|
|
934
|
+
|
|
793
935
|
- During connection, we now set the download dir of REST and puppeteer sessions. Cloud users and docker users no longer have to manually set this field, and the `/workspace` API references it as well!
|
|
794
936
|
|
|
795
937
|
# 1.3.1
|
|
796
938
|
|
|
797
939
|
# Fixes
|
|
940
|
+
|
|
798
941
|
- New deploy.js file to do deployments "on-prem"
|
|
799
942
|
- Updated new builds for puppeteer 1.12.2 and 1.13.0
|
|
800
943
|
- Fixes an issues in CORS handling
|
|
@@ -802,6 +945,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
802
945
|
# 1.3.0
|
|
803
946
|
|
|
804
947
|
# Minor changes
|
|
948
|
+
|
|
805
949
|
- The `screenshot`, `function`, `pdf`, and `content` API's now accept new content-types for easier POSTing of small payloads (see docsite).
|
|
806
950
|
- The `screencast` API can now start/stop recording programmatically via a `startScreencast` and `stopScreencast` params (see docsite).
|
|
807
951
|
- New `external` dir for injecting custom `before` and `after` hooks in external docker builds.
|
|
@@ -809,6 +953,7 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
809
953
|
- New `requestInterceptors` for injection custom request behavior.
|
|
810
954
|
|
|
811
955
|
# Fixes
|
|
956
|
+
|
|
812
957
|
- Numerous default fixes in the APIs.
|
|
813
958
|
- Stray consoles removed :)
|
|
814
959
|
- Consolidated download behavior in `screencast` and `download` APIs
|
|
@@ -816,11 +961,13 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
816
961
|
# 1.2.0
|
|
817
962
|
|
|
818
963
|
# Minor Changes
|
|
964
|
+
|
|
819
965
|
- New `requestInterceptors` for the /screenshot API, [allowing you to mock data in response to a request](https://github.com/browserless/chrome/pull/119).
|
|
820
966
|
- Code debugger now transmits code over-the-wire via cookies to avoid URL max-length issues.
|
|
821
967
|
- Now supports cookie-based authentication via a `browserless_token=TOKEN;` cookie.
|
|
822
968
|
|
|
823
969
|
# Fixes
|
|
970
|
+
|
|
824
971
|
- [Comments in the debugger won't break it.](https://github.com/browserless/chrome/issues/118)
|
|
825
972
|
- Requests that are rejected due to auth reasons aren't logged in stats.
|
|
826
973
|
|
|
@@ -829,11 +976,13 @@ browserless 2.0.0 represents the best body of work after running browserless for
|
|
|
829
976
|
With 1.1.0 we offer a refined way of dealing with both downloads and uploads. Both use-cases are tightly coupled to the file-system, and can leave you scratching your head as to what's going one. For more information and detailed documentation, please refer to our doc-site at https://www.browserless.io/
|
|
830
977
|
|
|
831
978
|
## Minor Changes
|
|
979
|
+
|
|
832
980
|
- New `WORKSPACE_DIR` variable for controlling where browserless stores files and uploads.
|
|
833
981
|
- New `/workspace` API for doing RESTful operations on the downloads/uploads file-system.
|
|
834
982
|
- New `/download` API for running a puppeteer-script, and responding with the resulting downloaded file.
|
|
835
983
|
|
|
836
984
|
## Internal Changes
|
|
985
|
+
|
|
837
986
|
- Moved routes out of the browserless module and into their own file/module.
|
|
838
987
|
- Renamed the `browserless-web-service` module to just `browserless` for simplicity.
|
|
839
988
|
- Moved the `DOWNLOAD_DIR` to `WORKSPACE_DIR` since it handles both uploads and downloads.
|