-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add compatibility layer for eyre
and anyhow
#763
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I generally am not a fan of this. Adding a whole trait (which is basically the same as the other trait so now we have to maintain it in two places), for the purposes of compatibility with another solution which really is more of an alternative rather than working together.
But I guess if eyre
has established a pattern of compatibility with anyhow
then we should also do it because someone has already asked us for this, and generally it's only improving the experience for a subset of people without making it worse for everyone.
Although this is an evil, I think it's a lesser evil than not having it - it means that |
#[cfg(all(nightly, feature = "std"))] | ||
let backtrace = anyhow | ||
.chain() | ||
.all(|error| error.backtrace().is_none()) | ||
.then(Backtrace::capture); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be removed as part of #747
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will approve when you've updated the doc-comment :)
# Conflicts: # packages/libs/error-stack/src/frame/mod.rs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noice 🚀
commit 906231eef385d729022ab0163a8dfae8551560ae Author: Alfred Mountfield <alfie.mountfield@gmail.com> Date: Thu Sep 8 16:23:27 2022 +0100 Fix errors commit d115a5ff6afebc7722e308f1375e7fca8eebb220 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Thu Sep 8 17:18:16 2022 +0200 Re-add external services commit 78265a18b77a4803325fb98e40661f93557f6d1b Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Thu Sep 8 17:03:09 2022 +0200 Fix Rust CI commit d33cf06e9219747c417da246fdffb4006ec03b10 Merge: 67116523e e1f7c0dc2 Author: Alfred Mountfield <alfie.mountfield@gmail.com> Date: Thu Sep 8 15:51:36 2022 +0100 Merge branch 'main' into dev/graph commit e1f7c0dc24df9925ebd4ec684833dca93159b072 Author: Bilal Mahmoud <bmahmoud@mpi-cbg.de> Date: Thu Sep 8 12:06:50 2022 +0200 Add required components to the `toolchain.toml` of `error-stack` (#1045) Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> commit 870290a9af254ffb92d9194d3a809c866fb0976c Author: Bilal Mahmoud <bmahmoud@mpi-cbg.de> Date: Thu Sep 8 11:20:25 2022 +0200 `attach_printable()` attachments now invoke hooks in `error-stack` (#1044) commit e2592f64393d6954d537a518f8c13c731fb60b6c Author: Bilal Mahmoud <bmahmoud@mpi-cbg.de> Date: Thu Sep 8 10:45:56 2022 +0200 Remove defer from `error-stack` `Debug` and API cleanup (#1032) remove emit adjust documentation remove tests drive-by: rename increment/decrement to *_counter drive-by: make Counter of increment/decrement type private update preview README commit ef5720a929bed9602a7ba9c57ca4e53645fc8bd6 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Wed Sep 7 18:43:03 2022 +0200 Mention support for `core::error:Error` in CHANGELOG.md (#1042) commit ecd73ba14f7bf190ec6321df72a54a19087629f3 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Wed Sep 7 18:25:02 2022 +0200 Support `core::error::Error` (#1038) commit edaf86ee00bdcbd6d12b381288b414863999b892 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Wed Sep 7 14:34:37 2022 +0200 Bump toolchain to `2022-08-27` (#1037) commit b110bf3e712caf2113d490591412a5482381ee36 Author: luisbettencourt <37453800+luisbettencourt@users.noreply.github.com> Date: Tue Sep 6 18:15:11 2022 +0100 Allow reordering of sidebar pages (#931) * progress * progress * progress * progress * progress * progress * progress * cleanup * update page order only when it's different * lint fixes * lint fix * temporarily remove migration * sidebar pages loading state and reorder pages without index * dnd dropAnimation cleanup * fix drag and drop animation bug * prevent hover switching during drag * fix dragEnd animation * cleanup dropAnimation * fix drag and drop animation bug * collapsible animation * revert disabling buttons * store flat list of pageIds in state * rename utilities file to utils * Remove Drag Handle * lint fix * fix incorrect page depth limits when dragging * change function name * useCreateSubPage cleanup * useAccountPages cleanup * hooks cleanup * isDragging state * move pagesFlatIdList calculation to useMemo * move loading calculation and added useAccountPages loading state * switch useMemo with useEffect * remove unecessary casting * set variable type instead of defining it with keyword "as" * pageTreeItem Props cleanup * simplify pageTreeItem hoveredState * forwardRef generic argument * remove unecessary parameter * added getProjection comments * renamed filteredPages to expandedPages * remove dragDepth calculation from getProjection and unify identationWidth in one variable * removed unecessary import * simplify pageList state * simplify getPageList * removed unecessary field from TreeElement * state cleanup * Rename pageList to TreeItems and change structure * send previous and next index on reorder request * revert getEntityIncomingLinks * prevent multiple subpages from being created at once * prevent index non-nullable field error * lint fixes * make prevIndex optional on createPage * page loading indicator * lint fix * initial pages loading fix jump * lint fix * revert file * cursor unmount logic * remove redundant code * replace "as" keyword with type definition * derive state from props outside useEffect * remove initialLoading for page skeletons * remove last index calculation when creating root page * lint fixes commit 72d210c0628c55c50ce535253604ce623338e122 Author: Teymour Aldridge <ta@hash.ai> Date: Tue Sep 6 17:44:32 2022 +0100 Use arrow2 to deserialize Arrow Flatbuffers schema messages (#1036) commit 8af89ee2a252cd12783059e19e39564d887fc731 Author: Bilal Mahmoud <bmahmoud@mpi-cbg.de> Date: Tue Sep 6 16:45:00 2022 +0200 rework how hooks in `error-stack` emit lines and snippets. (#1008) Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> commit f59227ab9c9302750434a6ec9cbb33f63f03e112 Author: Yusuf Kınataş <yusufkinatas@gmail.com> Date: Mon Sep 5 19:08:36 2022 +0300 Implement loading state for pages (#1010) * remove prosemirror select outline * implement page content loading via BlankView * rename `blank` node to `loading` * implement page loading state * remove unnecessary public fields * fix wrong `Container` component import * improve styling of page loading state commit b3a357299cc2585fa57cc1927cb53ad996a15070 Author: Yusuf Kınataş <yusufkinatas@gmail.com> Date: Mon Sep 5 14:40:08 2022 +0300 fix BlockContextMenu focus outline issue (#1020) * fix BlockContextMenu focus outline issue * fix :active visual issue commit fa828d44b5f30e39ddde3199382bdfa44cf30fd6 Author: Ciaran Morinan <37743469+CiaranMn@users.noreply.github.com> Date: Mon Sep 5 10:22:20 2022 +0100 Improve 'add entity to block' (#1014) * rename and improve guessEntityName * filter out text entities/blocks as 'swap entity' source and target * fix text block entity filtering * use existing block type checking utilities Co-authored-by: Yusuf Kınataş <yusufkinatas@gmail.com> commit 541c649d8b225ab91430b02f909f152c3f748d37 Author: Ciaran Morinan <37743469+CiaranMn@users.noreply.github.com> Date: Fri Sep 2 14:29:55 2022 +0100 increase slonik connection timeout (#1015) commit 2aecd1690907156c68e6fae9b2ed4043c06979f4 Author: Yusuf Kınataş <yusufkinatas@gmail.com> Date: Fri Sep 2 10:13:45 2022 +0300 Fix integration tests got broken by `PageTitle` changes (#1018) * upgrade playwright version for VSCode extension * fix broken integration tests * fix broken entity-creation test * Update packages/hash/playwright/tests/page-creation.spec.ts remove stale comment line Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru> * add resetDb for playwright * rename util files to kebab-case * rename util files to kebab-case Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru> commit 96347b1222b5a74f74caaa45a6037ac4289afca8 Author: Bilal Mahmoud <bmahmoud@mpi-cbg.de> Date: Thu Sep 1 14:01:25 2022 +0200 Cleanup `error-stack` `fmt` Instruction to Symbol conversion (#1013) commit 3b4866dbb708db449e48d72386b4171224e4466a Author: Yusuf Kınataş <yusufkinatas@gmail.com> Date: Thu Sep 1 11:54:43 2022 +0300 Add loading state to pages list on the sidebar (#1009) * add sidebar pages loading state * make sidebar loading pixel-perfect Co-authored-by: Nate Higgins <nate@nateh.uk> commit a37ef1cc9bb7cf796fdfda7dc4a57af9a1432ecc Author: Teymour Aldridge <ta@hash.ai> Date: Wed Aug 31 18:11:24 2022 +0100 Refactor JavaScript runner into separate modules (#1001) Co-authored-by: David Wilkinson <6226576+nonparibus@users.noreply.github.com> Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> commit 346cc6f7eaf9d5d5721399bad1fd0fb4a1fb3435 Author: Bilal Mahmoud <bmahmoud@mpi-cbg.de> Date: Wed Aug 31 16:44:31 2022 +0200 Remove builtin debug fallback in favor of default hooks in `error-stack` (#987) commit 10304c4a407ec10aaccf16b2ede686a589ddb756 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Wed Aug 31 16:30:53 2022 +0200 Add planned features to `error-stack` changelog (#1004) commit 3491d9574d4e9dc34d91b8d6b2805e3ded7152e0 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Wed Aug 31 16:20:36 2022 +0200 Fix `anyhow` test to support backtraces (#1011) commit e44ad8e89aa0efa672cef20475d4d62e9befd814 Author: Teymour Aldridge <ta@hash.ai> Date: Wed Aug 31 12:59:00 2022 +0100 Improve shared memory segment cleanup (#998) - we now maintain an internal list containing the id of every allocated segment, which we can use to clean up the segments on operating systems (e.g. MacOS) which do not provide a way to obtain a list of all the existing shared-memory segments on the system. - also added more debug assertions to ensure correct handling of shared memory segments (i.e. not opening segments which haven't been created) commit 494d296f2e9594b23ea458da234c9494077dcc6a Author: luisbettencourt <37453800+luisbettencourt@users.noreply.github.com> Date: Wed Aug 31 11:02:15 2022 +0100 Replace DOM query with ref in Suggester (#1003) * replace querySelector with ref * PR feedback * cleanup commit ea0dacf87b6a120986081803a541cdb27ff85b02 Author: Yusuf Kınataş <yusufkinatas@gmail.com> Date: Tue Aug 30 13:23:42 2022 +0300 Improve alignment of page title and layout (#956) * use h1 as page title instead of input * implement focusPageTitlePlugin * focus to block from page title by arrow-down WIP * suppress contentEditableWarning on page title * update editor & page layout to match design * implement focus-to-editor from header * move page title to it's own folder with own utils * add `line-height` to page title * throw error if PageContext is not provided * use `TextareaAutosize` on `PageTitle` * create StyledTextarea * Support empty page titles * improve `focusEditorBeginning` function * fix lint issue * use ref instead of query selector for page title * cleanup code * use state instead of ref inside component body commit f4fa7fe54eec361411752b6b7410e6eb82313827 Author: Yusuf Kınataş <yusufkinatas@gmail.com> Date: Tue Aug 30 13:04:04 2022 +0300 Show placeholder on empty paragraphs on the editor (#953) * create PlaceholderPlugin for ProseMirror * cleanup placeholder plugin * focus on first paragraph if its empty and alone * show placeholder only for paragraph blocks * cleanup placeholder plugin * cleanup placeholder plugin * remove wrong eslint rule for DecorationSet * rename variables used for blockComponentIds * improve styling of Placeholder component * use Typography variant instead of line-height * fix blinking placeholder on focus bug * fix selection bug caused by placeholder * improve the decoration code * create `isParagraphNode`util * add comment line * improve placeholder style * move prosemirror util to related file * add comment line * move `editable` check to plugin state * clear react tree via `renderPortal` on destroy * improve selection position after `onBlockInsert` * improve state update logic of collab commit c3c8253b4626972dacf632284b142ed3a5458213 Author: luisbettencourt <37453800+luisbettencourt@users.noreply.github.com> Date: Mon Aug 29 17:03:26 2022 +0100 page menu stop onClick propagation (#1002) commit d9bf9487e316c64fe7dcf5abd8e28a56149f6631 Author: Bilal Mahmoud <bmahmoud@mpi-cbg.de> Date: Mon Aug 29 16:44:41 2022 +0200 Add support for Provider API in hooks in `error-stack` (#974) * feat: implement request_ref based hooks * feat: support hook overwrite * feat: run on nightly and stable * feat: unify `Hooks::downcast` and `Hooks::request` * fix: doc tests * docs: improve example * docs: fallback on context example * feat: extend `DebugDiagnostic` capabilities * feat: make `DebugDiagnostic` useful, tests * chore: clippy * feat: disable false-positive * Apply suggestions from code review Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> * fix: cleanup * doc: clarification * feat: move DebugDiagnostic logic into fallback * feat: introduce `Diagnostic` (future replacement for `DebugDiagnostic`) * feat: move to `Trace`, to support multiple `Emit` * fix: merge * fix: docs * fix: remove `mod unstable` * feat: move from `cfg(nightly)` to `cfg(rust_1_65)` for backtrace * fix: docs * fix: doctest nightly only * fix: apply suggestions * fix: doc cfg_attr test wording * fix: clarify docs; always append hook * Update packages/libs/error-stack/src/hook.rs Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> commit 7167192f4c8b2fa278cf5affefcb7be214307451 Author: David Wilkinson <6226576+nonparibus@users.noreply.github.com> Date: Fri Aug 26 17:34:32 2022 +0200 Minor updates to copy (#999) * Update 1_block-design.mdx * Remove simulation.school reference (for now) * Update CONTRIBUTING.md * Update 3_one-principle.mdx commit 0296c88eedf1e2bba937b4151ebf6e1fe14c49a5 Author: Teymour Aldridge <ta@hash.ai> Date: Thu Aug 25 16:34:30 2022 +0100 Upgrade arrow2 from 0.12 to 0.13 (#993) commit ef578429c48ccf5e21be3f33b22f88ff582c1bb3 Author: Teymour Aldridge <ta@hash.ai> Date: Thu Aug 25 15:39:09 2022 +0100 Fix a memory leak (#985) * Improve handling of shared memory segments - Now SharedStore is dropped before the experiment end - We also unmap shared memory on the Python side commit 1ec231c33390031ccc652cb704986f4d65bebe8b Author: Teymour Aldridge <ta@hash.ai> Date: Thu Aug 25 14:20:26 2022 +0100 Update Swatinem/rust-cache to v2 (#994) Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> commit 2226dad3be03bab68fd173f9f5275a163bfb4048 Author: Nate Higgins <nate@nateh.uk> Date: Thu Aug 25 10:08:25 2022 +0100 Assorted tidy up (#986) commit 6d045d3b6c13da30901fa50d2148d40df202ba95 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Wed Aug 24 16:17:56 2022 +0200 Publish `error-stack-macros` crate (#990) commit 766ec7226a97c7d492eb04ffd321a887a3bc849e Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Wed Aug 24 15:12:34 2022 +0200 Attempt to fix `publish` job on push to `main`, II (#992) commit 791b8cc061219bf297f64744723ed74db7a1d163 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Wed Aug 24 14:04:09 2022 +0200 Attempt to fix the `publish` job on push to main (#991) commit 5d48c662d031eec7670c3564c3f703f8cdc75503 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Wed Aug 24 13:10:27 2022 +0200 Fix refs in publish job and prepare `error-stack-macros` release (#989) commit 32e2ebd54d8235413672208326366a1a7a32f044 Author: Ciaran Morinan <37743469+CiaranMn@users.noreply.github.com> Date: Wed Aug 24 10:41:39 2022 +0100 Identify paragraph block by its componentId, not name (#978) * identify paragraph block bys its componentId, not name * remove inappropriate links from block readmes commit 8fc09122240c6b36a72b7bcb360709fc6d2dd221 Author: Bilal Mahmoud <bmahmoud@mpi-cbg.de> Date: Tue Aug 23 20:02:15 2022 +0200 Add support for multipe emits in debug hooks in `error-stack` (#976) Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> commit 26f42bfcad1391c14e52f4616e440774e43ee189 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Tue Aug 23 19:51:53 2022 +0200 Add `error-stack-macros` crate (#982) * Add `error-stack-macros` crate * Allow publishing of sub-crates commit 06ee1a7b0ee922c10760e427530a84acaadc25cc Author: Teymour Aldridge <ta@hash.ai> Date: Tue Aug 23 18:00:30 2022 +0100 Replace a number of tuples with structs (#984) commit 64c2debf982486b7574da715762a49a72a8d70e9 Author: Nate Higgins <nate@nateh.uk> Date: Tue Aug 23 16:57:46 2022 +0100 Remove editableRef (#972) Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru> commit 71babb33034ac2955f6820e13d2eedb3abf4c892 Author: Teymour Aldridge <ta@hash.ai> Date: Tue Aug 23 15:43:45 2022 +0100 Use tracing rather than `println!` for ffi errors. (#983) commit 984fbec064e2229cd3c3061ee387297c9a694a84 Author: Teymour Aldridge <ta@hash.ai> Date: Tue Aug 23 13:15:16 2022 +0100 Fix `nng` compilation on aarch64-darwin and update Python and Python dependencies (#949) - Updates all Python dependencies to latest available versions - Bumps tested Python version from 3.7 to 3.10 - Makes it possible to use nng natively on M1 mac commit 8d94768d4c592bed2ae9fb84e7ee271996e53122 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Mon Aug 22 15:53:24 2022 +0200 Support `Backtrace` on non-nightly Rust (≥ 1.65) (#968) commit 6dd8875df1bae6ef42a607534291d9010e97aef7 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Aug 22 13:46:39 2022 +0100 Bump apollo-server-core from 3.9.0 to 3.10.1 (#958) Bumps [apollo-server-core](https://github.com/apollographql/apollo-server/tree/HEAD/packages/apollo-server-core) from 3.9.0 to 3.10.1. - [Release notes](https://github.com/apollographql/apollo-server/releases) - [Changelog](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md) - [Commits](https://github.com/apollographql/apollo-server/commits/apollo-server-core@3.10.1/packages/apollo-server-core) --- updated-dependencies: - dependency-name: apollo-server-core dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit da4bba688881b576c95a4c88ca8a62d7ec5e5e71 Author: Teymour Aldridge <ta@hash.ai> Date: Mon Aug 22 13:20:13 2022 +0100 Migrate from `arrow` (`apache/arrow-rs`) to `arrow2` (unofficial, safer) (#842) Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> commit 7671483736b0089277712b7799251874bcc61727 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Mon Aug 22 12:41:26 2022 +0200 Simplify `Report` generation (#966) commit 265cad5b94aba746c39d4bded5feff74bbd754c8 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Mon Aug 22 11:58:38 2022 +0200 Move extension traits into `error_stack::ext` module (#970) commit 0705fbdc50aa6bc3344f9d7890cd39a242e1b1d6 Author: Nate Higgins <nate@nateh.uk> Date: Mon Aug 22 09:46:05 2022 +0100 Convert paragraph and callout blocks to hook service (#971) commit 07758acaeaf83ce123f5ea399d8cee79da55a95e Author: Bilal Mahmoud <bmahmoud@mpi-cbg.de> Date: Mon Aug 22 08:28:09 2022 +0200 Change `error-stack` `pub(crate)` lints (#975) commit a0bebe04c24e824250b897551639a99373cdd8dc Author: Bilal Mahmoud <bmahmoud@mpi-cbg.de> Date: Sun Aug 21 00:24:57 2022 +0200 Update `error-stack` changelog (#973) commit a5a4dd186b0ffc746d3fd007cb4e5bce0bcc2531 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Sat Aug 20 20:05:02 2022 +0200 Bump `error-stack` toolchain to `2022-08-19` (#967) commit 83a563df3e09afbaac858ef0dbe34cf3d298697f Author: Bilal Mahmoud <bmahmoud@mpi-cbg.de> Date: Sat Aug 20 15:59:48 2022 +0200 Add `fancy` output implementation for `error-stack` (#794) Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> commit 03a86a5eb3db3e5b8fe2e103a757a6668306974b Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Sat Aug 20 15:40:17 2022 +0200 Add badges to crate documentation (#969) commit 6d13fa650aadf7b9b3a8e22708e77806fbd198d9 Author: Bilal Mahmoud <bmahmoud@mpi-cbg.de> Date: Fri Aug 19 21:42:26 2022 +0200 Adjust `error-stack` `rustfmt.toml` (#965) commit 2fc044a469ae13fd1586b63ac160b81d83e2f700 Author: Teymour Aldridge <ta@hash.ai> Date: Fri Aug 19 18:32:13 2022 +0100 Create log directory if it does not exist (#964) Also raise an error if the log directory is a file. Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> commit 9acf8c50608d26adffb62cd4ad0acca556220f16 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Fri Aug 19 16:12:03 2022 +0200 Bump `rustc_version` to `v0.4` (#962) commit 256fa23cc7b032ffcd7c682dc4eb2b5610fae64a Author: Teymour Aldridge <ta@hash.ai> Date: Fri Aug 19 14:30:33 2022 +0100 Add error message for Mac shared-memory oom. (#946) Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> commit 8c50ad1a7189feafe616827ec55b0391c0428a6f Author: Bilal Mahmoud <bilalmahmoud@posteo.net> Date: Fri Aug 19 13:21:44 2022 +0200 Add feature groups for linting (#959) Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> commit b112770850ed01510c15bc6e2b173b82602d2aab Author: Teymour Aldridge <ta@hash.ai> Date: Fri Aug 19 11:05:40 2022 +0100 Fix the `multiple_runners` test. (#948) Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> commit 1054c4b254fdeb99147a13da1a1543e158eb11a5 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Thu Aug 18 14:31:09 2022 +0200 Set MSRV to 1.63 (#944) commit 085c9cbec045628f9765cb75d454564ac0183410 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Thu Aug 18 13:10:51 2022 +0200 Support different toolchains for different Rust projects (#943) commit 8d22420f7b8e467eba13edb174a4b43599837d68 Author: Nate Higgins <nate@nateh.uk> Date: Wed Aug 17 17:54:01 2022 +0100 Implement hook service in HASH (and Header blocks) (#936) commit 2beb700e8453dbb0752a2bed712114d0a38f71ef Author: Ciaran Morinan <37743469+CiaranMn@users.noreply.github.com> Date: Wed Aug 17 12:25:38 2022 +0100 Introduce data mapping prototype (#918) commit 2a7ca14837599a33c040b33a50cbee3e5fcf4dc4 Author: Ugbala Valentino <ugbalaachinike@gmail.com> Date: Mon Aug 15 17:53:17 2022 +0100 Add top context bar to pages (#929) * wip: add page context bar UI * wip: add breadcrumbs * wip: remove need to render banner/context bar in sidebar layout * add contextbar to pages * add context bar to entity and type pages * fix lint issues * rename to top context bar * add untracked file * add icon to top context bar Co-authored-by: Nate Higgins <nate@nateh.uk> commit 9c64419d8e2555b0e461ac82a627e5f52b4404b9 Author: Yusuf Kınataş <yusufkinatas@gmail.com> Date: Mon Aug 15 18:10:27 2022 +0300 Add page emoji support (#933) * fix wrong file icon on page-tree-item * remove unused favicon inside PlainLayout * add icon field to PageProperties * add PageIcon and EmojiPicker components * patch @types/emoji-mart for typescript consistency * add declaration file for @emoji-mart/react package * fix bg color visibility issue of PageIcon * add !important to not-working style on sidebar * include page icon on page title as Safari fallback * add comment * fix yarn.lock for linting * fix wrong imports * use fragment for PageProperties * add comment line explaining type casting for emoji * move type definition into d.ts file from component commit c3f8125df06e4fcbe89cca65203d611fbf8bc38c Author: Teymour Aldridge <ta@hash.ai> Date: Mon Aug 15 14:53:19 2022 +0100 Update clap version (#935) commit bea9238710996596a48cecfa49f0d221874bc042 Author: Nate Higgins <nate@nateh.uk> Date: Mon Aug 15 10:23:06 2022 +0100 Replace text entities with an empty string (#925) commit 51b4a8e86c01c7853c4d96fd0365a4c7a2116481 Author: Alexander Kachkaev <alexander@kachkaev.ru> Date: Thu Aug 11 16:59:02 2022 +0100 Update Sentry config (#920) commit 70e94a2156f293aa314c5a9149a17d8a96523d74 Author: David Wilkinson <6226576+nonparibus@users.noreply.github.com> Date: Thu Aug 11 11:39:26 2022 +0200 Add GitHub issue templates (#915) * Add GitHub issue templates * Update .github/ISSUE_TEMPLATE/bug_report.md * Update .github/ISSUE_TEMPLATE/bug-report--website-.md * Update .github/ISSUE_TEMPLATE/bug-report--hash-engine-.md * Update .github/ISSUE_TEMPLATE/bug-report--hash-app-.md * Update .github/ISSUE_TEMPLATE/bug-report--block-.md * Update .github/ISSUE_TEMPLATE/bug-report---error-stack--.md * Update templates for `error-stack` and hEngine * `yarn fix:markdownlint` && `yarn fix:prettier` * Minor tweak * Markdown newlines * Markdown newlines (2) * Rename files * Assignees and labels https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru> commit 4bf3165e0358c3a4fc056c219362b294c5b7ee56 Author: Ciaran Morinan <37743469+CiaranMn@users.noreply.github.com> Date: Thu Aug 11 09:30:29 2022 +0100 rename sentry project (#922) commit 7327a726a1035eac543468fbc7c646b3394e7ffd Author: Yusuf Kınataş <yusufkinatas@gmail.com> Date: Thu Aug 11 10:52:05 2022 +0300 Implement BlockHighlight to highlight linked block (#914) * Implement BlockHighlight to highlight linked block * move BlockHighlightContext into the page folder * use MUI Fade instead of motion.div for Highlight * Move highlight logic into onBlockLoadedContext * Use blockEntityId instead of blockView.dom.id commit 835543f633bde5f5068e2a2c2f596ed8e510083a Author: Ugbala Valentino <ugbalaachinike@gmail.com> Date: Thu Aug 11 00:18:19 2022 +0100 Implement read-only UI in blocks (#899) * add readonly mode context * bump mock-block-dock version * add countdown block readonly mode * add readonly mode to drawing block * add readonly mode to github pr block * add readonly mode to shuffle block * add readonly mode to video block * add readonly mode to image block * add readonly mode to table block * add readonly mode to timer block * update lock file * cleanups * add tests for readonly mode * add tests for readonly mode * bump mock-block-dock version in blocks * bump mock-block-dock version * update lock file * cleanups commit 018d3a12a4aff61644e6374803211b83139c0b48 Author: Yusuf Kınataş <yusufkinatas@gmail.com> Date: Wed Aug 10 10:15:27 2022 +0300 Show block handles only on mouse hover (#907) * Show BlockHandle on hover, hide it by default * Change spelling to American on comment line * Move hover logic to BlockHandle from css * Call removeEventListener for the correct element Co-authored-by: luisbettencourt <37453800+luisbettencourt@users.noreply.github.com> Co-authored-by: David Wilkinson <6226576+nonparibus@users.noreply.github.com> Co-authored-by: luisbettencourt <37453800+luisbettencourt@users.noreply.github.com> commit 9e81151721028771b56b734c4f76ccc50b99afcb Author: luisbettencourt <37453800+luisbettencourt@users.noreply.github.com> Date: Tue Aug 9 19:18:09 2022 +0100 Fix block suggester positioning (#896) * progress * switch to popper * popper dimensions fix * cleanup * PR feedback Co-authored-by: Ugbala Valentino <ugbalaachinike@gmail.com> commit fdcc6dd84a8f4d3b550595f4bb2960ec7cd947a4 Author: luisbettencourt <37453800+luisbettencourt@users.noreply.github.com> Date: Tue Aug 9 16:30:37 2022 +0100 Add 'insert block' button (#887) * progress * block suggester * fix suggester overflowing the browser window * Add button to the top of the document * fix unit test * change contextMenu to contextMenuPosition * svg color * PR feedback * Focus created block and fix scroll bug when closing popover * fix button position * revert unintentional comment Co-authored-by: David Wilkinson <6226576+nonparibus@users.noreply.github.com> commit 0d92b849c575549d106e47478da70e0ae16f1b0a Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Tue Aug 9 15:06:52 2022 +0200 Pin `error-stack` revision to 5edddb5 in hEngine (#908) commit 5edddb5566f9bd82dcdf9ba3b430759bc6b15dc5 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Tue Aug 9 13:57:20 2022 +0200 Bump Rust toolchain to `2022-08-08` (#904) * Bump toolchain to `2022-08-08` * Fix `error-stack` by using the Provider API on `Error` * Apply suggestions from clippy at hEngine * Fix UI test output * Fix test for provided backtrace * Change documentation for blanket implementation for `Error` * Mention change in CHANGELOG.md * Fix compatibility with `anyhow` and `eyre` commit 63389cb3b231f0517c465b12d2dff64ab4ee8017 Author: Alexander Kachkaev <alexander@kachkaev.ru> Date: Mon Aug 8 18:27:53 2022 +0100 Update Docker instructions and bump min Node version (#906) commit a2592e582a2fe77b228be4ece5a44fc91fad5acd Author: Ugbala Valentino <ugbalaachinike@gmail.com> Date: Mon Aug 8 14:20:16 2022 +0100 Implement read-only UI in HASH app (#893) * hide sidebar and block handle in readonly mode * hide markstooltip in readonly mode * remove unused styles * add method to set readonly mode in prosemirror * update graph functions to handle readonly mode * add readonly mode context * update readme * add requested changes * fix bug with update entity hook * fix bug with displaying marks tooltip in editable mode commit ce762e0082c2dc36e43c251517e4a631154a1382 Author: Bilal Mahmoud <bilalmahmoud@posteo.net> Date: Mon Aug 8 15:08:24 2022 +0200 Use test groups for testing `error-stack` Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> commit e87c060c21ca527ee11779b1b27adbc55a1259d1 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Mon Aug 8 14:29:39 2022 +0200 Use `error-stack` by path (#901) * Use path to `error-stack` in hEngine * Fix deprecations on error-stack usages commit 4df931c2081f5bb3623ab376cc99af98182e6ed4 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Mon Aug 8 13:40:11 2022 +0200 Fix output of toolchain in CI (#902) commit 375746ad2e71bff3ae2157e6327f9ead4b201d8c Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Mon Aug 8 12:29:46 2022 +0200 Ensure, that `Report` will always be `Send + Sync + 'static` (#900) * Ensure, that `Report` will always be `Send + Sync + 'static` * Fix requirements for a `Frame` commit 45598cd1b39d63fbce1614ebbab799b19ee60173 Author: Ciaran Morinan <37743469+CiaranMn@users.noreply.github.com> Date: Thu Aug 4 08:34:25 2022 +0100 Load any child entity into a block + remove feature flag (#888) * load any child entity into a block. remove swap entity feature flag * remove __linkedData from mock data * Update packages/hash/api/src/collab/save.ts Co-authored-by: Ugbala Valentino <ugbalaachinike@gmail.com> * Update packages/hash/frontend/src/blocks/page/BlockContextMenu/LoadEntityMenuContent.tsx Co-authored-by: Ugbala Valentino <ugbalaachinike@gmail.com> Co-authored-by: Ugbala Valentino <ugbalaachinike@gmail.com> commit 6b02010ae1d789291038762b1e3192d077fd593c Author: Nate Higgins <nate@nateh.uk> Date: Tue Aug 2 18:48:47 2022 +0100 Blocks dynamically become text blocks upon call to editableRef (#872) Co-authored-by: Ciaran Morinan <37743469+CiaranMn@users.noreply.github.com> commit f10c295f018f385bce153595541ae2c94efcd0b5 Author: luisbettencourt <37453800+luisbettencourt@users.noreply.github.com> Date: Mon Aug 1 14:18:41 2022 +0100 Fix overflow on link dialogue (#882) * add word-break to link * PR feedback commit e940d9cef3acf76043323dcc59a5dc3f849fd839 Author: luisbettencourt <37453800+luisbettencourt@users.noreply.github.com> Date: Mon Aug 1 13:13:12 2022 +0100 Disable page scrollbar when popups are opened (#865) * remove scrollbar from page when opening popovers, dialogs and menus * no-restricted-imports eslint fix * change overflow hidden to scroll on useScrollLock * eslint fixes * PR feedback commit b450ff11c4fa13082e9459128df3c619754ce0e7 Author: luisbettencourt <37453800+luisbettencourt@users.noreply.github.com> Date: Mon Aug 1 12:20:58 2022 +0100 prevent paragraph from being ignored in bolded and italics paragraphs (#880) * prevent paragraph from being ignored in bolded and italics paragraphs * remove paragraph check * remove unused import Co-authored-by: David Wilkinson <6226576+nonparibus@users.noreply.github.com> commit 251880c6aa94b16d61b3ea0249412b3805863276 Author: Ciaran Morinan <37743469+CiaranMn@users.noreply.github.com> Date: Mon Aug 1 11:37:11 2022 +0100 update blockprotocol version, fix react version consistency (#868) commit 93b643e3f17d16c3371c159dc865f234138faee3 Author: luisbettencourt <37453800+luisbettencourt@users.noreply.github.com> Date: Fri Jul 29 17:06:13 2022 +0100 change workspace name and fix examples (#881) commit 98818b692742dbadd77eaf824c6d51bb8dec7998 Author: luisbettencourt <37453800+luisbettencourt@users.noreply.github.com> Date: Fri Jul 29 14:33:55 2022 +0100 Shuffle Block (#835) * block init * progress * progress * sortable list * shuffle button * save block list * cleanup * reducer cleanup * reducer cleanup * block styling * block config * list item styles * cleanup * list items key prop * README * replace "Item" with "Thing" * disable shuffle button when only 1 item is in list * lint fixes * Update packages/blocks/shuffle/package.json Co-authored-by: Ciaran Morinan <37743469+CiaranMn@users.noreply.github.com> * fix Action type * dnd-kit tests * switch dnd library to dnd-kit * update entity when items change * block state management * optional block parameter * remove item id from db * fix reorder animations * styles * block metadata * lint fixes * findItemIndexById utility * remove early return * react to external changes in render function * prevent createItems from running on every render * changed list to draftItems and created helper function for updating state * getItemValues helper function * eslint fix * dragging animations * accessability * yarn.lock * update preview * allow removing all items * lint fix * remove ref from item propTypes * unecessary lodash isEqual call * dragOverlay pop animation cleanup * disable keyboard sorting * import button from @hashintel/hash-design-system Co-authored-by: Ciaran Morinan <37743469+CiaranMn@users.noreply.github.com> Co-authored-by: Nate Higgins <nate@nateh.uk> commit a33222071bb4d85b733f06675a12599f31ba97a2 Author: Bilal Mahmoud <bmahmoud@mpi-cbg.de> Date: Thu Jul 28 09:42:03 2022 +0200 Fix generic arguments when requesting from a `Provider` (#874) commit b850b02c3dbf1bd2cbbb404baa6ea1d581389cde Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Wed Jul 27 17:18:57 2022 +0200 Pin cargo tool versions for `cargo make` (#866) commit 3eebdd7e0d91364f26ab4ef1995f85dce2add2ed Author: Ugbala Valentino <ugbalaachinike@gmail.com> Date: Tue Jul 26 21:06:46 2022 +0100 bump block-scripts to 0.014 (#859) commit c57df498afce4b2d0900c0cbdd64ace6aa01343d Author: Ciaran Morinan <37743469+CiaranMn@users.noreply.github.com> Date: Tue Jul 26 15:28:22 2022 +0100 Upgrade cron (#861) * upgrade cron * upgrade @types/cron * fix @types/cron version commit ce3700fc61af982fba584707ee5701813e2320ba Author: David Wilkinson <6226576+nonparibus@users.noreply.github.com> Date: Tue Jul 26 14:45:08 2022 +0200 Minor updates and fixes to glossary/docs (#857) * Rename fast-healthcare-interoperability-resources.mdx to fhir.mdx * Rename content-management-system.mdx to cms.mdx * Rename customer-relationship-management-system.mdx to crm.mdx * Rename applicant-tracking-system.mdx to ats.mdx * Update README.md * Update README.md Requires further improvements * Update entities.mdx * Add link to entities page * Update schemas.mdx Requires further revision to reflect altered role of schemas within HASH Co-authored-by: Ciaran Morinan <37743469+CiaranMn@users.noreply.github.com> commit 17296c918eeadfc86ec7e0c1c08638af955a225d Author: Ciaran Morinan <37743469+CiaranMn@users.noreply.github.com> Date: Tue Jul 26 11:51:58 2022 +0100 Escape less-thans in mdx (#856) commit 889ce0d2b27763d739808b5c5c66444653a77717 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Tue Jul 26 11:05:48 2022 +0200 Pin `cargo quickinstall` versions (#853) commit ce81bc7702cbf223665263b457c810ced9733922 Author: Ciaran Morinan <37743469+CiaranMn@users.noreply.github.com> Date: Mon Jul 25 15:11:07 2022 +0100 Remove `.hashconfig.json` (#829) commit 6591883199b4b07077155bc67da589179211cef7 Author: Alexander Kachkaev <alexander@kachkaev.ru> Date: Mon Jul 25 13:59:43 2022 +0100 Enable `reportUnusedDisableDirectives` in `.eslintrc.json` (#849) commit dd1545bf841f416d4d5165c296d7007729b70261 Author: Alexander Kachkaev <alexander@kachkaev.ru> Date: Mon Jul 25 12:41:09 2022 +0100 Align React imports (#847) commit eb327e81362d1191a8cbc7f779e49f0f5abe471f Author: Ahmad Sattar <thehabbos007@gmail.com> Date: Mon Jul 25 11:26:34 2022 +0200 Add timeout for Collab `positions` polling (#848) commit af0efcaafe0d8e397f46369297fc43592424d137 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri Jul 22 12:48:25 2022 +0100 Bump terser from 5.12.1 to 5.14.2 (#836) Bumps [terser](https://github.com/terser/terser) from 5.12.1 to 5.14.2. - [Release notes](https://github.com/terser/terser/releases) - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](https://github.com/terser/terser/commits) --- updated-dependencies: - dependency-name: terser dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit f08a2143c44f2352fda49563e92ba199a8f514d3 Author: Alfred Mountfield <am@hash.ai> Date: Fri Jul 22 10:43:54 2022 +0100 Adding missing Python dependency (#846) commit 7bf8f576597f48f2bc70842d486befe9b4c47f02 Author: Ciaran Morinan <37743469+CiaranMn@users.noreply.github.com> Date: Thu Jul 21 17:18:33 2022 +0100 Return ALL types when selecting possible values or creating new entities (#837) * expand getAccountEntityTypes to also return all types (temporary hack) * fix test: bypass cache for listing account entity types, so they are current after updating an entity commit 9460f2317cb27d8167000b4c7317efee251e5b5f Author: Teymour Aldridge <ta@hash.ai> Date: Thu Jul 21 16:46:21 2022 +0100 Allow comments in engine json config files (#844) commit c65cb321d242919103b8c8f9064149473019621e Author: luisbettencourt <37453800+luisbettencourt@users.noreply.github.com> Date: Wed Jul 20 13:28:12 2022 +0100 Remove unsupported block types from swap list (#806) * remove unsupported block swap types * fix lint error * Hardcode swappable blocks by componentId * lint fix * PR feedback * Update packages/hash/frontend/src/blocks/page/BlockContext.tsx Co-authored-by: Nate Higgins <nate@nateh.uk> * Update packages/hash/frontend/src/blocks/page/usePortals.tsx Co-authored-by: Nate Higgins <nate@nateh.uk> * Update packages/hash/frontend/src/blocks/page/usePortals.tsx Co-authored-by: Nate Higgins <nate@nateh.uk> * revert to id as optional parameter for renderPortal * lint fixes Co-authored-by: Nate Higgins <nate@nateh.uk> commit af0da2d91bc951b5618e457b681657f78b8f8f5b Author: Ciaran Morinan <37743469+CiaranMn@users.noreply.github.com> Date: Tue Jul 19 19:39:19 2022 +0100 bump graph version (#825) Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru> commit 386175695d2f6e09baf7707fbf8c4f71552dee6c Author: Nate Higgins <nate@nateh.uk> Date: Tue Jul 19 17:20:27 2022 +0100 Upgrade header & callout block to BP 0.2 (#826) commit 1f4632f39044959332be44a372d258b16b00aaf5 Author: Nate Higgins <nate@nateh.uk> Date: Mon Jul 18 16:45:49 2022 +0100 Simplify portal implementation, improving performance (#820) commit f658a71c54974b12019ce4198d5f0f7c5b79f8f9 Author: Ugbala Valentino <ugbalaachinike@gmail.com> Date: Mon Jul 18 13:22:30 2022 +0100 Fix broken Table entity type page (#795) * stringify constraints commit b2a20abf92b8c2a5ffe576da40189046ecac00dc Author: West <c.westrom@westrom.xyz> Date: Mon Jul 18 08:43:25 2022 +0000 Add rust-mode workaround for error_stack errors (#812) Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> commit e248d06d0b783a7d93875a7323d13e4ddd319fc9 Author: Alexander Kachkaev <alexander@kachkaev.ru> Date: Fri Jul 15 18:07:34 2022 +0100 Skip Playwright downloads by default to speed up CI (#813) commit 4cdadb59928777aef5484fb850fb32c430f1196d Author: Alexander Kachkaev <alexander@kachkaev.ru> Date: Fri Jul 15 17:27:26 2022 +0100 Cache frontend `.next` folder in CI (#810) commit 7e4bab06012144621c52e5e14be4f67e3d5c89cc Author: Ugbala Valentino <ugbalaachinike@gmail.com> Date: Thu Jul 14 15:42:54 2022 +0100 Fix bug where loading new blocks crashes other clients (#807) * ensure new blocks get defined during polling * add fallback to ensureBlocksDefined commit f007eb3553388bb62ed2fdc2664599612329fee4 Author: luisbettencourt <37453800+luisbettencourt@users.noreply.github.com> Date: Thu Jul 14 00:00:16 2022 +0100 insert block in the correct position (#782) Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru> commit 093f3fafff4f86210aa497a219d20a81979bd751 Author: luisbettencourt <37453800+luisbettencourt@users.noreply.github.com> Date: Wed Jul 13 23:49:10 2022 +0100 Add undo and redo actions to text blocks (#772) * Add undo and redo keymaps to prosemirror * PR feedback * PR feedback * Update packages/hash/shared/src/createProseMirrorState.ts Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru> * Update packages/hash/shared/src/createProseMirrorState.ts Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru> Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru> commit fe27f63ba562abb36b0f477d0c36c3cf025ea547 Author: Ciaran Morinan <37743469+CiaranMn@users.noreply.github.com> Date: Wed Jul 13 20:43:45 2022 +0100 add stage.hash.ai to api cors (#801) commit e6327ee1b3fe4ebc319188830ab4d7a6b35b0798 Author: Ciaran Morinan <37743469+CiaranMn@users.noreply.github.com> Date: Wed Jul 13 20:11:19 2022 +0100 send entity type for root entity to blocks (#800) commit d1d140e64393c185f90aa9bd986740b8f1af97a4 Author: Ugbala Valentino <ugbalaachinike@gmail.com> Date: Wed Jul 13 16:20:04 2022 +0100 Fix create page playwright test (#796) * fix failing playwright tests commit 9d01d30ea1707341387bd8fa21e637c70f9f8cfa Author: Teymour Aldridge <ta@hash.ai> Date: Wed Jul 13 11:49:22 2022 +0100 Turn some functions and traits into methods (#787) commit 3555f384b79dd2c7f0105a3753f30fb468c5ec9e Author: Ciaran Morinan <37743469+CiaranMn@users.noreply.github.com> Date: Wed Jul 13 10:57:55 2022 +0100 Upgrade HASH to use Block Protocol 0.2 (#752) commit 60291c3bc3fc656f866333de663fdf841a2a1db8 Author: Teymour Aldridge <ta@hash.ai> Date: Wed Jul 13 10:42:30 2022 +0100 Remove `batches` and `batches_mut` functions (#791) commit 1831bc84d6db7ba2f1d63ae5cf96c18ee0a045bf Author: Bilal Mahmoud <bilalmahmoud@posteo.net> Date: Tue Jul 12 19:30:04 2022 +0200 Support related errors in `error-stack` (#747) Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> commit bd7ff694dbd3afd9af53110bb8eb88c75f09d09f Author: Teymour Aldridge <ta@hash.ai> Date: Tue Jul 12 17:02:31 2022 +0100 Update v8 to latest version (#789) commit a1a3a9b236d0e58d2ba069d0817f8157849d8157 Author: Alexander Kachkaev <alexander@kachkaev.ru> Date: Tue Jul 12 12:50:47 2022 +0100 Update Node in Docker images from 16.14.2 to 16.16.0 (#786) commit 798e66454e89095098dcd37c3afcc36337389eba Author: Alexander Kachkaev <alexander@kachkaev.ru> Date: Tue Jul 12 10:18:56 2022 +0100 Update React to 18.2 (#769) commit 13ab41e8c9a73da87a7f44909cb9b9ee61ae2583 Author: Teymour Aldridge <ta@hash.ai> Date: Tue Jul 12 09:59:22 2022 +0100 Check path of `memory_id` not `id` when creating a `MemoryId` (#784) commit 6d9e19b060fdb0b7894e253ac88132e4b0c5e519 Author: David Wilkinson <6226576+nonparibus@users.noreply.github.com> Date: Mon Jul 11 19:43:09 2022 +0100 Update glossary definitions (#748) * Update digital-twin.mdx * Rename customer-relationship-management-system.mdx to crm.mdx * Rename content-management-system.mdx to cms.mdx * Rename applicant-tracking-system.mdx to ats.mdx * Rename fast-healthcare-interoperability-resources.mdx to fhir.mdx * Update and rename enterprise-resource-planning.mdx to erp.mdx * Update and rename robotic-process-automation.mdx to rpa.mdx * Update url_map.json `erp` and `rpa` changes reflected commit c791dec8c3db4930fdc8f1d40041899192d0910d Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Mon Jul 11 19:01:14 2022 +0200 Improve Rust CI performance (#779) commit c81e2a18f364f073c6dc53693d998281d3b000ef Author: Alexander Kachkaev <alexander@kachkaev.ru> Date: Mon Jul 11 15:48:13 2022 +0100 Update GraphQL dependencies (#753) commit 1beb92c1f30c56b514cb34fef4c3f38311760aa1 Author: Teymour Aldridge <ta@hash.ai> Date: Mon Jul 11 12:53:38 2022 +0100 Revert v8 version (#778) commit 40eebcfcfc1e09ee21d65f6158d663098172974a Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Mon Jul 11 13:15:28 2022 +0200 Create an extensive test suite (#777) * Add test suite to `error-stack` * Remove tests from source folder * Fix compatibility layer for `anyhow` and `eyre` * Fix bound on `Stream::attach_printable_lazy` * Properly re-export `StreamReportExt` as `StreamExt` * Improve error message for `ensure!` macro * Remove unneeded bound on `Report::current_context` * Fix `Display` output for `Report` commit 3282026a52d145a4d41d233ddac85e9e4e4c3dcb Author: luisbettencourt <37453800+luisbettencourt@users.noreply.github.com> Date: Mon Jul 11 11:04:02 2022 +0100 Introduce 'archived page' banner (#721) * archive page banner * fix banner collapse animation * use theme colors * prettier formatting * PR feedback * PR feedback * useArchivePage refecth query * apollo cache merge page properties * PR feedback * Apollo cache warning * lint fix * add unique identifier to PageProperties * fix missing pageEntityId in getAccountPages * tests fix Co-authored-by: David Wilkinson <6226576+nonparibus@users.noreply.github.com> Co-authored-by: Ciaran Morinan <c@hash.ai> commit 72fc975f33c14f07ba8c13a8dddb8626ccd7fed6 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Mon Jul 11 11:36:00 2022 +0200 Greatly reduce the usage of `unsafe` code (#774) * Replace majority of `unsafe` code with safe code * Shrink the stack size of `Frame` to 2x `usize` in size * Move `FrameImpl` into it's own module commit 282a15cb0521dc61a6c7ee2341b528ffa423ee21 Author: luisbettencourt <37453800+luisbettencourt@users.noreply.github.com> Date: Mon Jul 11 10:14:40 2022 +0100 Fix multi-entity and multi-line mention insertion (#759) * fix suggester from and to indexes * PR feedback * PR feedback commit cb02e1f2362b6b7aeb8e9d3a41167c181966b5c9 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Sun Jul 10 14:12:08 2022 +0200 Add badge to `error-stack` readme for required version (#776) commit df0cf6c38fbdb6b14ad8ef3bc9af0694604c196d Author: Teymour Aldridge <ta@hash.ai> Date: Sun Jul 10 10:17:06 2022 +0100 Update engine dependencies (#765) * Update engine dependencies Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> commit 47e1de7673a057fb8d72c2d298c4543a2cbbfb09 Author: Teymour Aldridge <ta@hash.ai> Date: Sat Jul 9 21:43:42 2022 +0100 Load metaversion on the JavaScript side (#758) * Load metaversion on the Javascript side commit 48f3b82744a91e7e934cbfc356eb1e7017b35e10 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Fri Jul 8 16:40:42 2022 +0200 Update CHANGELOG.md (#773) commit 918923187422d8c0be152873c9f9ebad6ceaec4a Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Fri Jul 8 16:16:32 2022 +0200 Add compatibility layer for `eyre` and `anyhow` (#763) commit aa0dfdc5db88c3cd53cc0f9eb502caaa37ff610f Author: luisbettencourt <37453800+luisbettencourt@users.noreply.github.com> Date: Fri Jul 8 13:52:11 2022 +0100 prevent words from breaking across lines (#767) Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru> commit b99461ba3dbbb25008b731679391b81d839e2057 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Fri Jul 8 10:50:37 2022 +0200 Fix stacked borrows for new miri version (#768) commit a6eaa29108833e41d400952dd702678cc1010a8e Author: Alexander Kachkaev <alexander@kachkaev.ru> Date: Thu Jul 7 18:51:58 2022 +0100 Move `getPhoto` to a separate file to fix hashdev build (#766) commit fb9ba535d360b4d75e1b4458d65ba9b152584291 Author: Ugbala Valentino <ugbalaachinike@gmail.com> Date: Thu Jul 7 18:37:40 2022 +0100 Improve ranking of users in @ mention menu (#754) * sort users in block suggester by org commit 687a38367f99f4aca24c4c8371b77bb9aba9c47a Author: Alexander Kachkaev <alexander@kachkaev.ru> Date: Thu Jul 7 15:14:02 2022 +0100 Remove `process` dependency (#757) commit 48214c2b83d7bf5d583be964662ac93d976a6182 Author: Alexander Kachkaev <alexander@kachkaev.ru> Date: Thu Jul 7 14:06:50 2022 +0100 Update Jest and TypeScript (#760) commit 920603e139f459bef6f5cd82a23886d02ab4a532 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Thu Jul 7 14:43:05 2022 +0200 Add link to open issues and discussions to readme (#764) commit 636514f905b88d887fa1ef8ccda6fc6a373200b8 Author: Teymour Aldridge <ta@hash.ai> Date: Thu Jul 7 13:02:11 2022 +0100 Test for assigment to immutable expressions (#742) * Test for assigment to immutable expressions. commit 043cc1f6e008c30d50a0ee5835f064d80b11f819 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Thu Jul 7 10:58:53 2022 +0200 Update labeler.yml (#762) commit 7d72b259249f05745ef9336b12f8a925d7b28798 Author: Teymour Aldridge <ta@hash.ai> Date: Wed Jul 6 12:28:29 2022 +0100 Update a small piece of documentation (#744) * Update changelog. * Update a small piece of documentation * Update documentation. commit 0a584e0418a007cc0775470de9373a3c78328fa5 Author: Nate Higgins <nate@nateh.uk> Date: Tue Jul 5 15:33:30 2022 +0100 Remove storybook (#745) commit 1243f968e98b413b751e156b4cd55378e4f047c9 Author: luisbettencourt <37453800+luisbettencourt@users.noreply.github.com> Date: Tue Jul 5 13:31:50 2022 +0100 Handle outline styling correctly on click, versus tab events (#647) * override outline style * Added :focus-visible style to blocks * Firefox fix * Prevent keyboard navigation on editor * rollback Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru> commit b283cb4b066865e3ce372afda0de71dbcc961393 Author: Ugbala Valentino <ugbalaachinike@gmail.com> Date: Tue Jul 5 10:01:45 2022 +0100 Block Suggester improvements (#740) * add improvements to block suggester * filter blocks based on name and not description * add no results ui commit e17ba3725dc6f78959293c10777f27f4568070bc Author: Teymour Aldridge <ta@hash.ai> Date: Mon Jul 4 16:30:48 2022 +0100 Correct error message for failing tests (#743) * Correct error message for failing tests. * Fix grammar mistake. commit a0e7ffba45ed56246671aebac6c0aefd31f85e0e Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Mon Jul 4 14:03:22 2022 +0200 Optimize CI cache and runs for Rust (#741) commit 0b3fd3406f6ca8f622f2a69cbb6a892514afceb8 Author: Teymour Aldridge <ta@hash.ai> Date: Mon Jul 4 11:33:52 2022 +0100 Add support for streams to `error-stack` (#718) * Add initial error stack streams. Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> commit 22482509294c90a72898d4307eaff8783b750c9d Author: Teymour Aldridge <ta@hash.ai> Date: Sat Jul 2 10:56:34 2022 +0100 Minor stylistic improvements to language docs (#725) * Minor stylistic improvements to language docs. * Update packages/engine/README.md Co-authored-by: David Wilkinson <6226576+nonparibus@users.noreply.github.com> * Update packages/engine/README.md Co-authored-by: David Wilkinson <6226576+nonparibus@users.noreply.github.com> Co-authored-by: David Wilkinson <6226576+nonparibus@users.noreply.github.com> commit d55ec465af4ca66d0ebb7e12453d26869360cb33 Author: Alexander Kachkaev <alexander@kachkaev.ru> Date: Fri Jul 1 18:21:28 2022 +0100 Move `resources` to a `sites/hashai/resources`, update Algolia script (#720) commit 4af0b17442929dce56bce57bfac53d070ce40f36 Author: Alfred Mountfield <am@hash.ai> Date: Fri Jul 1 17:45:52 2022 +0100 Fix Python setup on macOS (#735) commit c57823fe694b3b1bb204eff25ef99e8aed6b7e35 Author: Teymour Aldridge <ta@hash.ai> Date: Fri Jul 1 16:49:52 2022 +0100 Don't compile memory resizing code on macOS (#731) * Don't compile memory resizing code on MacOS. commit d3299b8c00405cb681772970907365a2d4ee7bc4 Author: Teymour Aldridge <ta@hash.ai> Date: Fri Jul 1 16:03:18 2022 +0100 Add notes about shared memory non-resizeablility. (#724) * Add notes about shared memory non-resizeablility. Co-authored-by: Alfred Mountfield <am@hash.ai> Co-authored-by: Alfred Mountfield <am@hash.ai> commit 8dbcdc7a27d1f910a7953c094d82034c7f7efeee Author: Teymour Aldridge <ta@hash.ai> Date: Fri Jul 1 15:06:13 2022 +0100 Fix dead link (#732) commit f0eca2fd2a3b2ba66a97324e0b2a2edf0128143c Author: Alfred Mountfield <am@hash.ai> Date: Fri Jul 1 14:26:01 2022 +0100 Improve architectural docs (#410) commit e5dedab9d6ec5501810cf254f62ce379fe738e14 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Fri Jul 1 13:55:05 2022 +0200 Add simple HASH Engine Dockerfile (#702) commit 46f0c0d622e2f98a3b9bb4833596b49066413002 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Fri Jul 1 11:48:18 2022 +0200 Support additional parameters for `cargo make test/miri` (#729) commit 2889b37ef2388cfd3de35719ef9ea3ad40d05f4d Author: luisbettencourt <37453800+luisbettencourt@users.noreply.github.com> Date: Thu Jun 30 21:28:23 2022 +0100 Fix API deployment (#726) * dockerfile codegen fix * PR feedback commit e589e72f30dbae3246c01260bb24fa965336f418 Author: Ugbala Valentino <ugbalaachinike@gmail.com> Date: Thu Jun 30 21:07:31 2022 +0300 Improve GitHub PR block (#705) * add styling improvements to block * use design system package in github PR block * port gh block to bp v0.2 * add preview image for bp hub commit df89888dc8e0d14da8ff6cb473093bc4490d4f54 Author: Alexander Kachkaev <alexander@kachkaev.ru> Date: Thu Jun 30 16:36:01 2022 +0100 Update URLs to docs and specs (#722) commit 65c5d6ccb5ec999b132b7d6994dc0440c0a62d8d Author: Teymour Aldridge <ta@hash.ai> Date: Thu Jun 30 16:03:15 2022 +0100 Add support for iterators to `error-stack` (#716) * Add support for iterators to `error-stack`. * Fix clippy errors. * Update packages/libs/error-stack/src/ext/iter.rs Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> * Apply suggestions from code review. * Apply further suggestions from code review. * Fix docs. * Fix spelling of attachment. * Add support for iterators to `error-stack`. * Fix clippy errors. * Update packages/libs/error-stack/src/ext/iter.rs Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> * Apply suggestions from code review. * Apply further suggestions from code review. * Fix docs. * Fix spelling of attachment. * Use Fn not FnOnce. * Use macro. * Add crate-level docs. * Update packages/libs/error-stack/src/ext/mod.rs Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> * Update packages/libs/error-stack/src/ext/iter.rs Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> * Update packages/libs/error-stack/src/ext/iter.rs Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> * Remove now incorrect statement from docs. * Change type from `A` to `T` * Update packages/libs/error-stack/src/ext/iter.rs Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Co-authored-by: Alfred Mountfield <am@hash.ai> Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> commit 46c75e1e808ec6b5d8e95c33f84a06bebb9ab392 Author: Ugbala Valentino <ugbalaachinike@gmail.com> Date: Thu Jun 30 16:06:46 2022 +0300 Persist expanded sidebar pages on route change (#711) * persist expanded sidebar pages on route change * sync html title with page's title commit ec150d507739f31c62128b18a661f7919e373cb7 Author: Teymour Aldridge <teymour@reasoning.page> Date: Wed Jun 29 18:15:06 2022 +0100 Fix a typo in the pull request template. (#719) publically -> publicly commit 1f1b66279060bf18cbcf0cbeb0765252ba6aa234 Author: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com> Date: Wed Jun 29 13:59:02 2022 +0200 Use `cargo make` in CI (#713) commit 0ceb0beb268718fc7a380e5e0a770e3609bbe3c8 Author: Alexander Kachkaev <alexander@kachkaev.ru> Date: Wed Jun 29 10:59:00 2022 +0200 Move `external-services` folder to `packages/hash` (#687) commit 78b91213292582935f47faefff4f07b485882c8d Author: luisbettencourt <37453800+luisbettencourt@users.noreply.github.com> Date: Tue Jun 28 17:28:28 2022 +0100 Enable page archiving (#690) * added page deletion * PR feedback * Update packages/hash/frontend/src/shared/layout/layout-with-sidebar/account-page-list/page-menu.tsx Co-authored-by: Ciaran Morinan <37743469+CiaranMn@users.noreply.github.com> * archive subpages * lint fix * Revert "archive subpages" This reverts commit 577d675a637c4fd087f1582ddf7c29e65ddba753. * Filter archived subpages on accountPages query Co-authored-by: Ben Werner <benwerner01@users.noreply.github.com> * AccountPages Query documentation * useArchive hook return object Co-authored-by: Ciaran Morinan <37743469+CiaranMn@users.noreply.github.com> Co-authored-by: Ben Werner <benwerner01@users.noreply.github.com>
🌟 What is the purpose of this PR?
eyre
andanyhow
are popular error libraries. Converting their error type intoerror_stack::Report
is a convenient feature, which is not easily possible without adding built-in support.🔗 Related links
eyre
: Fix stacked borrows when dropping eyre-rs/eyre#81miri
oneyre
CI: Runmiri
on CI eyre-rs/eyre#82🔍 What does this change?
Compat
trait, which acts likeIntoReport
(implementingIntoReport
is not possible as this relies onError
, which we can't implement on upstream error types)Report<anyhow::Error>
andReport<eyre::Report>
eyre
/anyhow
and use their backtrace if available📜 Does this require a change to the docs?
The features were added to the documentation
It's not possible on no-std environments to fully reconstruct
anyhow::Error
as it relies onStdError