Skip to content

Commit deaf58b

Browse files
committed
update changelog
1 parent 7664ea0 commit deaf58b

File tree

1 file changed

+39
-1
lines changed

1 file changed

+39
-1
lines changed

DESCRIPTION.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Source code is also available at: https://github.com/snowflakedb/snowflake-conne
2222
- Cherry-picked https://github.com/urllib3/urllib3/commit/fd2759aa16b12b33298900c77d29b3813c6582de onto vendored urllib3 (v1.26.15) to enable enforce_content_length by default.
2323
- Fixed a bug in tag generation of OOB telemetry event.
2424

25-
- v3.1.0(July 31,2023)
25+
- v3.1.0(July 31, 2023)
2626

2727
- Added a feature that lets you add connection definitions to the `connections.toml` configuration file. A connection definition refers to a collection of connection parameters, for example, if you wanted to define a connection named `prod``:
2828

@@ -60,6 +60,44 @@ Source code is also available at: https://github.com/snowflakedb/snowflake-conne
6060
- Improved retry logic for okta authentication to refresh token if authentication gets throttled.
6161
- Note that this release does not include the changes introduced in the previous 3.1.0a1 release. Those will be released at a later time.
6262

63+
- v3.1.0a1(July 24, 2023)
64+
- Version 3.1.0a1 is our first efforts to build snowflake-connector-python based on apache nanoarrow project, which
65+
reduces the package size as well as removes a hard dependency on a specific version of pyarrow.
66+
- This version also includes the following features and bug fixes from the unreleased v3.0.5:
67+
- Added a feature that lets you add connection definitions to the `config.toml` configuration file. A connection definition refers to a collection of connection parameters. The connection configuration name must begin with **connections**, similar to the following that defines the parameters for the `prod` connection:
68+
69+
```toml
70+
[connections.prod]
71+
account = "my_account"
72+
user = "my_user"
73+
password = "my_password"
74+
```
75+
By default, we look for the `config.toml` file in the location specified in the `SNOWFLAKE_HOME` environment variable (default: `~/.snowflake`). If this folder does not exist, the Python connector looks for the file in the `platformdirs` location, as follows:
76+
77+
- On Linux: `~/.config/snowflake/`, but follows XDG settings
78+
- On Mac: `~/Library/Application Support/snowflake/`
79+
- On Windows: `%USERPROFILE%\AppData\Local\snowflake\`
80+
81+
You can determine which file is used by running the following command:
82+
83+
```
84+
python -c "from snowflake.connector.constants import CONFIG_FILE; print(str(CONFIG_FILE))"
85+
```
86+
- Bumped cryptography dependency from <41.0.0,>=3.1.0 to >=3.1.0,<42.0.0.
87+
- Improved OCSP response caching to remove tmp cache files on Windows.
88+
- Improved OCSP response caching to reduce the times of disk writing.
89+
- Added a parameter `server_session_keep_alive` in `SnowflakeConnection` that skips session deletion when client connection closes.
90+
- Tightened our pinning of platformdirs, to prevent their new releases breaking us.
91+
- Fixed a bug where SFPlatformDirs would incorrectly append application_name/version to its path.
92+
- Added retry reason for queries that are retried by the client.
93+
- Fixed a bug where `write_pandas` fails when user does not have the privilege to create stage or file format in the target schema, but has the right privilege for the current schema.
94+
- Remove Python 3.7 support.
95+
- Worked around a segfault which sometimes occurred during cache serialization in multi-threaded scenarios.
96+
- Improved error handling of connection reset error.
97+
- Fixed a bug about deleting the temporary files happened when running PUT command.
98+
- Allowed to pass `type_mapper` to `fetch_pandas_batches()` and `fetch_pandas_all()`.
99+
- Fixed a bug where pickle.dump segfaults during cache serialization in multi-threaded scenarios.
100+
63101
- v3.0.4(May 23,2023)
64102
- Fixed a bug in which `cursor.execute()` could modify the argument statement_params dictionary object when executing a multistatement query.
65103
- Added the json_result_force_utf8_decoding connection parameter to force decoding JSON content in utf-8 when the result format is JSON.

0 commit comments

Comments
 (0)