diff --git a/CHANGELOG.md b/CHANGELOG.md index 6dfaf62..c5e7bef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,49 +2,109 @@ All notable changes to this project will be documented in this file. Dates are displayed in UTC. -Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - #### [v1.0.0-5](https://github.com/thkruz/ootk-core/compare/v1.0.0-4...v1.0.0-5) +> + - fix: :label: fix typings location in package.json [`0c9173f`](https://github.com/thkruz/ootk-core/commit/0c9173f91a5c1b6784298732cfbaa35ac9af2e37) #### [v1.0.0-4](https://github.com/thkruz/ootk-core/compare/v1.0.0-3...v1.0.0-4) -> 15 January 2024 +> - feat: :fire: move advanced functions to ootk [`#11`](https://github.com/thkruz/ootk-core/issues/11) - feat: :truck: move rf math to ootk [`#3`](https://github.com/thkruz/ootk-core/issues/3) - test: :white_check_mark: improve test coverage and import order [`188071e`](https://github.com/thkruz/ootk-core/commit/188071eb7b598e89a7b911685d565800de10bf6a) - style: :heavy_minus_sign: remove prettier and enforce stricter jsdocs [`647eff3`](https://github.com/thkruz/ootk-core/commit/647eff351ecfde1f54f9be06af8aa4dc38cc5d18) - docs: :page_facing_up: update copyright/license documentation [`90bdd3e`](https://github.com/thkruz/ootk-core/commit/90bdd3eff917e58c1813bff597d933891fe5645b) +- test: :white_check_mark: add more tests [`b804ded`](https://github.com/thkruz/ootk-core/commit/b804dedc68170d9ee5e000f7e9f0fe1f5e1067a0) +- test: :white_check_mark: add test for Vector and Vector3D [`44a67d0`](https://github.com/thkruz/ootk-core/commit/44a67d0dc61ce8a7182e65c9c22f538f1e546f90) +- refactor: :recycle: fix formatting and jsdocs [`b2eaaab`](https://github.com/thkruz/ootk-core/commit/b2eaaabc0342fb41330c343429e7de25e08a421a) +- test: :white_check_mark: add testing for EquinoctialElements [`22ea0a8`](https://github.com/thkruz/ootk-core/commit/22ea0a8a915eae557955b6c8d338cd09446934f5) +- test: :white_check_mark: add tests for geodetic class [`bb94780`](https://github.com/thkruz/ootk-core/commit/bb94780d39e2666de1a97f5de64844e8788d3e57) +- refactor: :label: add more rigid typing of units [`79c83f4`](https://github.com/thkruz/ootk-core/commit/79c83f4311695df2c3375963b98cb426b25b1619) +- test: :white_check_mark: add testing for Matrix [`416d5fa`](https://github.com/thkruz/ootk-core/commit/416d5fac1face2d264f26fc8e6c8b2bde4dc8ec9) +- test: :white_check_mark: add testing for ITRF class [`49501a3`](https://github.com/thkruz/ootk-core/commit/49501a3f157645fadbadbb2a458a9d5a948056ad) +- test: :white_check_mark: add tests for StateVector [`d923dae`](https://github.com/thkruz/ootk-core/commit/d923dae7834c13efe404749dea0dea8543bf9737) +- test: :white_check_mark: add tests for Tle [`39673ba`](https://github.com/thkruz/ootk-core/commit/39673ba891a8bbe1a5d52be0e13e7d549f3c39f2) +- test: :white_check_mark: add tests for ClassicalElements [`8120b3f`](https://github.com/thkruz/ootk-core/commit/8120b3f90bd8679a86281f36c05cfc240499e8a9) +- test: :white_check_mark: add tests and documentation to FormatTle [`dbed6a1`](https://github.com/thkruz/ootk-core/commit/dbed6a1ceca9e6de6cf7e2d1c4be7e187cf7e833) +- test: :white_check_mark: add tests for transforms [`944a6c9`](https://github.com/thkruz/ootk-core/commit/944a6c93fe038f1a951e1da6455ab5871e7d6d9b) +- feat: :sparkles: add caching for most common transforms [`5b7cc17`](https://github.com/thkruz/ootk-core/commit/5b7cc17ed386f8f18f1af7e5d6beab2a76a50d24) +- build: :fire: simplify build process [`fdef8dd`](https://github.com/thkruz/ootk-core/commit/fdef8dda5fe6901a8c9d546c1ffb820c3fd390ed) +- fix: :bug: fix calculation of doppler factor [`4a0ef1e`](https://github.com/thkruz/ootk-core/commit/4a0ef1ebe261d9fb4a86418170991576267e9285) +- test: :white_check_mark: fix broken tests [`d26b6b7`](https://github.com/thkruz/ootk-core/commit/d26b6b7d489260c5934cddbe882ba487d6a97905) +- test: :white_check_mark: add tests for RIC [`c822f4e`](https://github.com/thkruz/ootk-core/commit/c822f4e621208062c41540d83fbb54bbf53d7001) +- test: :adhesive_bandage: fix time issue with testing on ci pipeline [`eec1281`](https://github.com/thkruz/ootk-core/commit/eec12817893ac123078601847bbc7d06f5a2cdc9) +- build: :wrench: use best practices for package.json [`713d07e`](https://github.com/thkruz/ootk-core/commit/713d07ea0da307e2f279b30eef672e33f63e585a) +- test: :white_check_mark: increase testing to 90% [`ab08816`](https://github.com/thkruz/ootk-core/commit/ab0881663e1b42830c715359c12a59228116acf6) +- test: :adhesive_bandage: fix mock date object being modified [`0adde7a`](https://github.com/thkruz/ootk-core/commit/0adde7a70cd8ada8307b7e7781ee38c3e7867dcf) +- test: 🩹 fix mock date object being modified [`ff1a6ad`](https://github.com/thkruz/ootk-core/commit/ff1a6adbbc7bf64ce144b6eb2a42903ea628e3be) +- fix: :truck: update import paths [`7f2b8ac`](https://github.com/thkruz/ootk-core/commit/7f2b8acdf194d79db096e3e494ef8cc28b5f1319) +- test: :white_check_mark: add tests for J2000 [`f77390c`](https://github.com/thkruz/ootk-core/commit/f77390ce1d6c5ee4ee3ce6344c85a6fba3329814) +- feat: :sparkles: improve isStatic logic [`56ce400`](https://github.com/thkruz/ootk-core/commit/56ce400e76b2a19504349f4cc8fe0c1583afc5b7) +- test: :white_check_mark: add tests for RelativeState [`d2533d7`](https://github.com/thkruz/ootk-core/commit/d2533d7e978f1c610ebe58e66cf1c4c3d4e73624) +- test: :bug: lock timezone for jest testing [`60c39de`](https://github.com/thkruz/ootk-core/commit/60c39def9b0a9afe05ed862b5615eb8d8e3e4d2d) +- chore: :technologist: update tasks [`091f551`](https://github.com/thkruz/ootk-core/commit/091f551eb5f10ad5587732a21ed645ea36d8260f) +- test: :white_check_mark: fix time difference in snapshot [`0c2f59f`](https://github.com/thkruz/ootk-core/commit/0c2f59f2739b5087a669e380f27ac783a06677fe) +- ci: :adhesive_bandage: fix path of ci script [`705d0da`](https://github.com/thkruz/ootk-core/commit/705d0da9f47d803274649c68ba1247c32ac1149e) +- fix: :adhesive_bandage: remove old import [`527d368`](https://github.com/thkruz/ootk-core/commit/527d368f81ee010bc3202d167cf1ceed9550a33e) +- fix: :rotating_light: fix linter error [`36d1f43`](https://github.com/thkruz/ootk-core/commit/36d1f43d115a480d6626873ca3392b75e46cca3e) #### [v1.0.0-3](https://github.com/thkruz/ootk-core/compare/v1.0.0-2...v1.0.0-3) -> 13 January 2024 +> - ci: :construction_worker: update ci pipeline [`d82cb6c`](https://github.com/thkruz/ootk-core/commit/d82cb6c69c1135a1f77f75183eb16f47acc0110b) - docs: :memo: update docs [`02f0922`](https://github.com/thkruz/ootk-core/commit/02f09227bead5c8aa8cb44e1ba6b8119b34be9f6) - ci: :green_heart: fix ci pipeline [`21a2971`](https://github.com/thkruz/ootk-core/commit/21a297182f435aff81b3ff3a7727782a3b012511) +- fix: :bug: fix time object being mutated [`dd51ed2`](https://github.com/thkruz/ootk-core/commit/dd51ed2e74b0a3e586c4451c08cc7f430155628e) +- ci: :construction_worker: update ci pipeline [`7b8149f`](https://github.com/thkruz/ootk-core/commit/7b8149f2a6b8e4caa4dce3df8002fd8ddbdf3db9) +- ci: :adhesive_bandage: make ci pipeline sequential [`092de4e`](https://github.com/thkruz/ootk-core/commit/092de4e3a57f7dec4875cde4c9ff4d01917a7e58) +- test: :white_check_mark: fix test impacted by time zone differences [`a13c511`](https://github.com/thkruz/ootk-core/commit/a13c5119a541fc059cb4395229b1776c9d508bcb) +- test: :white_check_mark: fix tests [`4248aba`](https://github.com/thkruz/ootk-core/commit/4248abadb9a99179df8b007b2efe18405f2943dc) +- ci: :green_heart: reorder ci [`a8c2128`](https://github.com/thkruz/ootk-core/commit/a8c2128597c625b9e4fbdfe7f49672999a717935) +- build: :heavy_minus_sign: replace rimraf with fs [`06340e0`](https://github.com/thkruz/ootk-core/commit/06340e0cb45cceaaaa18ffaa3ec86c7e2a5c47f3) +- ci: :adhesive_bandage: make ci pipeline sequential [`834e559`](https://github.com/thkruz/ootk-core/commit/834e559f1c92fbf654266c5a84922379d32eb97e) +- build: :green_heart: fix eslint scripts [`54612c5`](https://github.com/thkruz/ootk-core/commit/54612c5545d2a912afefc603f44092044e904053) +- ci: :green_heart: fix issue with package.json [`3f8f78b`](https://github.com/thkruz/ootk-core/commit/3f8f78b19e846e2604a2bac012f0c748e29cb68e) +- ci: :adhesive_bandage: make ci pipeline sequential [`25ce2b5`](https://github.com/thkruz/ootk-core/commit/25ce2b55c66fe6c87c886bb704677800c07f2bc8) +- build: :heavy_plus_sign: add rimraf [`af82e8a`](https://github.com/thkruz/ootk-core/commit/af82e8a2d26102e466e9965b39a41d6b7fa88adf) +- fix: :adhesive_bandage: fix case-sensitive issue [`531a0da`](https://github.com/thkruz/ootk-core/commit/531a0da60e2561c44ceaf307b1af07c0a610bfa5) #### [v1.0.0-2](https://github.com/thkruz/ootk-core/compare/v1.0.0-1...v1.0.0-2) -> 12 January 2024 +> - refactor: :recycle: implement strict checks in tsconfig [`b1515cb`](https://github.com/thkruz/ootk-core/commit/b1515cb07794b7ac465bf27ebfb48232140f2e25) - feat: :sparkles: sync all commonjs es5 and typescript examples [`adb58fa`](https://github.com/thkruz/ootk-core/commit/adb58faf46de6af12568064d5941026a31942ecf) - refactor: :recycle: standardize eci and rae methods [`5581a18`](https://github.com/thkruz/ootk-core/commit/5581a18ffcb7ebbc04365e36fe49b51534c99137) +- docs: :memo: update package.json [`2e2672f`](https://github.com/thkruz/ootk-core/commit/2e2672f726c3a1bbe3319fa14001e9dbd4ef2031) #### [v1.0.0-1](https://github.com/thkruz/ootk-core/compare/v1.0.0-0...v1.0.0-1) -> 12 January 2024 +> - refactor: :recycle: combine Tle classes and improve documentation [`b5b506a`](https://github.com/thkruz/ootk-core/commit/b5b506af622d673fbf03fa4edbb11b405f27099f) - test: :white_check_mark: fix tests [`4c2d701`](https://github.com/thkruz/ootk-core/commit/4c2d701dfc25d04a3929956e0ff2d5f94466bd05) - refactor: :recycle: move moon code to moon [`7f5d7c7`](https://github.com/thkruz/ootk-core/commit/7f5d7c74b41216e75b94fbb32b07c6303cf044ec) +- fix: :white_check_mark: fix broken tests [`d4ddcf3`](https://github.com/thkruz/ootk-core/commit/d4ddcf3250fb02f16c39c0af080f0059ad54f570) +- fix: :sparkles: implement both commonjs and modules [`732a270`](https://github.com/thkruz/ootk-core/commit/732a270cb7e0a188778015fd8344d7c46f6399d6) +- refactor: :truck: organize interfaces and enums [`16c336b`](https://github.com/thkruz/ootk-core/commit/16c336bd1c490acb5aa642b117a79bfb2af09e54) +- feat: :sparkles: add examples and reduce dependencies [`64116c8`](https://github.com/thkruz/ootk-core/commit/64116c84d03bdc7840e518164a55bc93cce23218) +- docs: :memo: remove old AGPL license [`3e94023`](https://github.com/thkruz/ootk-core/commit/3e940232873bfbb1986c52d153cfcc212560f8d7) +- refactor: :recycle: refactor GroundPosition from Sensor [`65a6782`](https://github.com/thkruz/ootk-core/commit/65a67823cbcd5b01d6c20a65ff3965965062f77a) +- docs: :memo: update readme and imports [`6475a97`](https://github.com/thkruz/ootk-core/commit/6475a9736855a3d7692cc0f23bad4b0b49088415) +- fix: :bug: fix doppler factor calculation [`fb7d26e`](https://github.com/thkruz/ootk-core/commit/fb7d26eafca0c61e73ae5a7e282082fdecb4673f) +- Create LICENSE.MD [`e51bf0e`](https://github.com/thkruz/ootk-core/commit/e51bf0e455ba43d1b4deb39828f6bf1eb6ef099e) +- docs: :memo: update readme doc [`6420157`](https://github.com/thkruz/ootk-core/commit/642015754ea207f78434eab9878ab82fdcbae4ec) +- fix: :bug: use date object instead of realtime date [`3215f22`](https://github.com/thkruz/ootk-core/commit/3215f228cd3cfb3c280dd233cbf829d57e3eeeb8) +- docs: :memo: update changelog [`42eb591`](https://github.com/thkruz/ootk-core/commit/42eb591ec7516dabe0a5a632bf4508e57690ba54) +- Rename LICENSE.MD to LICENSE.md [`1432ef8`](https://github.com/thkruz/ootk-core/commit/1432ef8ee3859ea203f3da00ddcd05ef3650793a) #### v1.0.0-0 -> 7 January 2024 +> - feat: :boom: initial commit [`9893a6a`](https://github.com/thkruz/ootk-core/commit/9893a6acfb5dd51b12d755518c3af120fecc28be) - test: :truck: update names and paths [`c48aece`](https://github.com/thkruz/ootk-core/commit/c48aece9a4c8a328cc7778292c4397312c162982) diff --git a/changelog.hbs b/changelog.hbs new file mode 100644 index 0000000..df4329b --- /dev/null +++ b/changelog.hbs @@ -0,0 +1,32 @@ +### Changelog + +All notable changes to this project will be documented in this file. Dates are displayed in UTC. + +{{#each releases}} + {{#if href}} + ###{{#unless major}}#{{/unless}} [{{title}}]({{href}}) + {{else}} + #### {{title}} + {{/if}} + + {{#if tag}} + {{#each commits}} + {{#if @first}}> {{niceDate}} {{/if}} + {{/each}} + {{/if}} + + {{#if summary}} + {{summary}} + {{/if}} + + {{#each merges}} + - {{#if commit.breaking}}**Breaking change:** {{/if}}{{message}}{{#if href}} [`#{{id}}`]({{href}}){{/if}} + {{/each}} + {{#each fixes}} + - {{#if commit.breaking}}**Breaking change:** {{/if}}{{commit.subject}}{{#each fixes}}{{#if href}} [`#{{id}}`]({{href}}){{/if}}{{/each}} + {{/each}} + {{#each commits}} + - {{#if breaking}}**Breaking change:** {{/if}}{{subject}}{{#if href}} [`{{shorthash}}`]({{href}}){{/if}} + {{/each}} + +{{/each}} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index bde7ab0..1fe522f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,6 +17,7 @@ "@typescript-eslint/eslint-plugin": "^6.18.1", "@typescript-eslint/parser": "^6.18.1", "auto-changelog": "^2.4.0", + "auto-changelog-thkruz": "^1.0.0", "babel-eslint": "^10.1.0", "babel-loader": "^9.1.3", "eslint": "^8.56.0", @@ -5127,6 +5128,49 @@ "node": ">=8.3" } }, + "node_modules/auto-changelog-thkruz": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/auto-changelog-thkruz/-/auto-changelog-thkruz-1.0.0.tgz", + "integrity": "sha512-IpuvKyWy4ki5gCnhWPSPM8vrI+8XRwjlHXvsb/ZS018HR0QQs0J4HIZXJh521qBeO6P1gVXD8IfdkhQX4XiJew==", + "dev": true, + "dependencies": { + "commander": "^7.2.0", + "handlebars": "^4.7.7", + "node-fetch": "^2.6.1", + "parse-github-url": "^1.0.2", + "semver": "^7.3.5" + }, + "bin": { + "auto-changelog": "src/index.js" + }, + "engines": { + "node": ">=8.3" + } + }, + "node_modules/auto-changelog-thkruz/node_modules/commander": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/auto-changelog-thkruz/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/auto-changelog/node_modules/commander": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", diff --git a/package.json b/package.json index d0ec642..bc282e5 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "description": "Orbital Object Toolkit. A modern typed replacement for satellite.js including SGP4 propagation, TLE parsing, Sun and Moon calculations, and more.", "scripts": { "build": "npm run clean && npx tsc -p tsconfig.build.json -m esnext", + "changelog": "auto-changelog --tag-prefix v --commit-limit false -t ./changelog.hbs -o ./CHANGELOG.md", "clean": "node ./scripts/cleanup.mjs", "lint": "npx eslint src", "lint:fix": "npx eslint src --fix", @@ -42,6 +43,7 @@ "@typescript-eslint/eslint-plugin": "^6.18.1", "@typescript-eslint/parser": "^6.18.1", "auto-changelog": "^2.4.0", + "auto-changelog-thkruz": "^1.0.0", "babel-eslint": "^10.1.0", "babel-loader": "^9.1.3", "eslint": "^8.56.0", @@ -51,4 +53,4 @@ "typescript": "^4.9.5" }, "homepage": "https://github.com/thkruz/ootk-core" -} +} \ No newline at end of file