# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [Unreleased]

### Changed

* The domain spec has been renamed in reference spec.
* The `domain` argument from `remove_non_significant_outliers()`, `retrieve_outliers()`, `retrieve_td()` have been renamed in `reference`.
* The point spec has been renamed in result spec.
* The `point` argument from `retrieve_outliers()`, `retrieve_td()` have been renamed in `result`.

### Fixed

* The function `setwd()` has been moved in `init_env()` to fix a bug when setting working directory

### Deprecated

* The function `remove_non_significative_outliers()` is now deprecated in favour of `remove_non_significant_outliers()`. [#78](https://github.com/InseeFr/rjd3production/issues/78)


## [1.1.0] - 2026-04-22

### Added

* New argument `verbose` to display some information while computing
* New function to create a ws from datasets and a default specification
* New function to make a ws crunchable
* Shiny app to compare WS with button to export table
* New functions to reverse-engineer a specification
* New functions to create random specifications
* New WS example and code to generate it
* `init_env()` fill the .lintr, DESCRIPTION and README files 
* `init_env()` add Git structure

### Changed

* Rename `affect_XXX` functions in `assign_XXX` functions
* Rename `cjo` to `td` in functions name (`assign_cjo`, `export_cjo`, `retrieve_cjo`, `import_cjo`, ) and argument (`cjo` -> `td`)
* The `assign_XXX` and `retrieve_XXX` functions are using `jws` instead of the `ws_path`.
* `select_regs` takes a new argument `context` to define the different regressors sets to use.
* `export_XXX` and `import_XXX` functions don't support anymore `ws_name` argument.
* `export_XXX` functions are using `td` or `outliers` to replace `x`.
* `get_LY_info` works now with a X13 model and not a summary_x13 model
* The column of the data.frame generated by `select_td()` are `series` and `regs`.

### Fixed

* Bug in select regressors solved (when no TD is significative)
* If s has multiple columns, the first one will be taken into account in `create_insee_regressors()`


## [1.0.0] - 2025-08-29

### Added

* New function to choose calendar regressors adapted to series
* New function to create calendar regressors, french calendar, specification with regressors

[Unreleased]: https://github.com/InseeFr/rjd3production/compare/v1.1.0...HEAD
[1.1.0]: https://github.com/InseeFr/rjd3production/compare/v1.0.0...v1.1.0
[1.0.0]: https://github.com/InseeFr/rjd3production/releases/tag/v1.0.0
