Skip to content

M1j draft release notes #1418

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

Merged
merged 188 commits into from
Apr 21, 2020
Merged

M1j draft release notes #1418

merged 188 commits into from
Apr 21, 2020

Conversation

aryairani
Copy link
Contributor

@aryairani aryairani commented Apr 10, 2020

Thanks to @pete-ts, @noahhaasis, @stew, and @atacratic for their contributions to this release!

New features:

Changed behavior:

Fixes for:

Speed improvements:

aryairani and others added 30 commits March 6, 2020 09:22
- undelete Branch.transform & Causal.unsafeMapHashPreserving
- added `dependentsDir'`, `typeIndexDir'`, `typeMentionsDir'` which are
  the top-level directory for these things, as opposed to a level deeper
- added `FileCodebase.loadIndex` which loads a `Relation Reference k`
  from this sort of directory structure:
  ```
  indexDir / "_builtin" / builtinref / <k>
  indexDir / derivedref / <k>
  ```
  It's used to load the dependents index, type index, and type mentions
  index.
- in `FileCodebase.serializeEdits`, made the loading lazier
- added `FileCodebase.copyFileWithParents` helper
- `FileCodebase.copyIndexHelper` consolidates logic in `copyDependents`,  `copyTypeIndex`, and `copyTypeMentionsIndex`.

loose ends:
- [ ] add docs for `loadIndex`
- [ ] add docs for `copyIndexHelper`
- [ ] add docs for `copySyncToDirectory`

todo:
- [ ] weird, probably wrong index results after copy
…of the ucm block and before next stanza is dequeued
…n first line when unindenting

Still need to dig into impact on docs.output.md.
…not just the selected one.

- Revamped LinkI and UnlinkI - the md value is a HashQualified, so you can unlink by hash only now
- Support unnamed metadata in the diff display
- Remove HQ'.unsafeFromHQ, which was used in one place and was causing a crash
- Better output messages for various link/unlink failures
Issue was that it was unilaterally deleting the D2 dimension for whatever type was being unlinked (this is the dimension that supports efficient lookup by metadata type - "find me all the docs"). Correct behavior is to only delete from this dimension when there are no more metadata values for a metadata type - for instance, if you delete the last `Doc`, you can delete the index that lets you find all the docs.
…m `definitionQueryArg`.

The diff on this shows all the commands affected.
Allow deleting type and term replacements in patches
runarorama and others added 14 commits April 20, 2020 15:52
They no longer do any special merge checks (do this ahead of time if
desired), they just set a provided root branch in the destination
codebase, and copy the branch along with missing dependencies, to the
destination codebase as well.

- refactor `LoadRemoteRootBranch` and `LoadRemoteShortBranch` commands
  into `ImportRemoteBranch` and `ViewRemoteBranch` which will/won't
  copy files into the local codebase, respectively.

- add `Git.viewGitBranch :: RemoteNamespace -> _ (Branch m)` which
  doesn't copy stuff to the local codebase.
- replace `onError` with `withIOError` that passes the error along
- consolidate `(Text, Maybe Text)` args into `RemoteRepo`
- `Git.pushGitRootBranch` no longer performs a merge;
  checks `before` instead and complains if appropriate
- renamed `syncToDirectory` to `forceSyncToDirectory` to reflect that
  it doesn't do safety checks anymore.
- rejiggered GitError.hs somewhat
…tures

fill in the partial type signatures in HandleInput.hs
introduce `unlessError` combinator
`Bytes` values should decompile to `Bytes.fromList`, not `Bytes.fromSequence`
@pchiusano
Copy link
Member

I vote we call this next release M1j, and the first release that has the new @dolio runtime M2. That will be the first release I'd actually recommend people try using for real stuff.

@aryairani aryairani changed the title M1j or M2 draft release notes M1j draft release notes Apr 21, 2020
@aryairani
Copy link
Contributor Author

I vote we call this next release M1j, and the first release that has the new @dolio runtime M2. That will be the first release I'd actually recommend people try using for real stuff.

Sounds good to me. We can squeeze in some more UX improvements, then.

@aryairani aryairani marked this pull request as ready for review April 21, 2020 19:48
@pchiusano
Copy link
Member

LGTM!

@aryairani aryairani merged commit 02dc4f5 into series/M1 Apr 21, 2020
@pchiusano pchiusano mentioned this pull request May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants