Skip to content

Commit 9c42fc1

Browse files
committed
[DOP-8157] Generate changelog
1 parent 48a81c1 commit 9c42fc1

File tree

12 files changed

+129
-112
lines changed

12 files changed

+129
-112
lines changed

docs/changelog/0.9.0.rst

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
0.9.0 (2023-08-17)
2+
==================
3+
4+
Breaking Changes
5+
----------------
6+
7+
- Rename methods:
8+
9+
* ``DBConnection.read_df`` -> ``DBConnection.read_source_as_df``
10+
* ``DBConnection.write_df`` -> ``DBConnection.write_df_to_target`` (:github:pull:`66`)
11+
- Rename classes:
12+
13+
* ``HDFS.slots`` -> ``HDFS.Slots``
14+
* ``Hive.slots`` -> ``Hive.Slots``
15+
16+
Old names are left intact, but will be removed in v1.0.0 (:github:pull:`103`)
17+
- Rename options to make them self-explanatory:
18+
19+
* ``Hive.WriteOptions(mode="append")`` -> ``Hive.WriteOptions(if_exists="append")``
20+
* ``Hive.WriteOptions(mode="overwrite_table")`` -> ``Hive.WriteOptions(if_exists="replace_entire_table")``
21+
* ``Hive.WriteOptions(mode="overwrite_partitions")`` -> ``Hive.WriteOptions(if_exists="replace_overlapping_partitions")``
22+
23+
* ``JDBC.WriteOptions(mode="append")`` -> ``JDBC.WriteOptions(if_exists="append")``
24+
* ``JDBC.WriteOptions(mode="overwrite")`` -> ``JDBC.WriteOptions(if_exists="replace_entire_table")``
25+
26+
* ``Greenplum.WriteOptions(mode="append")`` -> ``Greenplum.WriteOptions(if_exists="append")``
27+
* ``Greenplum.WriteOptions(mode="overwrite")`` -> ``Greenplum.WriteOptions(if_exists="replace_entire_table")``
28+
29+
* ``MongoDB.WriteOptions(mode="append")`` -> ``Greenplum.WriteOptions(if_exists="append")``
30+
* ``MongoDB.WriteOptions(mode="overwrite")`` -> ``Greenplum.WriteOptions(if_exists="replace_entire_collection")``
31+
32+
* ``FileDownloader.Options(mode="error")`` -> ``FileDownloader.Options(if_exists="error")``
33+
* ``FileDownloader.Options(mode="ignore")`` -> ``FileDownloader.Options(if_exists="ignore")``
34+
* ``FileDownloader.Options(mode="overwrite")`` -> ``FileDownloader.Options(if_exists="replace_file")``
35+
* ``FileDownloader.Options(mode="delete_all")`` -> ``FileDownloader.Options(if_exists="replace_entire_directory")``
36+
37+
* ``FileUploader.Options(mode="error")`` -> ``FileUploader.Options(if_exists="error")``
38+
* ``FileUploader.Options(mode="ignore")`` -> ``FileUploader.Options(if_exists="ignore")``
39+
* ``FileUploader.Options(mode="overwrite")`` -> ``FileUploader.Options(if_exists="replace_file")``
40+
* ``FileUploader.Options(mode="delete_all")`` -> ``FileUploader.Options(if_exists="replace_entire_directory")``
41+
42+
* ``FileMover.Options(mode="error")`` -> ``FileMover.Options(if_exists="error")``
43+
* ``FileMover.Options(mode="ignore")`` -> ``FileMover.Options(if_exists="ignore")``
44+
* ``FileMover.Options(mode="overwrite")`` -> ``FileMover.Options(if_exists="replace_file")``
45+
* ``FileMover.Options(mode="delete_all")`` -> ``FileMover.Options(if_exists="replace_entire_directory")``
46+
47+
Old names are left intact, but will be removed in v1.0.0 (:github:pull:`108`)
48+
- Rename ``onetl.log.disable_clients_logging()`` to ``onetl.log.setup_clients_logging()``. (:github:pull:`120`)
49+
50+
51+
Features
52+
--------
53+
54+
- Add new methods returning Maven packages for specific connection class:
55+
56+
* ``Clickhouse.get_packages()``
57+
* ``MySQL.get_packages()``
58+
* ``Postgres.get_packages()``
59+
* ``Teradata.get_packages()``
60+
* ``MSSQL.get_packages(java_version="8")``
61+
* ``Oracle.get_packages(java_version="8")``
62+
* ``Greenplum.get_packages(scala_version="2.12")``
63+
* ``MongoDB.get_packages(scala_version="2.12")``
64+
* ``Kafka.get_packages(spark_version="3.4.1", scala_version="2.12")``
65+
66+
Deprecate old syntax:
67+
68+
* ``Clickhouse.package``
69+
* ``MySQL.package``
70+
* ``Postgres.package``
71+
* ``Teradata.package``
72+
* ``MSSQL.package``
73+
* ``Oracle.package``
74+
* ``Greenplum.package_spark_2_3``
75+
* ``Greenplum.package_spark_2_4``
76+
* ``Greenplum.package_spark_3_2``
77+
* ``MongoDB.package_spark_3_2``
78+
* ``MongoDB.package_spark_3_3``
79+
* ``MongoDB.package_spark_3_4`` (:github:pull:`87`)
80+
- Allow to set client modules log level in ``onetl.log.setup_clients_logging()``.
81+
82+
Allow to enable underlying client modules logging in ``onetl.log.setup_logging()`` by providing additional argument ``enable_clients=True``.
83+
This is useful for debug. (:github:pull:`120`)
84+
- Added support for reading and writing data to Kafka topics.
85+
86+
For these operations, new classes were added.
87+
88+
* ``Kafka`` (:github:pull:`54`, :github:pull:`60`, :github:pull:`72`, :github:pull:`84`, :github:pull:`87`, :github:pull:`89`, :github:pull:`93`, :github:pull:`96`, :github:pull:`102`, :github:pull:`104`)
89+
* ``Kafka.PlaintextProtocol`` (:github:pull:`79`)
90+
* ``Kafka.SSLProtocol`` (:github:pull:`118`)
91+
* ``Kafka.BasicAuth`` (:github:pull:`63`, :github:pull:`77`)
92+
* ``Kafka.KerberosAuth`` (:github:pull:`63`, :github:pull:`77`, :github:pull:`110`)
93+
* ``Kafka.ScramAuth`` (:github:pull:`115`)
94+
* ``Kafka.Slots`` (:github:pull:`109`)
95+
* ``Kafka.ReadOptions`` (:github:pull:`68`)
96+
* ``Kafka.WriteOptions`` (:github:pull:`68`)
97+
98+
Currently, Kafka does not support incremental read strategies, this will be implemented in future releases.
99+
- Added support for reading files as Spark DataFrame and saving DataFrame as Files.
100+
101+
For these operations, new classes were added.
102+
103+
FileDFConnections:
104+
105+
* ``SparkHDFS`` (:github:pull:`98`)
106+
* ``SparkS3`` (:github:pull:`94`, :github:pull:`100`, :github:pull:`124`)
107+
* ``SparkLocalFS`` (:github:pull:`67`)
108+
109+
High-level classes:
110+
111+
* ``FileDFReader`` (:github:pull:`73`)
112+
* ``FileDFWriter`` (:github:pull:`81`)
113+
114+
File formats:
115+
116+
* ``Avro`` (:github:pull:`69`)
117+
* ``CSV`` (:github:pull:`92`)
118+
* ``JSON`` (:github:pull:`83`)
119+
* ``JSONLine`` (:github:pull:`83`)
120+
* ``ORC`` (:github:pull:`86`)
121+
* ``Parquet`` (:github:pull:`88`)
122+
123+
124+
Improvements
125+
------------
126+
127+
- Remove redundant checks for driver availability in Greenplum and MongoDB connections. (:github:pull:`67`)
128+
- Check of Java class availability moved from ``.check()`` method to connection constructor. (:github:pull:`97`)

docs/changelog/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
DRAFT
66
NEXT_RELEASE
7+
0.9.0
78
0.8.1
89
0.8.0
910
0.7.2

docs/changelog/next_release/+.feature.1.rst

Lines changed: 0 additions & 23 deletions
This file was deleted.

docs/changelog/next_release/+.feature.2.rst

Lines changed: 0 additions & 15 deletions
This file was deleted.

docs/changelog/next_release/103.breaking.rst

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/changelog/next_release/108.breaking.rst

Lines changed: 0 additions & 31 deletions
This file was deleted.

docs/changelog/next_release/120.breaking.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/changelog/next_release/120.feature.rst

Lines changed: 0 additions & 4 deletions
This file was deleted.

docs/changelog/next_release/66.breaking.rst

Lines changed: 0 additions & 4 deletions
This file was deleted.

docs/changelog/next_release/67.improvement.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)