diff --git a/CHANGELOG.md b/CHANGELOG.md index c45a9c5..25e7c0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,141 @@ # Changelog +## [4.0.0](https://github.com/ubiquity-os/ubiquity-os-kernel/compare/v3.0.0...v4.0.0) (2024-12-21) + + +### ⚠ BREAKING CHANGES + +* renamed kernel toml +* payload is fetched from KV +* renamed PRIVATE_KEY to APP_PRIVATE_KEY, WEBHOOK_SECRET optional and removed WEBHOOK_PROXY_URL +* bumped eslint to v9 +* removed GitHub type from the configuration as it is deduced using the plugin element string + +### Features + +* actions sdk ([c4160c6](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/c4160c6d095a0354f59666c5f8e90cfceaab1a4c)) +* add app id and bot user id ([d292f5a](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/d292f5abf93301aaee0d508a0166d891ac36fd18)) +* add environment variable to configuration ([c3dc29d](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/c3dc29de2c3cf00c3d5e369f260974181f8ee46c)) +* add signature to action plugins ([a682ce0](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/a682ce0d64438bc82a60eaba251a4bc0b8094c49)) +* add tests ([2be91f6](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/2be91f648bb2c98e73549e5a7ed7fd5c5025098d)) +* added branch deployment ([51f1276](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/51f1276aac4a4c382876a83e597d4610bcbbb65b)) +* added manifest to hello-world-plugin.ts ([d93b5c3](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/d93b5c33ca0913a09a78034c7de7100f232a46c6)) +* added ref on manifest.json retrieval for workers ([bd1f58f](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/bd1f58fac4fc2e591411e3696baab22cb0b247e1)) +* added release-please.yml ([1ee4961](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/1ee4961c3b05ed9b8b69520cc18aef9d6d54c73d)) +* added tests for ref manifest fetching ([49bef29](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/49bef29e119de767a55edd4d6069417f4984e977)) +* additional properties and required ([639e4e3](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/639e4e39f7e45ff449596c1aaea2ad4cb214ef84)) +* bumped eslint to v9 ([21d800a](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/21d800a649d709477a8ef7b49477886bb431523c)) +* development config ([94e2685](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/94e26850def80bfd770149bc364967745c58b7a0)) +* enabling worker observability ([4853aa8](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/4853aa80b824274c3fdfae1f0380ab121ba6e847)) +* export ([f56714b](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/f56714b24474400f82e1e53026d4cfd600549091)) +* export additional config constants ([a2ca525](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/a2ca5258e2a233b7bc54d49ee2b58ca25776dbbe)) +* export context ([1f6c922](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/1f6c922956113f9d9d131237fcd3afe19f53ff33)) +* fix signature and add plugin github token ([6941ff8](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/6941ff841db7f9a616f9e92e86f4a0dc120ea46c)) +* fix tests ([2b150a1](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/2b150a108e7e69c0832cf87dd107421032cbb97d)) +* help is displayed on /help command ([7033aac](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/7033aacf6d072cbdf133d59ad61610e1ed67cd25)) +* hono ([a8e29de](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/a8e29dec63807c70b2eef1e3f271fed0320c6444)) +* hono ([fef7870](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/fef7870afc5cf751e434f49cd04763ee32645e91)) +* initial impl ([c5b77f3](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/c5b77f32fc1518d5bf5ed525dcc185d429b87c9d)) +* interactive setup ([6916ad3](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/6916ad3b31491ef2b8d8531a985727f04bcf67a8)) +* jest typescript config ([132537c](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/132537c6849ede075c25dd81d39b7c12f76101c1)) +* make createPlugin sync function ([ff36f56](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/ff36f5665d7661a253f20ef5598d712bbc26ac23)) +* manifest commands object ([67de8cf](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/67de8cf4dc1ff08597ed02fcd3f00a72505ab204)) +* manifest is now read and cached from the target repo ([9c66d70](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/9c66d7077cf64b6609b6d3abdaba1686b8dba775)) +* manifest is now read and cached from the target repo ([76af3a0](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/76af3a0b4efa380b0d495c2532a308123902d074)) +* merge ([6d24748](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/6d2474877400309adec0eec382b629f64eab6265)) +* more context and tests ([e90a93d](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/e90a93d4313703b88becd25c2918c154ae0be1fc)) +* multiple commands can be handled for skip ([7b3e111](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/7b3e11100ce055961309c1faed38f10cf14f82f6)) +* payload is fetched from KV ([de80953](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/de80953852a459d84f34ff6ef9d79b8b57dc3a71)) +* sdk ([b42f9b6](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/b42f9b6c7fff1a37a840c686311229251dda5154)) +* serve manifest ([34adce1](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/34adce187ac254db3b3cb2dfb52f044c7809c19b)) +* test for skipBotEvents ([128e93e](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/128e93efc9a28533834d009d582f62894a2a4927)) +* ubiquity logger ([4053df7](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/4053df7252759b74359bf05fdc87fd1d92be0875)) +* use empty store ([af5da64](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/af5da64136811c8a1d5766cf2e851a282f86af63)) + + +### Bug Fixes + +* add error handling to plugin dispatch ([a3acebf](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/a3acebff41da8284adaa9669f4ca987969fe506d)) +* add error handling to schema decoding ([7b15aa1](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/7b15aa133404f3e254b2bdc2e7cd347bad47067b)) +* add npm token authentication ([d551da3](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/d551da3f55f4f1e09b731a47428f70ee42417cb0)) +* add paginateGraphQL plugin to customOctokit ([a3e1202](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/a3e1202beb2fd55f5ff79e33fbc4f538ff145dfb)) +* added MD escape for content ([05c505c](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/05c505ceac36c206b0c25145dc123595940fb9a2)) +* added tests related to help command ([bfa8fe8](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/bfa8fe865158478923d8d1624f1cd565ea3ab410)) +* bumped plugin-sdk ([a65c27a](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/a65c27a05110e0fd11b76b51a0b64de2e458fd44)) +* bumped wrangler version ([9f647ab](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/9f647aba36cfcd15d341c37c332681d618aa5c6a)) +* call plugins synchronously ([8f386a0](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/8f386a0ab0d76a59379477507756daba8a238008)) +* change file name ([561077e](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/561077e5713a202bfff476948d46ac2d3e1556be)) +* ci ([026ed42](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/026ed429e5ea1ca164d46a138042cb26e8f3b259)) +* ci test ([199c646](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/199c646085e13c93ea101581f6de5d157e759f60)) +* correct manifest decoding logic ([f76696b](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/f76696ba635ace0d24e1c709da5bd34ee0251b6f)) +* correct variable used in error logging ([37ca024](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/37ca024c55cef96fa0624723e8c4f31891873518)) +* empty store ([9eb1014](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/9eb10143182c70873d7ed7c92c7659eaf3fb1ad9)) +* enabled nodejs compat ([bc05c58](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/bc05c5815161dfc78a825ef9367d55c56ce6e30c)) +* enabled nodejs compat ([8b27baa](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/8b27baa661b8162de23378ac2e9f684282dfff93)) +* enabled nodejs compat ([41e4b96](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/41e4b96a62555a0c83d033e9541fe4c5eb91615e)) +* enhance error log context and config path handling ([9a4bede](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/9a4beded34fda1226372bb901b262e3a072c7ee1)) +* escape only pipes ([6e24973](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/6e2497385c688c8b459cbd3032a84df77e2941bd)) +* export Manifest type from SDK ([2b090cd](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/2b090cd26d8be7938ca9f33f8152e05506ce143e)) +* file name ([98fdee7](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/98fdee7f84ec3ec4aa57ebdd990cf2172a694bb5)) +* fixed proxy target url ([7079aba](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/7079abab83b8810c64761373adf4eeda118f5a67)) +* illegal invocation ([f393668](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/f39366866b29863b5d7772c1dd60fae45921dbfb)) +* import buffer from node namespace ([bd9c210](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/bd9c21053c4131121150a1fd1277d4e9fc57307e)) +* imports ([01854e7](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/01854e7d3e1a9ad824b6a34d13e7c2e77b276af4)) +* install @ubiquity-os/ubiquity-os-logger ([4d6eae9](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/4d6eae95d0826a20c8f52ac9c991bc85eeb4c379)) +* knip ([64681b8](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/64681b8abcbabe63c2e8490c30730c5cff7cf694)) +* knip ([5b3dfad](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/5b3dfade96b21065664f35db972d9cdcbb2704ea)) +* knip, test ([6018c59](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/6018c596cea743d0e41457434fbda4a40df59ff2)) +* lockfile updates ([74c4fb3](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/74c4fb32997aadbc72b3a85395a713ad68beb013)) +* log if comment can't be created ([ba98cb6](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/ba98cb691e168b5d563ac45611cd10cc08216f93)) +* manifest commands are properly checked for skipping ([b4e8fb6](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/b4e8fb6642dd3a759583c1998b1a351b4f3f0e56)) +* packages ([7277580](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/7277580ae867ec22c01e73317d3ec4cffbfce325)) +* pin version ([4cd4ae6](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/4cd4ae6edf7aed0d8ffa13a93459ea0136794156)) +* **push-event:** handle changes to both dev and prod config ([9435e12](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/9435e1222d7c5726f67c2e7e77df2c15aef7cd27)) +* regex to match action now accepts higher depth ([668062f](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/668062fcee5d3aab60cc97ac7434f57b4efcbb35)) +* remove broken test ([472e929](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/472e929324319ee7d7282cb8fc960d63445ec737)) +* remove SDK files and update dependencies ([d47c5f2](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/d47c5f28c1a0c68ed9ecd0269d143a411b9ac979)) +* remove test command ([fcb4078](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/fcb4078241964c05c6b011bc44fa1415feb5c8b3)) +* remove ubiquibot phrasing ([b22d978](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/b22d97842415be571c1b210a61cf5b9dd0aea913)) +* removed GitHub type from the configuration as it is deduced using the plugin element string ([570b68e](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/570b68e18639e9c38a90872cfb8cbfbbdf661481)) +* renamed PRIVATE_KEY to APP_PRIVATE_KEY, WEBHOOK_SECRET optional and removed WEBHOOK_PROXY_URL ([f71043e](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/f71043e7f1fe0277591e0682e2ff3340e206e0b9)) +* replace process.env with ctx.env in server.ts ([d376750](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/d376750105fbebe087a5f013c426002a58d8af65)) +* resolve conflicts ([403232c](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/403232cdc4aee6260bf968875d90edf211a6c961)) +* resolve input decoding issue in server.ts ([fe99961](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/fe99961d583a5ca683a98905de0b108471c4089a)) +* **sdk:** add postComment function for structured metadata ([b87f4ca](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/b87f4cad9106ae802ce6407dd58b2221264e8554)) +* serialize plugin and value in error messages ([7841107](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/78411073714163f0fddde09b3b3a16705705f955)) +* simplify array check ([0421c30](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/0421c306a0a67ceed8a9a0007b14d93a0649bc14)) +* skip posting help comment when no commands found ([a71eb67](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/a71eb673678b4eb438dd4c6d78f17a78f40f4503)) +* spell ([b40750f](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/b40750ffa37ec668eb1dd0c2ee7fd0525c66f73f)) +* tests ([1fd1fbc](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/1fd1fbc33a5982f4dd35877b5aa8a676e95719aa)) +* tests ([b58f0f0](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/b58f0f0bee7511993d32c2d8e4158852296048bd)) +* tests ([164f247](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/164f247f16868f99e133ec768d8d4c8d4ef6646b)) +* tests ([e32602a](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/e32602a1f357d093a2a7471796fbe54ae49176e5)) +* tests ([7d6d1c0](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/7d6d1c0b18ca5f2067e3b6737e22c30e03378a73)) +* trimming body to find commands ([fd17b58](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/fd17b5814da8ca35812738a7a3bf06ab8bee18dd)) +* tsup ([e0ccba3](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/e0ccba36bc84febb11e00146aa2ea1c051e6fe0d)) +* types ([bfe4651](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/bfe46515a257ff6c41b97581d25f4c125046f60f)) +* update comment body to use diff instead of raw log ([1ccbac3](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/1ccbac3ad3083f0527fc62290d00b0f0470ed86f)) +* update dependencies in package.json ([f09bf82](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/f09bf82088e19d853537d71189e4f0bbd0b409c3)) +* update eslint ignores ([758145b](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/758145bf998e66560ae105e0353b8a5ede05f19f)) +* update Husky setup for production and CI ([9a76d37](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/9a76d37ec6839f2296cece682192b9cb653b0553)) +* update husky to version 9.1.6 ([ca08e9f](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/ca08e9f8485a9ae8129e96fdefe052c1a9109ac0)) +* update module paths and tsup config for modern output ([c517513](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/c5175131d77f8647ecc8550aaa16c0a51d3e8e65)) +* update module paths and tsup config for modern output ([3b1f303](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/3b1f3036a3fdc672f3da357171949ae0508ec157)) +* update package name in package.json ([a8ac6fb](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/a8ac6fbdab86622dd40ed5382f79babd15f13565)) +* update public key to match new private key ([6986998](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/69869988257fbf63ebe37c4c033ab75bc7d2d2ab)) +* update release workflow for node support ([5e1239e](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/5e1239e7622eaa9af8fbfe3a9ae925cd8cce0d70)) +* update release-please.yml ([4fb79a0](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/4fb79a0c736d5e23701084bd5d4fcd66b7e41f19)) +* update sdk ([80e6bbc](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/80e6bbcc5ff8823b733938180e4fea0a2addf4a2)) +* update token variable and reorder dependencies ([f3c5df8](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/f3c5df8b57e135c0e367c40cec19f8fea102bc28)) +* **worker:** handle exceptions properly in webhooks ([1792982](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/17929825e807c57ed29eb84f7d59ba327ae06010)) +* **worker:** handle exceptions properly in webhooks ([f146a64](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/f146a64bff645023f1630c4aee4e5b7c649fc858)) +* **workflow:** update worker-deploy and setup-kv scripts ([1c293d8](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/1c293d8057bfe13282b7d8a6ec2998b43f6ae995)) + + +### Miscellaneous Chores + +* renamed kernel toml ([1c42c47](https://github.com/ubiquity-os/ubiquity-os-kernel/commit/1c42c47fd1f8916d71b90cd5cbff846e029e16ef)) + ## [2.6.0](https://github.com/ubiquity-os/ubiquity-os-kernel/compare/v2.5.6...v2.6.0) (2024-11-30)