From bb84bbd0e87c78703a88e125294bdca9cc2ca28b Mon Sep 17 00:00:00 2001 From: Apify Release Bot Date: Mon, 14 Jul 2025 14:06:57 +0000 Subject: [PATCH 1/8] chore(release): update internal dependencies [skip ci] --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 15a8325bc0..f78ef46c71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.4.3](https://github.com/apify/apify-sdk-js/compare/apify@3.4.2...apify@3.4.3) (2025-07-14) + +### Bug Fixes + +- Return eventChargeLimitReached=false for charge calls with count=0 ([#395](https://github.com/apify/apify-sdk-js/issues/395)) ([4f97da0](https://github.com/apify/apify-sdk-js/commit/4f97da0cf4bbda33dcaa3d91f0f543f080dbab8b)), closes [#372](https://github.com/apify/apify-sdk-js/issues/372) + ## [3.4.2](https://github.com/apify/apify-sdk-js/compare/apify@3.4.1...apify@3.4.2) (2025-05-19) ### Bug Fixes From e3233689324b4d2bc3d5dea3afb8f8487d8a59ac Mon Sep 17 00:00:00 2001 From: Apify Bot Date: Wed, 16 Jul 2025 09:09:03 +0000 Subject: [PATCH 2/8] chore: Automatic theme updating workflow [skip ci] --- website/package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/package-lock.json b/website/package-lock.json index 365c7332c4..7ebde88145 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -513,9 +513,9 @@ } }, "node_modules/@apify/docs-theme": { - "version": "1.0.184", - "resolved": "https://registry.npmjs.org/@apify/docs-theme/-/docs-theme-1.0.184.tgz", - "integrity": "sha512-BRwY8p+doPGjKsH8mV4qi4q7LmUFM2kh5VPUH2Ba+HmRp3VE1EVFB5pc7KVkUHM7WkQZw3RTzwzJ8xK713fsWQ==", + "version": "1.0.185", + "resolved": "https://registry.npmjs.org/@apify/docs-theme/-/docs-theme-1.0.185.tgz", + "integrity": "sha512-4RL2YcztjsTPEHB2JQZEwH9CE5JkYNh94XtYMsKxf5NwtEtiixB6c6pODzvLruPCvLmWL6uJbHqE5koQjrzg6g==", "license": "ISC", "dependencies": { "@apify/docs-search-modal": "^1.2.2", From 59d9c256872485524bba62631443d77e8f0680e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jind=C5=99ich=20B=C3=A4r?= Date: Thu, 24 Jul 2025 13:03:23 +0200 Subject: [PATCH 3/8] docs: remove versions page (#416) Removes an unused and aged `/versions` page from the documentation. --- website/src/pages/versions.js | 152 ---------------------------------- 1 file changed, 152 deletions(-) delete mode 100644 website/src/pages/versions.js diff --git a/website/src/pages/versions.js b/website/src/pages/versions.js deleted file mode 100644 index ab88dfe3a6..0000000000 --- a/website/src/pages/versions.js +++ /dev/null @@ -1,152 +0,0 @@ -/** - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -import Layout from '@theme/Layout'; -import clsx from 'clsx'; -import styles from './index.module.css'; - -const React = require('react'); - -const CompLibrary = { - Container: (props) =>
, - GridBlock: (props) =>
, - MarkdownBlock: (props) =>
, -}; - -const { Container } = CompLibrary; - -const versions = require(`../../versions.json`); - -function Versions(props) { - const { config: siteConfig } = props; - const latestVersion = versions[0]; - const repoUrl = `https://github.com/${siteConfig.organizationName}/${siteConfig.projectName}`; - return ( -
- -
-
-

{siteConfig.title} Versions

-
-

- New versions of Apify SDK are released once a month or - so. With major releases once a year. -

-

Current version (Stable)

- - - - - - - - -
{latestVersion} - {/* You are supposed to change this href where appropriate - Example: href="/docs(/:language)/:id" */} - - Documentation - - - - Release Notes - -
-

- This is the version that is configured automatically - when you first install Apify SDK. -

-

Pre-release versions

- - - - - - - - -
master - {/* You are supposed to change this href where appropriate - Example: href="/docs(/:language)/next/:id" */} - - Documentation - - - Source Code -
-

Past Versions

-

- Here you can find previous versions of the - documentation. -

- - - {versions.map( - (version) => - version !== latestVersion && ( - - - - - - ), - )} - -
{version} - {/* You are supposed to change this href where appropriate - Example: href="/docs(/:language)/:version/:id" */} - - Documentation - - - - Release Notes - -
-

- You can find past versions of this project on{' '} - GitHub. -

-
-
-
- ); -} - -export default (props) => ( - - - -); From f84fd74508efd2dc71fe7536ce46abf1ebd25c4c Mon Sep 17 00:00:00 2001 From: Apify Bot Date: Thu, 24 Jul 2025 11:10:54 +0000 Subject: [PATCH 4/8] chore: Automatic theme updating workflow [skip ci] --- website/package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/package-lock.json b/website/package-lock.json index 7ebde88145..305f0daa8b 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -513,9 +513,9 @@ } }, "node_modules/@apify/docs-theme": { - "version": "1.0.185", - "resolved": "https://registry.npmjs.org/@apify/docs-theme/-/docs-theme-1.0.185.tgz", - "integrity": "sha512-4RL2YcztjsTPEHB2JQZEwH9CE5JkYNh94XtYMsKxf5NwtEtiixB6c6pODzvLruPCvLmWL6uJbHqE5koQjrzg6g==", + "version": "1.0.186", + "resolved": "https://registry.npmjs.org/@apify/docs-theme/-/docs-theme-1.0.186.tgz", + "integrity": "sha512-ExSZ5W+ccB3zzoSC/TBRQIq2VGyrLckHJwvckBMSbAJUpC9sl9/iJ8G6MA47LV7v9HEuBTtF+ZsJ8Z3rIMLUnQ==", "license": "ISC", "dependencies": { "@apify/docs-search-modal": "^1.2.2", From 4c3a1cbf83e12026e46533990c7d024a902084a7 Mon Sep 17 00:00:00 2001 From: Apify Bot Date: Thu, 24 Jul 2025 11:39:56 +0000 Subject: [PATCH 5/8] chore: Automatic theme updating workflow [skip ci] --- website/package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/package-lock.json b/website/package-lock.json index 305f0daa8b..3c906c5d58 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -513,9 +513,9 @@ } }, "node_modules/@apify/docs-theme": { - "version": "1.0.186", - "resolved": "https://registry.npmjs.org/@apify/docs-theme/-/docs-theme-1.0.186.tgz", - "integrity": "sha512-ExSZ5W+ccB3zzoSC/TBRQIq2VGyrLckHJwvckBMSbAJUpC9sl9/iJ8G6MA47LV7v9HEuBTtF+ZsJ8Z3rIMLUnQ==", + "version": "1.0.187", + "resolved": "https://registry.npmjs.org/@apify/docs-theme/-/docs-theme-1.0.187.tgz", + "integrity": "sha512-+PaumNNyq4FELQpdLIQeWudPRYFX7qIjH4fYYkd/+WbXRNktL+z9Xsiigw/Eza0T1oqCzB3Wm881Ze6vupsF+w==", "license": "ISC", "dependencies": { "@apify/docs-search-modal": "^1.2.2", From 256731c21885cc3702be252fe5ac0c8adcbb7e88 Mon Sep 17 00:00:00 2001 From: Apify Bot Date: Mon, 28 Jul 2025 10:37:30 +0000 Subject: [PATCH 6/8] chore: Automatic theme updating workflow [skip ci] --- website/package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/package-lock.json b/website/package-lock.json index 3c906c5d58..fdcbffe435 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -513,9 +513,9 @@ } }, "node_modules/@apify/docs-theme": { - "version": "1.0.187", - "resolved": "https://registry.npmjs.org/@apify/docs-theme/-/docs-theme-1.0.187.tgz", - "integrity": "sha512-+PaumNNyq4FELQpdLIQeWudPRYFX7qIjH4fYYkd/+WbXRNktL+z9Xsiigw/Eza0T1oqCzB3Wm881Ze6vupsF+w==", + "version": "1.0.188", + "resolved": "https://registry.npmjs.org/@apify/docs-theme/-/docs-theme-1.0.188.tgz", + "integrity": "sha512-/ZPZItCCHCxdbLDQI4x7JJCD0o/tXkozg2zWpS1sD5qeggB3jm+VOSFCGn1g4T1S3M4Oj+ZzpISJYSkhvKOtxg==", "license": "ISC", "dependencies": { "@apify/docs-search-modal": "^1.2.2", From 3cd83695f056831eee967b16c1682ddcc9fca494 Mon Sep 17 00:00:00 2001 From: Skopek <74026500+stepskop@users.noreply.github.com> Date: Mon, 28 Jul 2025 13:06:07 +0200 Subject: [PATCH 7/8] chore: add `userIsPaying` to the env var interface (#415) Adds `APIFY_USER_IS_PAYING` environmental variable as `userIsPaying` to the `ApifyEnv` interface. PR adding it to the documentation is here: https://github.com/apify/apify-docs/pull/1706 --- packages/apify/src/actor.ts | 5 +++++ packages/apify/src/configuration.ts | 2 ++ 2 files changed, 7 insertions(+) diff --git a/packages/apify/src/actor.ts b/packages/apify/src/actor.ts index 627cacaefb..356ce01c5f 100644 --- a/packages/apify/src/actor.ts +++ b/packages/apify/src/actor.ts @@ -111,6 +111,11 @@ export interface ApifyEnv { */ userId: string | null; + /** + * If it is `1`, it means that the user who started the Actor is a paying user. (APIFY_USER_IS_PAYING) + */ + userIsPaying: string | null; + /** * Authentication token representing privileges given to the Actor run, * it can be passed to various Apify APIs (APIFY_TOKEN) diff --git a/packages/apify/src/configuration.ts b/packages/apify/src/configuration.ts index b8dfacd42c..bc66fa6c79 100644 --- a/packages/apify/src/configuration.ts +++ b/packages/apify/src/configuration.ts @@ -106,6 +106,7 @@ export interface ConfigurationOptions extends CoreConfigurationOptions { * `proxyPort` | `APIFY_PROXY_PORT` | `8000` * `proxyStatusUrl` | `APIFY_PROXY_STATUS_URL` | `'http://proxy.apify.com'` * `userId` | `APIFY_USER_ID` | - + * `userIsPaying` | `APIFY_USER_IS_PAYING` | - * `xvfb` | `APIFY_XVFB` | - * `standbyPort` | `ACTOR_STANDBY_PORT` | `4321` * `standbyUrl` | `ACTOR_STANDBY_URL` | - @@ -151,6 +152,7 @@ export class Configuration extends CoreConfiguration { APIFY_CONTAINER_PORT: 'containerPort', APIFY_CONTAINER_URL: 'containerUrl', APIFY_USER_ID: 'userId', + APIFY_USER_IS_PAYING: 'userIsPaying', APIFY_PROXY_HOSTNAME: 'proxyHostname', APIFY_PROXY_PASSWORD: 'proxyPassword', APIFY_PROXY_STATUS_URL: 'proxyStatusUrl', From 4c666a8598aabb7968e8ef5cd891c4cc990eb690 Mon Sep 17 00:00:00 2001 From: Apify Release Bot Date: Mon, 28 Jul 2025 12:22:46 +0000 Subject: [PATCH 8/8] chore(release): release packages [skip ci] - apify@3.4.4 --- package-lock.json | 2 +- packages/apify/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index fc5e8f772a..294e9d1c83 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20292,7 +20292,7 @@ } }, "packages/apify": { - "version": "3.4.3", + "version": "3.4.4", "license": "Apache-2.0", "dependencies": { "@apify/consts": "^2.23.0", diff --git a/packages/apify/package.json b/packages/apify/package.json index 719e5a7104..31e054bfe8 100644 --- a/packages/apify/package.json +++ b/packages/apify/package.json @@ -1,6 +1,6 @@ { "name": "apify", - "version": "3.4.3", + "version": "3.4.4", "description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.", "engines": { "node": ">=16.0.0"