Skip to content

Releases: scrapinghub/shub

v2.0.1

12 Feb 15:03
Compare
Choose a tag to compare

Hotfix to clarify that scrapy.cfg is still used by Scrapy.

v2.0.0

26 Jan 11:22
Compare
Choose a tag to compare

This release brings major updates to shub:

  • Configuration is now done from a dedicated YAML file named scrapinghub.yml. shub will automatically migrate your configuration.
  • We now supply shub binaries. This will be particularly helpful for our Windows users. Find them at the bottom of these release notes.
  • The API received an overhaul. Most notably, the -p option was completely dropped in favour of defining targets in scrapinghub.yml or supplying the project as positional argument: shub deploy -p 12345 becomes shub deploy 12345. Or add targetname: 12345 to the projects section of your scrapinghub.yml and run shub deploy targetname.

Check out the revamped README for more information.

New features:

  • Add -f flag to items, log, and requests for live view of logs/items/requests as they are being scraped
  • Add -s flag to schedule to allow passing job settings
  • Add onboarding wizard and auto-generation of configuration file on first run of deploy
  • Add automatic check for updates

API changes:

  • Read configuration from scrapinghub.yml and ~/.scrapinghub.yml instead of scrapy.cfg and ~/.scrapy.cfg (old settings will be auto-migrated)
  • Drop -p option
  • Print job items/requests in JSON lines format
  • Show only a summary and not the full log when deploying (use -v to overwrite)
  • Drop -v for version when deploying, use --version
  • Use more meaningful nonzero exit codes depending on error
  • Don't include egg name in version tag of deployed eggs

Enhancements:

  • Improve usage messages and command help
  • Drop dependency to unzip and tar
  • Use pip as package rather than spawn sub-processes

Bugfixes:

  • Fix parsing of equal signs in spider arguments and job settings (e.g. shub schedule myspider -a ARG=stringwith=equalsign)
  • Fix reading project version from mercurial branch/commit when git is not installed

v1.5.0

10 Dec 19:52
Compare
Choose a tag to compare

New features:

  • add log command #72
  • add requests command #72

v1.4.0

07 Dec 18:55
Compare
Choose a tag to compare

New features:

  • Added schedule command #66
  • Added items command #66
  • Documented release procedure #68

Also, a bunch of bugfixes.

v1.3.2

03 Sep 15:51
Compare
Choose a tag to compare

Bug Fixes:

  • Fixed the deployment of problematic dependencies #49 #50 #51 #57
  • Stop returning errors for failed login attempts #53
  • Stop masking errors because of race condition in tmp dir removal on Windows platforms #58

v1.3.1

30 Jun 21:36
Compare
Choose a tag to compare

A bunch of bug fixes:

  • Improved authentication workflow (now shub tells you to login if you're not logged in yet) #34 #31
  • Fixed deploy authentication #35
  • Fixed error handling for fetch-eggs #32
  • Fixed deploying egg from other compressed formats #33

v1.3.0

14 Jun 03:57
Compare
Choose a tag to compare

Hot new features:

  • deploy an egg from PyPI, or building from local sources or a repo URL (Git/Hg/Bazaar)
  • deploy all eggs from a requirements file
  • download the eggs deployed to a Scrapy Cloud project into a local Zip file
  • and more!

Also a bunch of bug fixes.