Skip to content

Commit cc455a5

Browse files
committed
update changelog
1 parent 7e50ebd commit cc455a5

File tree

1 file changed

+36
-37
lines changed

1 file changed

+36
-37
lines changed

DESCRIPTION.md

Lines changed: 36 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -8,44 +8,43 @@ Source code is also available at: https://github.com/snowflakedb/snowflake-conne
88

99
# Release Notes
1010

11-
- v3.1.0a1(TBD)
12-
- Version 3.1.0a1 is our first efforts to build snowflake-connector-python based on apache nanoarrow projects, which
11+
- v3.1.0a1(July 24, 2023)
12+
- Version 3.1.0a1 is our first efforts to build snowflake-connector-python based on apache nanoarrow project, which
1313
reduces the package size as well as removes a hard dependency on a specific version of pyarrow.
14-
15-
- v3.0.5(TBD)
16-
- 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:
17-
18-
```toml
19-
[connections.prod]
20-
account = "my_account"
21-
user = "my_user"
22-
password = "my_password"
23-
```
24-
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:
25-
26-
- On Linux: `~/.config/snowflake/`, but follows XDG settings
27-
- On Mac: `~/Library/Application Support/snowflake/`
28-
- On Windows: `%USERPROFILE%\AppData\Local\snowflake\`
29-
30-
You can determine which file is used by running the following command:
31-
32-
```
33-
python -c "from snowflake.connector.constants import CONFIG_FILE; print(str(CONFIG_FILE))"
34-
```
35-
- Bumped cryptography dependency from <41.0.0,>=3.1.0 to >=3.1.0,<42.0.0.
36-
- Improved OCSP response caching to remove tmp cache files on Windows.
37-
- Improved OCSP response caching to reduce the times of disk writing.
38-
- Added a parameter `server_session_keep_alive` in `SnowflakeConnection` that skips session deletion when client connection closes.
39-
- Tightened our pinning of platformdirs, to prevent their new releases breaking us.
40-
- Fixed a bug where SFPlatformDirs would incorrectly append application_name/version to its path.
41-
- Added retry reason for queries that are retried by the client.
42-
- 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.
43-
- Remove Python 3.7 support.
44-
- Worked around a segfault which sometimes occurred during cache serialization in multi-threaded scenarios.
45-
- Improved error handling of connection reset error.
46-
- Fixed a bug about deleting the temporary files happened when running PUT command.
47-
- Allowed to pass `type_mapper` to `fetch_pandas_batches()` and `fetch_pandas_all()`.
48-
- Fixed a bug where pickle.dump segfaults during cache serialization in multi-threaded scenarios.
14+
- This version also includes the following features and bug fixes from the unreleased v3.0.5:
15+
- 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:
16+
17+
```toml
18+
[connections.prod]
19+
account = "my_account"
20+
user = "my_user"
21+
password = "my_password"
22+
```
23+
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:
24+
25+
- On Linux: `~/.config/snowflake/`, but follows XDG settings
26+
- On Mac: `~/Library/Application Support/snowflake/`
27+
- On Windows: `%USERPROFILE%\AppData\Local\snowflake\`
28+
29+
You can determine which file is used by running the following command:
30+
31+
```
32+
python -c "from snowflake.connector.constants import CONFIG_FILE; print(str(CONFIG_FILE))"
33+
```
34+
- Bumped cryptography dependency from <41.0.0,>=3.1.0 to >=3.1.0,<42.0.0.
35+
- Improved OCSP response caching to remove tmp cache files on Windows.
36+
- Improved OCSP response caching to reduce the times of disk writing.
37+
- Added a parameter `server_session_keep_alive` in `SnowflakeConnection` that skips session deletion when client connection closes.
38+
- Tightened our pinning of platformdirs, to prevent their new releases breaking us.
39+
- Fixed a bug where SFPlatformDirs would incorrectly append application_name/version to its path.
40+
- Added retry reason for queries that are retried by the client.
41+
- 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.
42+
- Remove Python 3.7 support.
43+
- Worked around a segfault which sometimes occurred during cache serialization in multi-threaded scenarios.
44+
- Improved error handling of connection reset error.
45+
- Fixed a bug about deleting the temporary files happened when running PUT command.
46+
- Allowed to pass `type_mapper` to `fetch_pandas_batches()` and `fetch_pandas_all()`.
47+
- Fixed a bug where pickle.dump segfaults during cache serialization in multi-threaded scenarios.
4948

5049
- v3.0.4(May 23,2023)
5150
- Fixed a bug in which `cursor.execute()` could modify the argument statement_params dictionary object when executing a multistatement query.

0 commit comments

Comments
 (0)