amoghrajesh opened a new pull request, #50476:
URL: https://github.com/apache/airflow/pull/50476

   <!--
    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at
   
      http://www.apache.org/licenses/LICENSE-2.0
   
    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
   
   <!--
   Thank you for contributing! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   In case of an existing issue, reference it using one of the following:
   
   closes: #ISSUE
   related: #ISSUE
   
   How to write a good git commit message:
   http://chris.beams.io/posts/git-commit/
   -->
   
   We can now classify commits in providers wave to be "v" (min airflow version 
bump).
   
   For such cases, the changelog should be robust enough to help with that.
   
   I am adding a new feature that helps with this classification. If there's a 
`v` classified, we passdown a flag that will update the changelog for us.
   
   I am not updating any global jinja context, just keeping it local to 
changelog generation: `_generate_new_changelog`
   
   Testing results:
   
   ```
   NEXT VERSION AFTER + 5.0.2
   ..........................
   
   Latest change: 2025-05-06
   
   
==================================================================================================
  ===========  =============================================================
   Commit                                                                       
                       Committed    Subject
   
==================================================================================================
  ===========  =============================================================
   `4728fffc5f 
<https://github.com/apache/airflow/commit/4728fffc5f38ddf1577aace5049046d5e5b07b1f>`__
  2025-05-06   ``Update description of provider.yaml dependencies (#50231)``
   `34073abbd7 
<https://github.com/apache/airflow/commit/34073abbd782ad5fdddf7880bf5e11f73196d0ec>`__
  2025-04-29   ``update airbyte changelog (#49934)``
   `c761353ce1 
<https://github.com/apache/airflow/commit/c761353ce11bb90eb64ebb0ebb9e7b5d16c0949b>`__
  2025-04-28   ``Avoid committing history for providers (#49907)``
   `0f573ee40b 
<https://github.com/apache/airflow/commit/0f573ee40bfb7d9145328afd55bc16ca8598d008>`__
  2025-04-28   ``Bump min Airflow version in providers to 2.10 (#49843)``
   
==================================================================================================
  ===========  =============================================================
   
   Does the provider: airbyte have any changes apart from 'doc-only'? 
   Press y/N/q: y
   
   Define the type of change for `Update description of provider.yaml 
dependencies (https://github.com/apache/airflow/pull/50231)` by referring to 
the above table
   Type of change (d)ocumentation, (b)ugfix, (f)eature, (x)breaking change, 
(m)isc, (s)kip, airflow_min_(v)ersion_bump (q)uit ? v
   
   
   Define the type of change for `update airbyte changelog 
(https://github.com/apache/airflow/pull/49934)` by referring to the above table
   Type of change (d)ocumentation, (b)ugfix, (f)eature, (x)breaking change, 
(m)isc, (s)kip, airflow_min_(v)ersion_bump (q)uit ? b
   
   
   Define the type of change for `Avoid committing history for providers 
(https://github.com/apache/airflow/pull/49907)` by referring to the above table
   Type of change (d)ocumentation, (b)ugfix, (f)eature, (x)breaking change, 
(m)isc, (s)kip, airflow_min_(v)ersion_bump (q)uit ? x
   
   
   Define the type of change for `Bump min Airflow version in providers to 2.10 
(https://github.com/apache/airflow/pull/49843)` by referring to the above table
   Type of change (d)ocumentation, (b)ugfix, (f)eature, (x)breaking change, 
(m)isc, (s)kip, airflow_min_(v)ersion_bump (q)uit ? x
   
   The version will be bumped because of TypeOfChange.BREAKING_CHANGE kind of 
change
   Provider airbyte has been classified as:
   
   Breaking changes - bump in MAJOR version needed
   
   Bumped version to 6.0.0
   
   Updated source-date-epoch to 1747033767
   
   New version of the 'airbyte' package is ready to be released!
   
   
   Do you want to leave the version for airbyte with version: 6.0.0 as is for 
the release? 
   Press y/N/q: y
    Proceeding with provider: airbyte version as 6.0.0
   
   Generated 
/Users/amoghdesai/Documents/OSS/repos/airflow/providers/airbyte/docs/commits.rst
 file for the airbyte provider
   
   33c33
   < For high-level changelog, see :doc:`changelog <changelog>`.
   ---
   > For high-level changelog, see :doc:`package information including 
changelog <index>`.
   Checking for backticks correctly generated in: 
/Users/amoghdesai/Documents/OSS/repos/airflow/providers/airbyte/docs/commits.rst
   Linting: 
/Users/amoghdesai/Documents/OSS/repos/airflow/providers/airbyte/docs/commits.rst
   Generated 
/Users/amoghdesai/Documents/OSS/repos/airflow/providers/airbyte/docs/commits.rst
 for airbyte is OK
   Generated 
/Users/amoghdesai/Documents/OSS/repos/airflow/providers/airbyte/README.rst for 
the airbyte provider
   
   Generated 
/Users/amoghdesai/Documents/OSS/repos/airflow/providers/airbyte/docs/conf.py 
for the airbyte provider
   
   Generated 
/Users/amoghdesai/Documents/OSS/repos/airflow/providers/airbyte/pyproject.toml 
for the airbyte provider
   
   Generated 
/Users/amoghdesai/Documents/OSS/repos/airflow/providers/airbyte/src/airflow/providers/airbyte/get_provider_info.py
 for the airbyte provider
   
   
   Updates changelog for last release of package 'airbyte'
   
   New version of the 'airbyte' package is ready to be released!
   
   ***                                                                          
                                                                                
                                             
                                                                                
                                                                                
                                             
   ---                                                                          
                                                                                
                                             
                                                                                
                                                                                
                                             
   ***************                                                              
                                                                                
                                             
                                                                                
                                                                                
                                             
   *** 24,33 ****                                                               
                                                                                
                                             
                                                                                
                                                                                
                                             
   --- 24,59 ----                                                               
                                                                                
                                             
                                                                                
                                                                                
                                             
     ``apache-airflow-providers-airbyte``                                       
                                                                                
                                             
                                                                                
                                                                                
                                             
     Changelog                                                                  
                                                                                
                                             
     ---------                                                                  
                                                                                
                                             
                                                                                
                                                                                
                                             
   +                                                                            
                                                                                
                                             
   + 6.0.0                                                                      
                                                                                
                                             
   + .....                                                                      
                                                                                
                                             
   +                                                                            
                                                                                
                                             
   + .. note::                                                                  
                                                                                
                                             
   +     This release of provider is only available for Airflow X.X+ as 
explained in the                                                                
                                                     
   +     Apache Airflow providers support policy 
<https://github.com/apache/airflow/blob/main/PROVIDERS.rst#minimum-supported-version-of-airflow-for-community-managed-providers>_.
                          
   +                                                                            
                                                                                
                                             
   + Breaking changes                                                           
                                                                                
                                             
   + ~~~~~~~~~~~~~~~~                                                           
                                                                                
                                             
   +                                                                            
                                                                                
                                             
   + * ``Avoid committing history for providers (#49907)``                      
                                                                                
                                             
   + * ``Bump min Airflow version in providers to 2.10 (#49843)``               
                                                                                
                                             
   +                                                                            
                                                                                
                                             
   + Bug Fixes                                                                  
                                                                                
                                             
   + ~~~~~~~~~                                                                  
                                                                                
                                             
   +                                                                            
                                                                                
                                             
   + * ``update airbyte changelog (#49934)``                                    
                                                                                
                                             
   +                                                                            
                                                                                
                                             
   + Misc                                                                       
                                                                                
                                             
   + ~~~~                                                                       
                                                                                
                                             
   +                                                                            
                                                                                
                                             
   + * ``Update description of provider.yaml dependencies (#50231)``            
                                                                                
                                             
   +                                                                            
                                                                                
                                             
   + .. Below changes are excluded from the changelog. Move them to             
                                                                                
                                             
   +    appropriate section above if needed. Do not delete the lines(!):        
                                                                                
                                             
                                                                                
                                                                                
                                             
     5.0.2                                                                      
                                                                                
                                             
     .....                                                                      
                                                                                
                                             
                                                                                
                                                                                
                                             
     .. note::                                                                  
                                                                                
                                             
   The provider airbyte changelog for `6.0.0` version is missing. Generating 
fresh changelog.
   
   Update index.rst for airbyte
   
   
   Generated 
/Users/amoghdesai/Documents/OSS/repos/airflow/providers/airbyte/docs/index.rst 
file for the airbyte provider
   
   79c79
   < Release: 5.0.2
   ---
   > Release: 6.0.0
   97c97
   < The minimum Apache Airflow version supported by this provider distribution 
is ``2.9.0``.
   ---
   > The minimum Apache Airflow version supported by this provider distribution 
is ``2.10.0``.
   102c102
   < ``apache-airflow``  ``>=2.9.0``
   ---
   > ``apache-airflow``  ``>=2.10.0``
   
   
   Summary of prepared documentation:
   
   Success: 1
   
   airbyte
   
   
   Successfully prepared documentation for packages!
   
   
   
   Please review the updated files, classify the changelog entries and commit 
the changes.
   ```
   
   
![image](https://github.com/user-attachments/assets/efb169bf-301b-4e23-ae78-c4788961f063)
   
   <!-- Please keep an empty line above the dashes. -->
   ---
   **^ Add meaningful description above**
   Read the **[Pull Request 
Guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#pull-request-guidelines)**
 for more information.
   In case of fundamental code changes, an Airflow Improvement Proposal 
([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvement+Proposals))
 is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party 
License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in a 
newsfragment file, named `{pr_number}.significant.rst` or 
`{issue_number}.significant.rst`, in 
[airflow-core/newsfragments](https://github.com/apache/airflow/tree/main/airflow-core/newsfragments).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to