apify-cli
Advanced tools
Changelog
0.6.1 / 2020-05-18
BREAKING: Templates are now fully decoupled from this project and the templates repository serves as the single source of truth. Some templates were replaced and others were renamed to better clarify their purpose.
BREAKING: Providing an invalid template in apify.json
no longer
throws, but rather silently uses a reasonable default configuration.
This is to support regular changes to templates without breaking older
versions of the CLI.
Moved templates to separate repository
Fixed: creating apify_storage
in root folder after apify create
command
Added bot(dependabot.com) to check latest Apify SDK version in all templates
Updated apify package in all templates
Updated npm packages and fixed all npm audit issues
Added warning about outdated node.js version
Fixed infinite push, when the previous one was interrupted
Fixed calling public actors with apify call
apify init
create empty INPUT.json file
Drop support for node 8 and 9
Fix: Pass the --max-http-header-size=80000 to the nodeJs process
New actor template for Apify projects, you can create it with apify create --template apify_project
apify vis
- Using improved schema validator
Breaking Change - apify push
: Pushes source code as a "Multiple source files" in case source code is less that 3 MB
Bug fixes:
apify create
: Added validation for actor name
apify init
skips creation of apify.json if already exists
apify run -p
runs actor, if apify_storage doesn't exist
Updated packages
Additional minor fixes
Updated packages
Updated Cheerio Crawler template
Updated Apify package version in all templates
Updated packages
Improved the templates and texts
Updated all templates regarding the last version of apify SDK.
Fixed templates to use Apify.getInput(), replaced deprecated function and options, added debug fields, added .idea to .gitignore
Updated packages
Fixed bug: Users without username can use push/call command
Added command apify vis
that validates actor input schema.
Upgraded to apify@0.11 in templates
Omitted CMD command in all templates Dockerfile.
Updated apify-client package. It fixed bug, when user can not push actor, whe he changed version in apify.json.
:tada: New commands to manage secret environment variables: apify secrets:add
, apify secrets:rm
.
New documentation how to set environment variable in apify.json
, see documentation.
BREAKING CHANGES: Simplified apify.json
structure. It will be updated automatically before execution apify run and push command.
Command apify create
now shows progress bar of npm install.
Small bugs fixes
Updated all templates to latest apify packages
Added warning if apify run
reuse old state in storage
Fixed issues #70 #65 #68
Updated NPM dependencies
Upgraded to apify-shared@0.1.6
Fixed templates to use apify/actor-node-chrome Docker image instead of outdated apify/actor-node-puppeteer
Updated all templates to apify version 0.8.*
Added template named hello_word
BREAKING CHANGES: The local storage directories have been renamed and package.json files needs a new start
command.
See migration guide for existing projects if you are upgrading from 0.1._ to 0.2._.
You can specified another file that main.js for apify run
command using npm start script.
BREAKING CHANGES: Version 0.2.0 of Apify CLI supports only version 0.7.0 of API SDK or newer as management of environment variables has been changed according to Apify SDK version 0.7.0.
Dropped support for Node 7
Updated NPM dependencies, npm-shrinkwrap.json replaced with package-lock.json
Updated NPM dependencies in code templates
Rename act to actor
Add environment variables for enable live view for local actors.
From now apify call
and apify push
commands stream live logs from run and build to your terminal
Add options -p, --purge, --purge-dataset, --purge-key-value-store, --purge-queue in apify run
to clean stores before runs actor locally
Add option -w, --wait-for-finish=wait-for-finish in apify push
and apify call
- command waits x seconds to finish run or build on Apify
Fixes #26, #33, #34, #36, #38, #39, #37, #35
Use npm-shrinkwrap.json instead of package-lock.json for published module
Update template, where we using proxy
Fix #30
apify run takes APIFY_USER_ID and APIFY_TOKEN as environments variables, if client is logged locally
apify call takes input from default local key-value-store
Fix: duplicates new lines in log
Print warning if you have old version of cli
apify run - kills all sub processes for SIGINT signal (ctrl+c) - It kills all related browsers in apify run command, related issue: https://github.com/apify/apify-js/issues/72
Readme and templates updates
Add support for request queue
Works for windows
New command apify info
The first public release
Initial development, lot of new stuff