12.0.0
Release Date: Mon, December 11, 2023 at 6:04 PM UTC
Release Author: @rjsparks
This release brings RFCs and subseries documents in as first-class Document objects. Previously RFCs had been pseudo-versions of Internet-Drafts, and subseries couldn't be correctly modeled at all.
There are also a few contributions from the 118 codesprint that targeted the feat/rfc branch that this release brings to production.
Attention users of /api/v1 : This release removes the DocAlias class. The RelatedDocument objects target will be Document objects instead of DocAlias objects. It adds Document types for RFCs, BCPs, STDs, and FYIs. Internet-Drafts that became RFCs are attached to the RFC through a RelatedDocument object of type "became_rfc". RFCs are attached to subseries documents through a "contains" relationship.
💥 BREAKING CHANGES
-
due to
e211dc5
- RFCs and subseries as Document types (commit by @rjsparks):RFCs and subseries as Document types
✨ New Features
106c67e
- Migrate docevents onto rfc documents (PR #5872 by @jennifer-richards)771296b
- Link rfc/draft document history pages (PR #5894 by @jennifer-richards)87bd9bb
- Use rfc doc type when updating from rfc index (commit by @jennifer-richards)fd1d425
- Log warning if rfc index refers to unknown draft (commit by @jennifer-richards)7535df3
- Set more fields on rfc doc (commit by @jennifer-richards)39ccea9
- Set published state on rfc doc (commit by @jennifer-richards)8b63621
- describe change as "set" or "changed" as appropriate (commit by @jennifer-richards)96fae0c
- remove DocAlias (commit by @rjsparks)0390f18
- subseries (commit by @rjsparks)092e572
- move errata tags (commit by @rjsparks)71a760f
- show references to and from subseries (commit by @rjsparks)3836f76
- add subseries to main menu (commit by @rjsparks)b281919
- Sort RFCs on subseries views; fix page title (PR #6704 by @jennifer-richards)e3ba021
- Teach ajax_select2_search about subseries (PR #6709 by @jennifer-richards)a0bb0dd
- RFCs and subseries as explicit document objects (commit by @rjsparks)e211dc5
- RFCs and subseries as Document types (commit by @rjsparks)
🐛 Bug Fixes
e910836
- teach build_file_urls about rfc type documents. (PR #5880 by @rjsparks)bff145f
- Create relationships between draft and rfc Documents (PR #5890 by @jennifer-richards)5d9d878
- Show rfc documents via document_main view (PR #5919 by @jennifer-richards)63a9920
- restored where an rfc came from to the main rfc view (PR #5930 by @rjsparks)f53a849
- various corrections to rfc main document view and tests (PR #5931 by @rjsparks)fc284be
- Deal with rfc doc types for references/referenced_by views (commit by @jennifer-richards)400280e
- repair test_history_bis_00 (commit by @rjsparks)799d3a1
- adjusted bibtex view and tests (commit by @rjsparks)3486f38
- adjust (useless) assertion in status_change test to reflect that the relevant relation points to an RFC (commit by @rjsparks)a3c87a1
- repaired rfc_feed (commit by @rjsparks)285b11a
- better use of factory (commit by @rjsparks)6eeffb1
- become agnostic about RFC states until we care (commit by @rjsparks)8b1fcfd
- repair views_search.index_all_drafts (commit by @rjsparks)e6a1a17
- typo/logic error in get_base_name (commit by @rjsparks)11ec368
- repaired idnits2_state (commit by @rjsparks)78b6f06
- repair generate_draft_aliases (commit by @rjsparks)457b950
- improvements to submit form validation (commit by @rjsparks)bbef891
- removed notion of submitting RFCs from find_submission_filenames (commit by @rjsparks)632293d
- repaired RelatedDocument is_downref and is_approved_downref methods (commit by @rjsparks)ffb11fd
- downref form validation (commit by @rjsparks)2c6fe03
- adjust gating of review requests (commit by @rjsparks)d4f5bc6
- make factory name derivation better. Adjust status_change test (commit by @rjsparks)b2ebad1
- repaired rfcdiff api endpoint (commit by @rjsparks)e42ac40
- Use (rfc, published) state for RFC SearchRules (commit by @jennifer-richards)7d5b176
- Fix display of RFCs in search_result_row.html (commit by @jennifer-richards)9bf0063
- Preserve Document.time when migrating rfcs (PR #5954 by @jennifer-richards)8173444
- continued repair of code/tests re: RelatedDocument model change (commit by @rjsparks)ac4ee27
- track style changes in main (commit by @rjsparks)51c22d8
- repairs reflecting removal of DocAlias from the RelatedDocument models (commit by @rjsparks)4235144
- Track RFC documents that came from tracked drafts (commit by @jennifer-richards)eaf8d45
- Only match draft docs to rfc index draft name (commit by @jennifer-richards)e898e43
- Only consider rfcs for updates/obsoletes targets (commit by @jennifer-richards)ab99972
- Check state correctly (commit by @jennifer-richards)aff4c2d
- Drop leading 0s from RFC doc-id (commit by @jennifer-richards)06adb25
- Set draft-iesg state to "pub" when a draft is published (commit by @jennifer-richards)cf470a4
- Use correct stream slugs (commit by @jennifer-richards)4706ac2
- Restore old handling of draft-iesg state (commit by @jennifer-richards)3b067a4
- name corrections, flake removal (commit by @rjsparks)1ae0c0b
- follow became_rfc in ipr searches (commit by @rjsparks)5489fea
- untangle stats and iana sync (commit by @rjsparks)d801716
- include migrations (commit by @rjsparks)8ad4ab0
- unrepair a migration (commit by @rjsparks)114a3c5
- Handle RelatedDocument.target as a Document (PR #6157 by @jennifer-richards)4b778c1
- reorder name migrations (commit by @rjsparks)232536c
- migration order and names fixture (commit by @rjsparks)d0bac89
- use type instead of state in templates (commit by @rjsparks)7391ea7
- rationalize document_rfc.html and the view driving it (commit by @rjsparks)b58ddd7
- move rfc dochistory objects to rfc document objects (commit by @rjsparks)be77cc9
- correct missed replumbing of iprdisclosurebase (commit by @rjsparks)5bbea70
- repair many revision related issues with the main and htmlized views (commit by @rjsparks)0c85c41
- repairs to the timeline graphic (commit by @rjsparks)3a733a3
- memoize became_rfc. Address review comments. (commit by @rjsparks)ececc45
- repair broken html (commit by @rjsparks)a571151
- allow looking at slide revisions when the slides doc name starts with rfc (commit by @rjsparks)92ea5a6
- correct cache variable assignment (commit by @rjsparks)42c4c27
- move fewer docevents (commit by @rjsparks)536c1fb
- missed docalias artifact removal. Better use of became_rfc. (commit by @rjsparks)4ddf132
- remove leftover docalias detritus (commit by @rjsparks)edadd99
- tune mailtrigger recipients and set relevant expansions for rfcs (commit by @rjsparks)88e6604
- make Was link go to the right place. Remove unreachable code. (commit by @rjsparks)a39a058
- populate rfc_number on DocHistory with type_id rfc (commit by @rjsparks)48cb06d
- subseries specific docevent types. get_or_create contain relationship. remove spurious " (commit by @rjsparks)8732dcb
- bring tests up current. add subseries names to rfc view. fix html. (commit by @rjsparks)9e41663
- cleaner search_result_row diff links for recent drafts replacing other drafts (commit by @rjsparks)1b32fde
- cleaner sync test (PR #6372 by @rjsparks)4ba62bf
- put rfc history on left (commit by @rjsparks)4b1274c
- teach search about rfcs and subseries (PR #6431 by @rjsparks)6e502fa
- de-docalias merge from main (PR #6471 by @rjsparks)0afe496
- preserve RelatedDocument references to subseries (commit by @rjsparks)e65c4c3
- use clearer descriptions on docevents for initial sync run (commit by @rjsparks)511cac0
- preserve RelatedDocument references to subseries (commit by @rjsparks)942c4d4
- better message on first import of subseries membership (commit by @rjsparks)1f82fab
- silenced (and explained) several warnings (commit by @rjsparks)575560a
- don't parameterize search for subseries types. (commit by @rjsparks)9a2b0cf
- better empty text and prettystdname on subseries index view (commit by @rjsparks)3fea443
- use valid ids on subseries index page (commit by @rjsparks)801b79f
- repair is_downref (commit by @rjsparks)195926a
- bring rfc-index sync test into sync with function changes (commit by @rjsparks)37c796e
- repair ad-dashboard test (commit by @rjsparks)6986e65
- prevent creation of duplicate MeetingRegistration records (PR #6593 by @rpcross)35bec48
- Update NomCom references (PR #6583 by @richsalz)bb8cf21
- show nomcoms by convening year only (PR #6585 by @richsalz)639043e
- meeting important dates can have markdown links (PR #6594 by @evyncke)4fa8bfa
- use correct doc types and states for rfcs (PR #6639 by @rjsparks)a035c93
- favor RFCs over drafts in related document section (PR #6643 by @rjsparks)9fedce0
- restore rfcs on document graph when looking at rfc predecesors (PR #6646 by @rjsparks)0051aa9
- search correct doc type/states, switch rfc correctly in html_body, remove dead code. (PR #6640 by @rjsparks)4ac1153
- Label draft change log with rfc number (PR #6659 by @jennifer-richards)b760248
- correct stream document view (PR #6677 by @rjsparks)eb22d6a
- address dangling pyflake (PR #6678 by @rjsparks)2137dd8
- teach ajax_select2_search_docs about rfcs (PR #6679 by @rjsparks)bcca519
- Fix document not found bug in rfcdiff API (PR #6681 by @kesara)b011f0a
- Show requested rev if it is current, even w/o dochistory (PR #6703 by @jennifer-richards)e7bf4e0
- replace copy of draft minutes on iesg moderator page with a link (commit by @rjsparks)5006ea5
- Reject obvious bad encoding pastes into the Submitter field in submissions (PR #6702 by @pselkirk)dd41234
- Allow blank originaltargetaliasname (PR #6748 by @jennifer-richards)cbe710d
- Migrate and handle subseries IprDocRels (PR #6745 by @jennifer-richards)
♻️ Refactors
c8dcda0
- Do not use canonical_name() for charters (PR #5818 by @jennifer-richards)f2c2957
- Represent RFCs as their own DocType (PR #5835 by @jennifer-richards)877bc02
- Refactor build_file_urls() (PR #5886 by @jennifer-richards)8f0b459
- Replace is_rfc() tests (PR #5925 by @jennifer-richards)0959a2e
- Filter SearchRule matching using rfc doc type (commit by @jennifer-richards)2f94383
- Find SearchRules using rfc doc type (commit by @jennifer-richards)a6d5cb6
- Use empty rule.states for _rfc rules (commit by @jennifer-richards)8f73849
- Remove "state" field entirely for rfc rules (commit by @jennifer-richards)4e67069
- Clear rule.state when migrating *_rfc rules (commit by @jennifer-richards)938f862
- Prevent undefined variable reference (commit by @jennifer-richards)c37e3b4
- Consolidate draft handling (commit by @jennifer-richards)9246031
- Refactor handling of draft stream states (commit by @jennifer-richards)ab3864e
- Minor clean up of rfc index sync (PR #6661 by @jennifer-richards)2e2960a
- Use type_id="rfc" in migration (PR #6746 by @jennifer-richards)
✅ Tests
f7d9e49
- pass a correct type (commit by @rjsparks)06e7112
- adjusted RawIdTests (commit by @rjsparks)f306139
- repair pdfized tests (commit by @rjsparks)ff058e3
- repair draft_group_link test (commit by @rjsparks)09f0710
- correct use of factories for downref tests (commit by @rjsparks)0b9d450
- adjust status change test to reflect rfc target (commit by @rjsparks)b8febcb
- adjusted fuzzy_find_document_rfc test (commit by @rjsparks)16b1583
- adjust iesg tests (commit by @rjsparks)63c809a
- adjust secr tests (commit by @rjsparks)35ba49f
- cleanup use of factory (commit by @rjsparks)189c321
- construct the right kind of document for the rfc-index tests (commit by @rjsparks)1660a14
- Use (rfc, published) state in test (commit by @jennifer-richards)2b0f954
- Remove unused import (commit by @jennifer-richards)bb74455
- Remove unused assignment lint (commit by @jennifer-richards)015d64b
- RelatedDocument target is now Document (commit by @jennifer-richards)a867de2
- Remove setup that does not apply to rfc docs (PR #6082 by @jennifer-richards)4437796
- Update test_rfc_index() (commit by @jennifer-richards)112ac90
- Confirm changes are returned for draft and rfc (commit by @jennifer-richards)92ad44e
- Test more fields on the rfc doc (commit by @jennifer-richards)a66457b
- Remove python lint (commit by @jennifer-richards)f9ca1bc
- Test behavior of verified-errata tag (commit by @jennifer-richards)b565f10
- Don't mix stream states in test_rfc_index() (commit by @jennifer-richards)80a361c
- Check that no logs are emitted in test_rfc_index (commit by @jennifer-richards)cbfb5e8
- fix missing migrations on legacy tests on PRs (commit by @NGPixel)8351b45
- RFC pub date is in RPC_TZINFO (PR #6747 by @jennifer-richards)
🔧 Chores
769d85a
- explore architecture change in RelatedDocument (commit by @rjsparks)f3566c2
- include (nontrivial) migrations (commit by @rjsparks)d6f58b3
- use more expressive related_name (commit by @rjsparks)8ff1441
- continued refactoring (commit by @rjsparks)69f882d
- tweaks for rebuild_reference_relations (commit by @rjsparks)ad0071f
- merge feat/rfc (commit by @rjsparks)75d199f
- correct merge errors (commit by @rjsparks)db670da
- continued refactor (commit by @rjsparks)563b5a9
- Migrate RelatedDocuments for RFCs (commit by @jennifer-richards)9f1b05a
- Move/copy RelatedDocuments to rfcs (commit by @jennifer-richards)d3f1794
- apply black to GenerateDraftAliasesTests (commit by @rjsparks)3e57b9e
- Merge in fixes that were coattailing fixups4 (commit by @rjsparks)f0a32ed
- note odd placement of code (commit by @rjsparks)c980649
- remove unintended commit of temporary skip (commit by @rjsparks)6305555
- address pyflake issues (commit by @rjsparks)7127062
- Track RFCs if they were tracked as a draft (commit by @jennifer-richards)5385760
- Migrate SearchRules for the rfc state (commit by @jennifer-richards)59c0a1f
- repair merge damage (commit by @rjsparks)2593c03
- style fixes (commit by @rjsparks)19141d5
- reorder migrations (commit by @rjsparks)34378b9
- Remove duplicate entry in admin search_fields (commit by @jennifer-richards)f4070ef
- Remove unused imports (commit by @jennifer-richards)2d46a97
- Renumber migrations (commit by @jennifer-richards)f464f31
- Add type annotation to complex return value (commit by @jennifer-richards)542b872
- Eliminate python lint (commit by @jennifer-richards)4946430
- checkpoint: halfway through removing docalias (commit by @rjsparks)383899c
- checkpoint: docalias mostly removed (commit by @rjsparks)7441413
- merge in and adjust rfceditor.py changes (commit by @rjsparks)22dc5b6
- cleanup typos (commit by @rjsparks)823281b
- first pass at clearing out canonical_name (commit by @rjsparks)90ca856
- repair damage from bulk changes (commit by @rjsparks)c631cb1
- more bulk change damage repair (commit by @rjsparks)63c3f23
- fix test construction (commit by @rjsparks)c0e2bb4
- flip sense of all_ids2 rfc dict (commit by @rjsparks)05b71bb
- flip sense of all_ids rfc dict (commit by @rjsparks)08257e0
- moved away code that should be kept present as documentation, but not as live ammunition (commit by @rjsparks)94e9f43
- moved away more legacy code (commit by @rjsparks)b646e18
- update names fixture (commit by @rjsparks)7f229c9
- add copyright (commit by @rjsparks)9649004
- remove unused imports (commit by @rjsparks)3efd44f
- remove unnecessary list construction (commit by @rjsparks)f9c9644
- merge main and fix conflicts (commit by @rjsparks)ad1aabb
- repair merge damage and adjust new files (commit by @rjsparks)fda5edf
- clean up after cleanup (commit by @rjsparks)c2c48ff
- repair more damage (commit by @rjsparks)72d44d5
- black (commit by @rjsparks)a307e06
- Merge branch 'feat/rfc' into rfc_htmlized (commit by @rjsparks)bf50f88
- remove debug (commit by @rjsparks)4811374
- reorder migrations (PR #6325 by @rjsparks)e0e647f
- repair merge damage (commit by @rjsparks)bc177b0
- black (commit by @rjsparks)ab931f0
- merge main into feat/rfc (commit by @rjsparks)4669217
- reorder migrations (commit by @rjsparks)320ca62
- remove spurious whitespace change (commit by @rjsparks)28c3e1b
- merge branch 'main' into feat/rfc (commit by @rjsparks)8e3e590
- reorder migrations (commit by @rjsparks)986e002
- repair merge damage (commit by @rjsparks)bdeab00
- sync subseries index test with view changes (commit by @rjsparks)b78eb44
- remove some unused code (commit by @rjsparks)b89c44f
- merge main and fix new views (commit by @rjsparks)b215867
- Reorder migrations (PR #6660 by @jennifer-richards)03e161b
- merge branch 'main' into feat/rfc (commit by @rjsparks)4021864
- reorder migrations (commit by @rjsparks)ce918c4
- remove management commands already removed in main (commit by @rjsparks)4823dfe
- move some things that had been moved but later touched in main again (PR #6751 by @rjsparks)
Coverage