InfluxDB has recently added support for aggregating data by months or years in Flux, a query language used for time series data analysis. This feature was merged and deployed after over a year of development, allowing users to easily analyze their data across different time intervals. With this new feature, users can use special intervals such as "1mo" for monthly aggregation and "1y" for yearly aggregation, which will account for leap years. The addition of this feature aims to help users better understand their data and expand the functionality of Flux to further enable data analysis.