Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v1.12.6 #714

Merged
merged 32 commits into from
Feb 26, 2024
Merged

Release/v1.12.6 #714

merged 32 commits into from
Feb 26, 2024

Commits on Oct 24, 2023

  1. fix bulk2 upload and download utf-8 encoding errors. (#688)

    Co-authored-by: codyalbanese <calbanese@appannie.com>
    calbanese11 and codyalbanese committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    caaa692 View commit details
    Browse the repository at this point in the history
  2. Pass the column datatype along with current value to pd.Series (#692)

    Prevents pd.Series from issuing a FutureWarning when value is empty and
    it is unable to infer a data type.
    
    gh-691
    chrisolof committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    40f093e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    82c76ee View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. Configuration menu
    Copy the full SHA
    e0b2603 View commit details
    Browse the repository at this point in the history
  2. adding query_all function to fetch soft deleted records in sf (#697)

    Co-authored-by: Prajwal Pokharel <prajwalpokharel@ip-192-168-4-22.ec2.internal>
    prazwalp007 and Prajwal Pokharel committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    4e43eec View commit details
    Browse the repository at this point in the history
  3. Handle non-XML responses during error conditions (#695)

    ```
      File "/home/web/project/env/lib/python3.10/site-packages/simple_salesforce/api.py", line 146, in __init__
        self._refresh_session()
      File "/home/web/project/env/lib/python3.10/site-packages/simple_salesforce/api.py", line 283, in _refresh_session
        self.session_id, self.sf_instance = self._salesforce_login_partial()
      File "/home/web/project/env/lib/python3.10/site-packages/simple_salesforce/login.py", line 221, in SalesforceLogin
        return soap_login(soap_url, login_soap_request_body,
      File "/home/web/project/env/lib/python3.10/site-packages/simple_salesforce/login.py", line 231, in soap_login
        except_code = getUniqueElementValueFromXmlString(
      File "/home/web/project/env/lib/python3.10/site-packages/simple_salesforce/util.py", line 21, in getUniqueElementValueFromXmlString
        xmlStringAsDom = xml.dom.minidom.parseString(xmlString)
      File "/usr/lib/python3.10/xml/dom/minidom.py", line 2000, in parseString
        return expatbuilder.parseString(string)
      File "/usr/lib/python3.10/xml/dom/expatbuilder.py", line 925, in parseString
        return builder.parseString(string)
      File "/usr/lib/python3.10/xml/dom/expatbuilder.py", line 223, in parseString
        parser.Parse(string, True)
    xml.parsers.expat.ExpatError: syntax error: line 1, column 0
    ```
    
    Where `string` == "upstream connect error or disconnect/reset before headers. reset reason: connection termination"
    jsma committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    2d55a56 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9df3102 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f4305c0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c0a876c View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2024

  1. Configuration menu
    Copy the full SHA
    3ef74f2 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. Update bulk2.py

    jon-wobken committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    1ecb9b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d972135 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1203da2 View commit details
    Browse the repository at this point in the history
  4. Update .travis.yml - remove support for 3.6 and 3.7

    Remove support for python 3.6 and 3.7
    jon-wobken committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    6837bbe View commit details
    Browse the repository at this point in the history
  5. Update README.rst

    Remove python 3.6 and 3.7
    Add python 3.12
    jon-wobken committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    30971c6 View commit details
    Browse the repository at this point in the history
  6. Add typing annotations (#660)

    * Add type annotations for util.py
    
    * Add type annotations for metadata.py
    
    * Fix up typing issues in metadata.py
    
    * Add type annotations for login.py
    
    * Fix up typing issues in login.py and add errorhandling
    
    * Add type annotations for format.py
    
    * Add type annotations for exceptions.py
    
    * Fix up typing issues in login.py
    
    * Add type annotations for bulk.py
    
    * Fix up typing issues in bulk.py
    
    * Add type annotations for api.py
    
    * Fix up typing issues in api.py
    
    * Fix up unittests
    
    * Use MutableMapping instead of dict
    
    * Fix formatting (long lines)
    
    * Fix up wrong typing
    
    * Fix up typing issues
    
    * Fixup long lines
    
    * Fixup typing issues in login.py
    
    * Add mypy type checking to tox testenv:static script
    
    * Use old type annotation syntax since python 3.6 doesn't support __future__ annotations
    
    * Use old type annotation syntax
    
    * Add py.typed to create a PEP 561 compatible package
    
    * Add type alias for headers
    
    * Fix unused import
    
    * Add type alias for proxies
    
    * Add TypeVar T for generic functions
    
    * Add types for BulkDataAny and BulkDataStr
    
    * Use standard HTTPMethod StrEnum
    
    * Use standard HTTPMethod StrEnum
    
    * Revert "Use standard HTTPMethod StrEnum"
    
    This reverts commit b99d34a.
    
    * Revert "Use standard HTTPMethod StrEnum"
    
    This reverts commit d0d1d6e.
    
    * Make Usage and PerAppUsage more type safe
    
    * Fix Missing class docstring
    
    * Add typing to bulk2 api
    
    * Finish typing of bulk2
    
    * Fixup
    
    * Add future import and fixup DateTime annotation
    
    * Maybe fix imports
    
    * Move TypedDict import to typing_extensions
    
    * Add dependency so also python 3.6 works
    
    * Remove from future annotations
    
    * Use older syntax
    
    * Adjust pipeline to use py.test instead of setup.py test (since it is deprecated)
    
    * Fixup test dependencies and use pytest instead of setup.py test
    
    * Fixup python 3.6 error
    
    * Fixup python 3.6 error
    
    * Fix formatting and add pip cache
    
    * Fix typing issues
    
    ---------
    
    Co-authored-by: JonWobken <49450080+jon-wobken@users.noreply.github.com>
    Shadow-Devil and jon-wobken committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    ae1e24d View commit details
    Browse the repository at this point in the history
  7. Update api.py

    Fix formatting
    Update default api version
    jon-wobken committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    bcac87d View commit details
    Browse the repository at this point in the history
  8. Update bulk.py

    Fix code format
    Remove unused "operation" in _get_batch_request_with_batch_results
    jon-wobken committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    7203c44 View commit details
    Browse the repository at this point in the history
  9. Update bulk2.py

    fix code formatting
    jon-wobken committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    253fab3 View commit details
    Browse the repository at this point in the history
  10. Update login.py

    line to long fix
    jon-wobken committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    5b0aa9e View commit details
    Browse the repository at this point in the history
  11. Update api.py

    jon-wobken committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    a6ed2cf View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. Fix CI for release/v1.12.6 (#713)

    * Fix pipeline
    
    * Fix pipeline
    Shadow-Devil committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    e0b6723 View commit details
    Browse the repository at this point in the history
  2. Include "fields" as a query param in GET requests (#705)

    * Include fields as a query param in get requests
    
    * fix line length from CI build
    
    * Refactor to pass **kwargs
    
    Simplifies use to **kwargs so fields can be passed as "params='fields=field1,field2,field3'"
    
    * Update api.py
    
    * Update api.py
    
    ---------
    
    Co-authored-by: JonWobken <49450080+jon-wobken@users.noreply.github.com>
    framarzar and jon-wobken committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    d204a95 View commit details
    Browse the repository at this point in the history
  3. Update bulk.py

    added detail result argument
    jon-wobken committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    ea589a2 View commit details
    Browse the repository at this point in the history
  4. Update setup.py

    jon-wobken committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    cb154e4 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. Update bulk.py

    jon-wobken committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    65f21d8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4ddafe8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9f48a5b View commit details
    Browse the repository at this point in the history
  4. Update .travis.yml

    jon-wobken committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    596c109 View commit details
    Browse the repository at this point in the history
  5. Update .travis.yml

    jon-wobken committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    dda5071 View commit details
    Browse the repository at this point in the history
  6. Update .travis.yml

    jon-wobken committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    7b9d9ed View commit details
    Browse the repository at this point in the history
  7. Update CHANGES

    jon-wobken committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    8afd4bf View commit details
    Browse the repository at this point in the history