Parsons

Latest version: v3.1.0

Safety actively analyzes 623075 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

3.1.0

TODO

3.0.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed

Breaking Changes

3.0.0 is a major release, which means there are some breaking changes. You can see a full list of all PRs included in this release which have implications for breaking changes [here](https://github.com/move-coop/parsons/pulls?q=base%3Amajor-release+is%3Amerged+updated%3A%3E2023-08-31+).

1) We now parse boolean types by default instead of coercing them into strings by default. We detect boolean column types when copying a parsons Table to a database and create a boolean column in the database. If you want to maintain the old behavior, to convert the boolean columns in the table to strings before uploading it to the database, like this: `table = table.convert(['bool', 'columns', 'here', ...], str)` More: https://github.com/move-coop/parsons/pull/943

2) We've made some major updates to the BigQuery and GoogleCloudStorage connecters:

GoogleBigQuery
The `GoogleBigQuery` connector was written with compatibility in mind, and utilizes many of the same functions as the Amazon `Redshift` connector in order to minimize the user experience between the two cloud service providers. `GoogleBigQuery` is authenticated with a service account JSON file, which can be generated in the GCP user interface and stored locally.

There are several subtle differences between `GoogleBigQuery` and `Redshift`, most notably in the `.query()` function, which runs asynchronously in Google. We recommend using the `.delete_table()` function rather than sending a `DELETE TABLE` SQL query through the `.query()` function for this reason, as the connector will raise an exception when the asynchronous task completes and the table no longer exists; alternatively, the user can pass in `.query(sql=sql, return_values=False)` to prevent this exception from raising.

In addition to the familiar `.copy()` function, the `GoogleBigQuery` connector includes a `.copy_large_compressed_file_from_gcs()` function to handle large files in cloud storage, such as the voter file. BigQuery streams large uncompressed files in batches, but cannot do so when a file in compressed. This function decompresses the file in question using the correct compression type parameter (`gzip` is default but `zip` is also accepted), copies the file to BigQuery, then deletes the decompressed file from cloud storage.

GoogleCloudStorage
Similarly, the `GoogleCloudStorage` connector provides an API to view and manipulate blobs in cloud storage with compatibility to Amazon's `S3` connector. Users can create new storage buckets, load blobs into buckets, list their contents, acquire blob metadata, and download blobs from cloud storage to their local environments. This connector handles the decompression steps outlined above in the `. copy_large_compressed_file_from_gcs()` function outlined above, and also includes helpful utilities to aid in moving data to and from Google Cloud Storage.

New Connectors

Big thanks to cmdelrio for adding the new MobileCommons connector (https://github.com/move-coop/parsons/pull/896) and to austinweisgrau for the new Catalist Match API connector (https://github.com/move-coop/parsons/pull/912)!

Other Changes

* Zoom Polls by IanRFerguson in https://github.com/move-coop/parsons/pull/886
* Check for empty tables in zoom poll results by Jason94 in https://github.com/move-coop/parsons/pull/897
* 741 : Deprecate Slack chat.postMessage `as_user` argument and allow for new authorship arguments by angloyna in https://github.com/move-coop/parsons/pull/891
* 816 Airtable.get_records() fields argument can be either str or list by angloyna in https://github.com/move-coop/parsons/pull/892
* Nir's actionnetwork changes by NirTatcher in https://github.com/move-coop/parsons/pull/900
* Fix airtable.insert_records table arg by codygordon in https://github.com/move-coop/parsons/pull/907
* Add canales s3 functions by sharinetmc in https://github.com/move-coop/parsons/pull/885
* Enhancement: Action Network Connector: Added unpack_statistics param in get_messages method by matthewkrausse in https://github.com/move-coop/parsons/pull/917
* Adding rename_columns method to Parsons Table by mkrausse-ggtx in https://github.com/move-coop/parsons/pull/923
* Add http response to update_mailer by sjwmoveon in https://github.com/move-coop/parsons/pull/924
* Enable passing arbitrary additional fields to NGPVAN people match API by austinweisgrau in https://github.com/move-coop/parsons/pull/916
* Install dependencies for tests based on package install by austinweisgrau in https://github.com/move-coop/parsons/pull/951

New Contributors

Cheers to our newest contributors! 🎉 Thanks so much for your help.

* NirTatcher made their first contribution in https://github.com/move-coop/parsons/pull/900
* matthewkrausse made their first contribution in https://github.com/move-coop/parsons/pull/917
* dexchan made their first contribution in https://github.com/move-coop/parsons/pull/920

**Full Changelog**: https://github.com/move-coop/parsons/compare/v2.1.0...v3.0.0

2.1.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
Documentation
* Update example VAN apply_response JSON to reflect accurate keys by ydamit in https://github.com/move-coop/parsons/pull/884
Other Changes
* Action Builder Entity Record Insert Name Key Hotfix by ydamit in https://github.com/move-coop/parsons/pull/887
* Add json as allowable file type to copy_s3 by KasiaHinkson in https://github.com/move-coop/parsons/pull/844
* Enable use of "extension" argument to Redshift unload by austinweisgrau in https://github.com/move-coop/parsons/pull/871
* Update docs to point to website by shaunagm in https://github.com/move-coop/parsons/pull/851
* update zoom docs by sharinetmc in https://github.com/move-coop/parsons/pull/888
* Add more ActionKit methods by crayolakat in https://github.com/move-coop/parsons/pull/870
* fix: handle 429 error code by talevy42 in https://github.com/move-coop/parsons/pull/877
* chore(actionnetwork): Edge case and cleaning up type checking by talevy42 in https://github.com/move-coop/parsons/pull/889
* Action Builder Remove Tag Method by ydamit in https://github.com/move-coop/parsons/pull/890
* Revert "Enable passing `identifiers` to ActionNetwork `upsert_person()` by austinweisgrau in https://github.com/move-coop/parsons/pull/876
* Update release by KasiaHinkson in https://github.com/move-coop/parsons/pull/894

New Contributors
* KasiaHinkson made their first contribution in https://github.com/move-coop/parsons/pull/844

**Full Changelog**: https://github.com/move-coop/parsons/compare/v2.0.0...v2.1.0

2.0.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
This release addresses a breaking change to the `Zoom` connector. Starting on September 1st, 2023 JWT authentication will no longer be accepted when querying Zoom's REST API; this release moves the `Zoom` connector a server-to-server OAuth based authentication.

To query the Zoom API moving forward, users will need to:
* Setup an OAuth application in Zoom's app marketplace, including defining relevant endpoint scopes (meetings, users, etc.)
* Use the client ID, account ID, and account secret values to validate API access

Other Changes
* add release notes yml by sharinetmc in https://github.com/move-coop/parsons/pull/878
* Prepping for Major Release by IanRFerguson in https://github.com/move-coop/parsons/pull/881
* v2.0.0 by IanRFerguson in https://github.com/move-coop/parsons/pull/882


**Full Changelog**: https://github.com/move-coop/parsons/compare/v1.2.0...v2.0.0

1.2.0

New Features
* Add upsert_user function by talevy42 in 828
* add exists_ok param to add_column by talevy42 in 839
* Add support for deleting person from NGPVAN by sjwmoveon in 834
* feat: add Nation Builder Connector by gcollazo in 837
* Implement delete actionfield for ActionKit by crayolakat in 846
* Add nation builder connector by gcollazo in 848
* Implement, test, and document Parsons Table deduplicate method by jafayer in 842
* Action Builder connector by ydamit in 826
* Feature/background processing by talevy42 in 853
* NewMode - Add bulk `targets` endpoint by IanRFerguson in 857
* Get and Update ActionKit orderrecurring by technicalex in 859
* Enable passing `identifiers` to ActionNetwork `upsert_person()` by austinweisgrau in 861
* Add Events Helpers to PDI Connector by IanRFerguson in 865

Automated Testing
* Add multiple python versions to CI tests by shaunagm in 858
* Add pre-commit hook config to run flake8 and black on commit by austinweisgrau in 864

Dependencies
* Update Twilio Package Version by ydamit in 821
* Bump grpcio from 1.51.1 to 1.53.0 by dependabot in 852

Others
* Bump requests from 2.25.1 to 2.31.0 by dependabot in 824

New Contributors
* gcollazo, jafayer, technicalex

1.1.0

New Features

- Enable `__len__` dunder method for parsons Table by austinweisgrau in 830
- Add NGPVAN bulk apply suppressions function by codygordon crayolakat and sjwmoveon in 823
- Catch File Extensions in S3 Prefix IanRFerguson in 809
- Add Redash methods by crayolakat in 802
- MoveOn Shopify / AK changes by codygordon in 801

Automated Testing

- Use black formatting in addition to flake8 by austinweisgrau in 796

Bug Fixes

- Remove hardcoded version number from conf.py and correct repo link in setup.py by SorenSpicknail in 811
- Dependency cascade added to Redshift upsert by elyse-weiss in 833 (see also 819 & 832)
- chore(Geocoder)L Add more informative error handling to geocode 729 by talevy42 in 810
- Fix invalid setup.py syntax by crayolakat in 831
- Merge main into major-release by Jason94 in 814
- Fix Salesforce query output by sjwmoveon in 829
- Specify version of slackclient in setup.py by crayolakat in 825
- Pass use_env_token to to_s3_csv by codygordon in 822
- Add Default Parameter Flexibility IanRFerguson 807
- Standardize S3 Prefix Conventions IanRFerguson 803

Documentation

- Delete docs for non-existing arg in MySql by Jason94 in 813

New Contributors

- austinweisgrau made their first contribution by adding Black formatting in 796
- codygordon made their first contribution with updates to Shopify and ActionKit connectors in 801
- IanRFerguson made their first contribution by standardizing S3 Prefix Conventions in 803
- talevy42 made their first contribution by adding more informative error handling to geocode in 810

Welcome and thank you to Austin, Cody, Ian and Tal! 🎉🎉🎉

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.