You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All notable changes to this project will be documented in this file.
4
4
5
+
## [0.1.11] - 2025-09-02
6
+
7
+
### 🚀 Features
8
+
9
+
- Variants added to `AreaOrCountry` type to account for RowCode numbers. A `from_code` method added to facilitate conversion.
10
+
-`NaicsSupplement` type added to account for international MNE row codes that do not conform to 2022 NAICS codes. A corresponding `Supplement` variant added to `Naics` type.
11
+
-`RowCode` now maps to `Naics` type instead of i64, and `AreaOrCountry` instead of String.
12
+
- Variants added to the `NaicsSupplement` type to accommodate MNE data.
13
+
-`from_code` method added to `StateKind` type to facilitate conversion to the `RowCode` type.
14
+
-`NaicsInputOutput` type added to accommodate InputOutput data, as well as the InputOutput variant of the `Naics` enum.
15
+
-`State` variant added to the `RowCode` enum to facilitate MNE data conversion.
16
+
-`params` method added to the `InputOutputTable` type for producing parameters for BEA API calls.
17
+
-`InputOutputCode` type added to represent row and column codes in the InputOutput dataset.
18
+
- Default implemented where missing, even if arbitrarily.
19
+
- Variants added to `AreaOrCountry` enum to accommodate MNE data conversion.
20
+
- The *investment* field of the IIP dataset now maps to the `Investment` type.
21
+
-`InputOutputIterator`, `InputOutputDatum` and `InputOutputData` types added for the InputOutput dataset.
22
+
-`Iip` and `InputOutput` variants added to the `Data` type for their eponymous datasets.
23
+
-`Iip` and `InputOutput` variants added to match statements for parsing `Results` from json.
24
+
-`Iip`, `InputOutput` and `UnderlyingGDPbyIndustry` variants added to match statement in the `App::destination` method.
25
+
-`Iip`, `InputOutput` and `UnderlyingGDPbyIndustry` variants added to queue construction in the `Request` type.
26
+
- Readme updated with `Iip`, `InputOutput` and new `MNE` totals.
27
+
-`UnderlyingGdpDatum` and `UnderlyingGdpData` types added to the *gdp_by_industry* file in the `key_sets` module.
28
+
-`UnderlyingGdpData` placed in `UnderlyingGdp` variant of `Data` enum.
29
+
-`UnderlyingGDPbyIndustry` variant of `Dataset` added to parsing options for the `Results` type.
30
+
- Arbitrary default added to the `NaicsSector` type.
31
+
- Variants added to the `NaicsInputOutput` type to facilitate conversion of UnderlyingGDPbyIndustry data.
32
+
- Industry codes converted from integers to `Naics` type for the GDPbyIndustry and UnderlyingG
33
+
-`write_json` utility function added to write longer outputs to file in JSON format.
34
+
- Variants added to `NaicsSupplement` for conversion of UnderlyingGDPbyIndustry data.
35
+
- Variants added to `NaicsInputOutput` type for conversion of UnderlyingGDPbyIndustry data.
36
+
37
+
### 💼 Other
38
+
39
+
- Dataset name rotation for active testing. Eventually need to move some of this to the CLI.
40
+
41
+
### 🚜 Refactor
42
+
43
+
- Call to `dotenv` moved to within the `bea_data` function to reduce code duplication.
44
+
-`GdpDatum` and `GdpData` types moved to `gdp_by_industry` file in `key_sets` module.
45
+
- Tests updated to use the `write_json` method, reducing code duplication.
46
+
- Industry codes in `UnderlyingGdpDatum` mapped to `Naics` type instead of integers.
47
+
48
+
### 📚 Documentation
49
+
50
+
- Tables in readme.md updated with UnderlyingGDPbyIndustry data.
51
+
52
+
### 🧪 Testing
53
+
54
+
- Test added to pull row and column codes from InputOutput data.
55
+
- Test added to verify that each field of json data containing parameter values has a corresponding variant in the `Investment` enum.
56
+
-`Iip` and `InputOutput` datasets added to the test rotation.
57
+
- Tests added to expose new additions to the testing harness.
58
+
-`industry_codes` test added to produce key:value pairs of industry codes and names from the `GDPbyIndustry` and `UnderlyingGDPbyIndustry` datasets.
59
+
-`check_industry_codes` test added to verify that industry codes in the `GDPbyIndustry` and `UnderlyingGDPbyIndustry` datasets are present as variants in the `Naics` enum.
60
+
- List of datasets updated in unit tests, functionality that should move to the CLI.
61
+
62
+
### ⚙️ Miscellaneous Tasks
63
+
64
+
- Version incremented to 0.1.11.
65
+
-`clap` dependency updated.
66
+
- Patch updates to dependencies `serde_json` and `tokio`.
67
+
- RowCode traces update to DEBUG level for work on the `NaicsSupplement` type.
68
+
- Clippy fixes for Rust 1.89 update.
69
+
- Updates to `clap`, `reqwest` and other dependencies.
70
+
- Patch updates to dependencies `clap`, `serde_json` and `url`.
71
+
- Clippy fixes for implied Iterator lifetimes.
72
+
- Visibility updates, adding new types and incorporating a name change.
73
+
- Info-level tracing downgraded to trace-level due to established stability.
74
+
- Mod file updated with new types for visibility.
75
+
- Lib file updated with new modules and types. Visibility for all library types is at the root level (crate::type).
76
+
- Lib file udpated with new module names and types.
77
+
-`UnderlyingGdpDatum` and `UnderlyingGdpData` types given public visibility at the root level of the crate.
78
+
- Patch update to dependency `tracing-subscriber`.
79
+
- Cargo.toml for `bears_ecology` updated to include `serde` for use of the `Serialize` trait in the `write_json` function.
80
+
5
81
## [0.1.10] - 2025-07-30
6
82
7
83
### 🚀 Features
8
84
9
-
- Component enum added for the IIP dataset.
10
-
- InputOutputTable type added to keys module of bears_species to provide variants for keys in the InputOutput dataset.
11
-
-`AocSta` type added for AreaOrCountry keys in the IntlServSTA dataset.
12
-
- Added the `Channel` enum to represent valid keys for the Channel parameter of the IntlServSTA dataset.
13
-
- Added the `IipIndustry` enum to represent valid keys for the Industry parameter of the IntlServSTA dataset.
14
-
- Added the `NaicsSector`, `NaicsSubsector` and `NaicsCategory` enums to represent different levels of NAICS code categories.
15
-
- The NaicsSector::from_key method is now NaicsSector::from_code.
16
-
- Added the `NaicsSubcategory` type to represent Naics industry codes with a length of five digits.
17
-
- NaicsIndustry enum added to represent the full six-digit NAICS codes.
18
85
-`Scope` and `Overwrite` types added to module to represent parameter options for `Queue` methods.
19
86
-`Overwrite` and `Scope` added to parameter arguments for `Queue` methods.
20
87
-`next_mne_error` added to testing suite to retry to first of a presumably long list of errors, intended for use on TRACE.
21
88
-`Naics` type added to module.
22
89
23
90
### 🐛 Bug Fixes
24
91
25
-
- Explicit version numbers added to workspace members.
26
-
- NaicsSubcategory variants and method values corrected in response to unit testing.
27
-
-`NaicsCategory` variants and methods corrected in response to unit testing.
28
-
- Typo corrections in the reference file for NAICS codes.
29
92
- Clippy fixes and some commented out WIP.
30
93
- Temporary down-throttle of the rate limiting for testing.
31
94
- Corrections to 2022 NAICS codes.
32
95
- Edge case handled where a single item causes the list to serialize as a `serde_json::Value::Object` instead of a `serde_json::Value::Array`.
33
96
- Corrections to 2022 Naics codes incorporated into Naics types.
34
97
- Special cases added for MNE tables.
35
98
99
+
### 📚 Documentation
100
+
101
+
- Doc comments added to justfile.
102
+
103
+
### 🎨 Styling
104
+
105
+
- Clarify reporting on the `FromStrError` type.
106
+
- Minor refactor of tracing subscriber filter.
107
+
108
+
### 🧪 Testing
109
+
110
+
- Flux in unit tests related to bulk dataset downloads.
111
+
- Queue tests updated with `Overwrite` and `Scope` arguments.
112
+
113
+
### ⚙️ Miscellaneous Tasks
114
+
115
+
- Increment version to 0.1.10.
116
+
- Patch update to derive_setters dependency.
117
+
- Dependency updates for clap, console, jiff, reqwest and tokio.
118
+
- Patch updates to dependency `clap` and dev-dependency `anyhow`.
119
+
-`rand` added as dependency. Patch updates to `clap`, `serde_json`, `strum` and `tokio`.
120
+
-`rand` added as dependency.
121
+
- Types updated for public visibility.
122
+
- Naics codes table added back in for backwards compability until the transition to full Naics types is complete.
123
+
- Cargo-dist update.
124
+
125
+
## [0.1.9] - 2025-05-12
126
+
127
+
### 🚀 Features
128
+
129
+
- NaicsIndustry enum added to represent the full six-digit NAICS codes.
130
+
131
+
### 🐛 Bug Fixes
132
+
133
+
- Typo corrections in the reference file for NAICS codes.
134
+
135
+
### 🧪 Testing
136
+
137
+
- Check_naics_industry added to check_naics test suite.
138
+
- Check_naics_industry added to check_naics test suite.
139
+
140
+
### ⚙️ Miscellaneous Tasks
141
+
142
+
- Version incremented to 0.1.9.
143
+
- NaicsIndustry enum added to public visibility in lib.rs and mod.rs.
144
+
- Minor update to tokio and patch updates to clap and jiff dependencies.
145
+
- Locked flag added to cargo-dist and cargo-release installs.
146
+
-`git-cliff` added to justfile.
147
+
148
+
## [0.1.8] - 2025-04-14
149
+
150
+
### 🚀 Features
151
+
152
+
- The NaicsSector::from_key method is now NaicsSector::from_code.
153
+
- Added the `NaicsSubcategory` type to represent Naics industry codes with a length of five digits.
154
+
155
+
### 🐛 Bug Fixes
156
+
157
+
- NaicsSubcategory variants and method values corrected in response to unit testing.
158
+
-`NaicsCategory` variants and methods corrected in response to unit testing.
159
+
160
+
### 🚜 Refactor
161
+
162
+
- Naics.rs and naics_codes.csv removed.
163
+
- Naics codes by classification added to the `cave` directory of `bears_health`.
164
+
- NaicsItem moved to the `keys` module of `bears_species`.
165
+
- Data module updated to use the new name for NaicsItems.
166
+
167
+
### 🧪 Testing
168
+
169
+
- Verification testings for Naics types added validating variant names, description and codes against the .csv files in the cave.
170
+
171
+
### ⚙️ Miscellaneous Tasks
172
+
173
+
- Increment version to 0.1.8.
174
+
- Rust fmt changes.
175
+
- Naics types added to mod and lib files.
176
+
- Clippy corrected `manual implementation of ok` corrected to use the ok method.
177
+
178
+
## [0.1.7] - 2025-04-07
179
+
180
+
### 🚀 Features
181
+
182
+
- Component enum added for the IIP dataset.
183
+
- InputOutputTable type added to keys module of bears_species to provide variants for keys in the InputOutput dataset.
184
+
-`AocSta` type added for AreaOrCountry keys in the IntlServSTA dataset.
185
+
- Added the `Channel` enum to represent valid keys for the Channel parameter of the IntlServSTA dataset.
186
+
- Added the `IipIndustry` enum to represent valid keys for the Industry parameter of the IntlServSTA dataset.
187
+
- Added the `NaicsSector`, `NaicsSubsector` and `NaicsCategory` enums to represent different levels of NAICS code categories.
188
+
- Command, ValueSet and ValueSets types stubbed out for future use.
189
+
190
+
### 🐛 Bug Fixes
191
+
192
+
- Explicit version numbers added to workspace members.
193
+
36
194
### 🚜 Refactor
37
195
38
196
- Library structure changed from crate to workspace.
@@ -45,55 +203,23 @@ All notable changes to this project will be documented in this file.
45
203
- ApiMetada moved to the key_sets module of the bears_species crate.
46
204
- InputOutput key set moved to the key_sets module of the bears_ecology crate.
47
205
-`IntlServSta`, `IntlServTrade` and `Regional` key sets moved to the key_sets module of the bears_species crate.
48
-
- Naics.rs and naics_codes.csv removed.
49
-
- Naics codes by classification added to the `cave` directory of `bears_health`.
50
-
- NaicsItem moved to the `keys` module of `bears_species`.
51
-
- Data module updated to use the new name for NaicsItems.
52
206
53
207
### 📚 Documentation
54
208
55
209
- Descriptions added for member crates.
56
-
- Doc comments added to justfile.
57
-
58
-
### 🎨 Styling
59
-
60
-
- Clarify reporting on the `FromStrError` type.
61
-
- Minor refactor of tracing subscriber filter.
62
210
63
211
### 🧪 Testing
64
212
65
213
- Unused tests for json removed.
66
214
- Tests added for `Component` and `AocSta` types validating enum variants against the BEA response.
67
-
- Verification testings for Naics types added validating variant names, description and codes against the .csv files in the cave.
68
-
- Check_naics_industry added to check_naics test suite.
69
-
- Check_naics_industry added to check_naics test suite.
70
-
- Flux in unit tests related to bulk dataset downloads.
71
-
- Queue tests updated with `Overwrite` and `Scope` arguments.
72
215
73
216
### ⚙️ Miscellaneous Tasks
74
217
75
218
- Version incremented to 0.1.7.
76
219
- Patch update to the `clap` dependency.
77
220
- Unused json and validate modules removed.
78
221
- Patch update to the `tokio` dependency.
79
-
- Increment version to 0.1.8.
80
-
- Rust fmt changes.
81
-
- Naics types added to mod and lib files.
82
-
- Clippy corrected `manual implementation of ok` corrected to use the ok method.
83
-
- Version incremented to 0.1.9.
84
-
- NaicsIndustry enum added to public visibility in lib.rs and mod.rs.
85
-
- Minor update to tokio and patch updates to clap and jiff dependencies.
86
-
- Locked flag added to cargo-dist and cargo-release installs.
87
-
-`git-cliff` added to justfile.
88
-
- Increment version to 0.1.10.
89
-
- Patch update to derive_setters dependency.
90
-
- Dependency updates for clap, console, jiff, reqwest and tokio.
91
-
- Patch updates to dependency `clap` and dev-dependency `anyhow`.
92
-
-`rand` added as dependency. Patch updates to `clap`, `serde_json`, `strum` and `tokio`.
93
-
-`rand` added as dependency.
94
-
- Types updated for public visibility.
95
-
- Naics codes table added back in for backwards compability until the transition to full Naics types is complete.
96
-
- Cargo-dist update.
222
+
- Recipe marked as invalid for workspace in justfile.
0 commit comments