Skip to content

Maintaining RustGIS

This page is for the maintainers: who approves a coordinate-first change, what happens when a proposal gets no reply, and what reviewers check on saved files and dependencies. Contributors need only CONTRIBUTING.md.

Who approves a coordinate-first change

CONTRIBUTING.md asks some changes to wait for a maintainer's reply. Who gives it depends on how hard the change is to undo.

Any maintainer, for changes that only add. A maintainer can open the pull request without proposing first; propose first when you're unsure which kind of change it is, or when the work is big enough that a "no" would waste it. Say in the pull request which kind it is.

  • an optional command parameter, whose default keeps today's behaviour;
  • a field in a command's output;
  • an optional field in the project file or another saved file, whose absence means today's behaviour, and whose loss when an older RustGIS saves the file costs a setting rather than data or a different result;
  • a feature of an existing dependency, a dev-dependency or an xtask-only crate, unless it brings in a large set of new dependencies.

Two maintainers, for changes that break something that can still be put right, and for most new dependencies. A maintainer who proposes the change counts as one of them.

  • removing or renaming a command or parameter, or changing what one means, returns or defaults to;
  • a new renderer, symbology or layer kind;
  • a new project format version for a feature, following saved files;
  • an addition to the plugin interface that plugins declare through minRustgisVersion;
  • any other new dependency, answering the questions under new dependencies.

The project lead, @giswqs, has the final say on:

  • the shape of the core types: Coord, Feature, geometries and field types;
  • how a project stores its data;
  • a dependency that is a C, C++ or system library, brings in a large tree such as tokio, or replaces or overlaps code RustGIS already has;
  • a new crate in the workspace;
  • a plugin ABI change, or removing something from the plugin interface;
  • a new top-level ribbon tab;
  • Exploratory roadmap items, and anything that changes what RustGIS is for.

The lead also settles a disagreement between maintainers. When you approve, say which kind of change it is, so the reply can be found later.

When a proposal gets no reply

A contributor's proposal waits for the approval its kind needs. If a week passes without a reply, mention @opengeos/rustgis-maintainers on the issue once.

If a maintainer proposes a change any maintainer could approve and nobody objects within a week of the proposal or its last change, they can go ahead. An objection says what would go wrong, so that it can be answered or the plan changed. Silence doesn't approve the other two kinds.

For a change the lead decides, ask once, on the issue: the question in a sentence, the options and your recommendation. Link that comment from other threads rather than asking again.

Saved files and settings

Projects, map, layer and style files, models, saved connections and sources, plugin state and preferences outlive the release that wrote them, and people run an older and a newer RustGIS on the same files. New and changed code follows these rules; not every existing reader does yet.

  • A reader checks the version it is given.
  • An older RustGIS refuses a file or setting newer than it understands, or keeps it unchanged. It doesn't save it again without what it couldn't read.
  • A format's version goes up only when a file uses something an older reader would lose or misread.
  • A key a project file has that this version doesn't read (a hand edit, another program) is left out on open and said: one notice per part of the project, with a count and the first few places. Keys inside a setting read leniently or flattened into another (a layer's labels) aren't seen, so they go unsaid (#2639).
  • Where a change allows it, reading a new version ships at least one release before anything writes it.
  • A project, map or layer file, a model or a web tool lists in requires each capability it needs that an older reader would lose or misread: a reader refuses one it doesn't know, naming it. A task file does too (#2818): task.save lists what its steps need, a model.run step's inline graph included, and task.import refuses one it doesn't know. Presentation and notebook readers don't check requires yet. A release reads .rgis format 2 before any writes it (READ_FORMAT and CAPABILITIES in crates/engine/src/project.rs), so what is added to format 2 after that comes with a capability name, added to CAPABILITIES where it is read. Independent sizes on classified point layers use classified-point-size; only documents containing a size_by mapping list that requirement.
  • schema/project.schema.json is the JSON Schema of the project file, generated from the types it is saved from by cargo xtask schema. A pull request that changes what a project saves regenerates it and commits it in the same pull request; CI's cargo xtask schema --check fails otherwise. A pull request that changes how it is read adds or updates a fixture project in schema/fixtures/, which must open and validate against the schema. A schema change alone doesn't raise the format: the rules above say when that happens.
  • RustGIS releases, file formats, the plugin ABI and the GeoLibre runner protocol are versioned separately.
  • A program RustGIS installs from elsewhere, such as the native GeoLibre runner, is pinned to a known release and moved forward by a pull request.

Keep historical projects and preferences in the release fixtures. These are the original bytes written by the release named in each filename: never regenerate, reformat or resave them. The Release fixtures workflow captures a small project and preferences file from each published release once its Linux archive is available, then opens a pull request. Actions must be allowed to create pull requests in the repository settings. If that setting is disabled, open a pull request from the release-fixtures/<tag> branch or use the workflow's artifact to submit the fixtures. Approve the CI runs on the generated pull request. The released_projects_and_preferences_still_open test discovers the files by version and checks that the current reader still opens them correctly. Record a skip in the fixtures' README and in the test's SKIPS when a release has no such file format.

New project saves, map/layer exports and layout files write format 2. Their requires header names only features present in the saved payload: terrain-block, terrain-block-shape (a block diagram cut to a circle or to polygons), terrain-block-polygon (one cut to polygons), terrain-water, terrain-water-shore (a terrain water's shore band other than the default), terrain-block-water (water in a block diagram's walls), terrain-block-water-bed (that water's floor read from a bed raster), terrain-block-walls-layer (the layer a block diagram's walls are coloured by), terrain-block-walls-top (the band along the top of its walls from a second layer), layer-raster-mask (a layer masked by a raster's values, stored as raster_mask or set by a saved layer.mask step whose "mask" is an object), unique-keep-order (Unique Values classes kept in the order they are listed in, stored as keep_order on a layer or in a saved style, or brought by a saved style.add, style.import, layer.addLayerFile, map.import or project.openText step whose inline text has it), shaded-relief-effects (cast shadows, sky visibility, fill light or rock colour), shaded-relief-light (a Shaded Relief's ambient or balanced light), shaded-relief-shadow-softness (a softness stored for a Shaded Relief's cast shadows, or set by a saved step; raster.symbology stores the default as none), shaded-relief-aerial (a Shaded Relief's aerial perspective, stored or set by a saved step; 0 and null are none), shaded-relief-terrain-type (a Shaded Relief's terrain type, stored as terrain_type, left out at 0, or set by a saved step's "terrain" on a Shaded Relief, where 0 and null light as before), shaded-relief-flats (a Shaded Relief's detail on flat ground, stored at any amount, or set by a saved step, where false, null and an amount of 0 are none), shaded-relief-generalize (a Shaded Relief generalised, its lights read from its heights smoothed over generalize metres, left out at 0, or set by a saved step's "generalize" on a Shaded Relief, where 0 and null are none, or held by a style, layer, map or project a saved step gives inline), blank-paper (a blank basemap's paper colour) and normalized-legend-urls for normalized legend addresses. Project requirements include offline map snapshots. table-export-order protects saved task commands, command notebook cells and replayable history using Export Table sort or limit options. Earlier format-2 readers refuse unknown required capabilities instead of opening and later saving away those settings; legacy format-1 files still open.

Projects, map files and layer files whose symbology draws an image as a marker (Marker::Picture: a symbol's, a stacked stroke's or a dot fill's, saved styles included), or whose replayable commands set one (an image in layer.marker, a layer.lineStrokes stroke's markers or a layer.fillLayers fill), require picture-markers: an older reader must refuse them rather than fail on the marker or lose it. Where such an image is an SVG, they also require svg-markers: a reader of PNG and JPEG markers only would draw it as a circle and refuse the command that sets it.

A layer file holding a group (#2870) lists groups and layers in place of the one layer and requires layer-group, so a reader of one layer refuses it by that name rather than as damaged. Add Layer File, Add Data and a drop place it as Paste Layers places a copied group.

Projects, model files and web tools that save a percent-slope function require slope-percent: an older reader must refuse them rather than run the saved function in degrees. Project requirements also cover executable task steps, replayable history and notebook command cells. The same saved containers require tabulate-intersection-unit for Tabulate Intersection with a non-default areaUnit, so older readers refuse instead of silently using km². Omitted units and explicit km2 require nothing extra; omitted zone fields need no capability because older tools refuse them. The same containers require tabulate-intersection-empty-zones when includeEmptyZones is on, so older readers refuse the file instead of omitting the zero rows. The same containers require dggs-system when Generate Tessellation or Aggregate Points to Grid (a5Grid, a5Aggregate) is given a system other than A5: those were A5's tools, and an older reader would make A5 cells, warning only that it ignored the key. A blank system, A5 or none needs nothing.

Every capability a saved command can need, except table-export-order (no tool node runs share.exportTable), also reads a model.run whose graph is given inline, in a saved task step, script line, notebook cell or history entry: each of the graph's tool nodes needs what the same tool as a step needs.

report.existingTemplate imports a layout file as layout.import does. Wherever this section says a saved layout.import whose text has something requires a capability, so does a saved report.existingTemplate step that passes it as text or as base64 data. Each step is read as its command reads it: layout.import reads text, never data; report.existingTemplate reads data before text, and neither when layout names a layout.

Projects with a background on a layout element, or a saved task step, script, notebook command cell or history entry that gives one (layout.addElement or layout.update with a background other than null), require layout-element-background, so an older reader refuses them instead of opening the layout and saving it again, or running the command, without the background. Layout files (.rgislayout) carry a header of their own, as map files do, and require what their elements use, as the project does; layout.import refuses a newer format or an unknown requires entry by name, and reads a file without a header as a legacy layout (#2277).

Projects, map files and layer files with a window of a Zarr variable that follows the time slider (layer.addZarr with "time": true and "cells" or "bbox") require zarr-window, so an older reader refuses them instead of reading the whole map at each step. A saved layer.addZarr command with both needs nothing: an older RustGIS refuses it when it runs.

Projects, map files and layer files with a label class curved along a guide line layer (labels.placement with a guide) require label-guide, so an older reader refuses them instead of placing those labels as without it and saving them again without the guide. A saved labels.placement command with a guide needs nothing: an older RustGIS refuses the key when it runs.

Projects, map files and layer files with a label class weighing other than 5 (labels.placement with a weight) require label-weight, so an older reader refuses them instead of placing their labels as without it and saving them again without the weights. So do projects with such a class in a saved style, or a saved labels.placement step (in a task, a model or a script) with a weight other than 5: an older reader would apply the style, or run the step, without the weight, saying nothing.

Likewise a label class keeping other than 2 points free round its labels (labels.placement with a clearance) requires label-clearance, in a layer, a saved style or a saved labels.placement step: an older reader would place the labels 2 points apart and save them again without the clearances, or run the step without it.

A label class removing duplicates (labels.placement with a removeDuplicates distance) requires label-duplicates, in a layer, a saved style or a saved labels.placement step: an older reader would place and save every label, or run the step without it.

Projects and map files with a tile layer drawn nearest (map.setTiles with "resampling": "nearest") require tile-resampling, so an older reader refuses them instead of drawing the layer blended and saving it again without the setting. So do projects with a saved map.addTiles or map.setTiles step (in a task, a model or a script) that sets it: an older reader would run the step without it, saying nothing.

Projects with an ink on a legend, colorbar, table or chart (color on those elements) require layout-element-ink, so an older reader refuses them instead of drawing those elements in dark grey and saving them again without it. Saved layout.addElement and layout.update commands that set one need nothing: an older reader refuses color on those elements, so the command fails there instead of losing the ink. A saved layout.import whose text gives an element an ink requires layout-element-ink, and one whose text gives an element a background requires layout-element-background, since an older reader would read that layout without them.

Projects with a layout text that wraps to its box (wrap on a text element) require layout-element-wrap, so an older reader refuses them instead of drawing the text on its own line breaks and saving it again without the option. Saved layout.addElement and layout.update commands with "wrap": true require it too, since an older reader warns that it ignores the key and adds the text unwrapped; "wrap": false needs nothing. A saved layout.import whose text has a wrapped text requires it as well.

Projects with a layout text placed in the middle or at the bottom of its box, with a line spacing other than 1, or drawn in upper or lower case (valign, line_spacing, case on a text element) require layout-text-block, so an older reader refuses them instead of drawing the text at the top, at the usual spacing and as typed, and saving it again without them. Saved layout.addElement and layout.update commands that set one require it too, since an older reader ignores the keys; giving the defaults ("top", 1, "none", as the commands read them: "1" too) or null needs nothing. A saved layout.import whose text has such a text once read into range requires it as well, and a layout file (.rgislayout) with one lists it in its header.

Projects with a layout chart grouped by a field, or with a statistic, an order or a number of bars other than the defaults, or with an Other bar (group, statistic, order, bars, other on a chart element) require layout-chart-data, so an older reader refuses them instead of drawing a bar per feature, the 20 largest, and saving the chart again without them. A statistic counts grouped or not: one kept while a chart is ungrouped would be lost too. Saved layout.addElement and layout.update commands that set one of them require it too, and so does a layout.update that gives a chart's label ("" too), which an older reader's update doesn't take; giving the defaults, or "group": "", needs nothing. A saved layout.import whose text has such a chart requires it as well.

Projects with a layout chart drawn as columns, with its values or their decimals, its own title or none, a bar colour or labels against its bars (orientation, values, decimals, title, bar_color, label_align on a chart element) require layout-chart-look, so an older reader refuses them instead of drawing bars running across in the default blue, with the title the chart is given, and saving it again without them. Saved layout.addElement commands for a chart that set one of them require it too. A saved layout.update requires it for values, decimals, barColor and labelAlign only: its title and orientation may be a legend's or a colorbar's, which the command alone doesn't tell, and the project the update ran on requires it for its chart anyway (decimals may also be a scale bar's, so such an update requires layout-scale-bar-details as well). Giving the defaults needs nothing. A saved layout.import whose text has such a chart requires it as well.

Projects with a layout chart coloured by its layer's classes (classes on a chart element) require layout-chart-classes, so an older reader refuses them instead of drawing every bar in the chart's bar colour and saving it again without. Saved layout.addElement commands for a chart and layout.update commands that set "classes": true require it too (only a chart takes the key); false needs nothing. A saved layout.import whose text has such a chart requires it as well.

Projects with a layout chart stacked by a second field (stack on a chart element) require layout-chart-stack, so an older reader refuses them instead of drawing each bar whole and saving it again without the field. It is required whenever the field is stored, even where the chart doesn't draw it stacked (ungrouped, or not summing or counting, which commands refuse or let go). Saved layout.addElement commands for a chart and layout.update commands that set a stack field require it too (only a chart takes the key); "" needs nothing. A saved layout.import whose text has such a chart requires it as well.

Projects with a layout chart that faces another (mirror, a max or hide_labels on a chart element; a max not above 0, only in a hand-edited file, is let go on read and said as a value out of range) require layout-chart-facing, so an older reader refuses them instead of drawing the chart the usual way round, on its bars' own scale and labelled, and saving it again without (#2487 part 4). Saved layout.addElement commands for a chart and layout.update commands that set "mirror": true, a max above 0 or "hideLabels": true require it too (only a chart takes the keys); false, null and "auto" need nothing. A saved layout.import whose text has such a chart requires it as well.

Projects with a layout chart that draws a line round its bars (bar_outline with a width above 0 on a chart element) require layout-chart-outline, so an older reader refuses them instead of drawing the bars without and saving the chart again without (#2487 part 4b). In a hand-edited file, a width past 5 is held to 5 and one below 0 let go on read, both said as values out of range; a width of 0 draws none and is let go. Saved layout.addElement commands for a chart and layout.update commands that give a barOutline object without a width or with one above 0 require it too (only a chart takes the key); null and a width of 0 need nothing. A saved layout.import whose text has such a chart requires it as well.

Projects saved with a layout open (open_layout) require project-open-layout, so an older reader refuses them instead of saving them again without it (#3446). A project saved on the map view has no such key and requires nothing for it.

Projects with a layout table whose columns are chosen (fields on a table element), whose text isn't 8 points (text_size) or whose header is off (header) require layout-table-look, so an older reader refuses them instead of drawing the whole table and saving it again without (#3409). In a hand-edited file, a text size outside 4 to 100 points is brought into that range on read, said as a value out of range. Saved layout.addElement commands for a table with any of them, and layout.update commands that give fields or header, require it too; null needs nothing. A saved layout.import whose text has such a table requires it as well.

Projects with a layout table that is sorted (sort), largest first (descending) or lists only selected features (selected_only) require layout-table-rows, so an older reader refuses them instead of drawing the layer's first rows and saving it again without (#3409). Saved layout.addElement commands for a table with any of them, and layout.update commands that give one, require it too; null needs nothing. A saved layout.import whose text has such a table requires it as well.

Projects with a layout colorbar whose labels aren't 8 points (text_size) or have their decimals chosen (decimals) require layout-colorbar-labels, so an older reader refuses them instead of drawing the default labels and saving the colorbar again without (#3437). In a hand-edited file, a text size outside 4 to 100 points or a count of decimals past 6 is brought into range on read, and one that is no count reads as automatic. Saved layout.addElement commands for a colorbar with either require it too, as does a saved layout.import whose text has such a colorbar.

Projects with a layout north arrow whose N has a font of its own (font or font_name on a north arrow) require layout-north-arrow-font, so an older reader refuses them instead of drawing the sans-serif and saving the arrow again without (#3467). Saved layout.addElement commands for a north arrow with a font other than the sans require it too. A saved layout.import or report.existingTemplate carrying such an arrow requires it as well, as does a saved project.openText whose project needs it. A saved layout.update doesn't: it names no element kind, and an older reader refuses a font on a north arrow when the step runs.

Projects with a layout scale bar whose labels have a font of their own (font or font_name on a scale bar) require layout-scale-bar-font, so an older reader refuses them instead of drawing the sans-serif and saving the bar again without (#3468). Saved layout.addElement commands for a scale bar with a font other than the sans require it too. A saved layout.import or report.existingTemplate carrying such a bar requires it as well, as does a saved project.openText whose project needs it. A saved layout.update doesn't, for the reason given for a north arrow's.

Projects with a map frame whose border isn't the default dark grey 0.8 pt line (border_color, border_width on a map frame, a width of 0 drawing none) require layout-frame-border, so an older reader refuses them instead of drawing the default border and saving the frame again without its own (#2557). A saved layout.update that gives a frame a border object requires it too, since an older reader warns that it ignores the key; "border": null only gives the default back and needs nothing. A saved layout.import whose text has such a frame requires it as well.

Projects with section lines on a map frame (sections) require layout-section, so an older reader refuses them instead of drawing the frame without them and saving it again so (#2863). A saved layout.addElement of a section requires it too, and so does a layout.update with a section object, which an older reader warns that it ignores. A saved layout.import whose text has such a frame requires it as well.

Projects with a profile beside a map frame (an element of kind Profile) require layout-profile, so an older reader refuses them instead of dropping the element (#2863 part 2). A saved layout.addElement of a profile requires it too, and so does a layout.update with a key only a profile reads (band, side, gap, thickness, unit, lineColor, lineWidth, guides, min, or a section given as a name). A saved layout.import whose text has one requires it as well.

Projects with a legend, a scale bar or a grid whose text isn't its default size (text_size on a legend, 9 points by default, or on a scale bar, 8; label_size on a frame's grid, 8) require layout-text-size, so an older reader refuses them instead of drawing that text at the default and saving it again without its size (#2581). A saved layout.addElement that gives a legend or a scale bar textSize, or a grid labelSize, of another size requires it too, and so does a layout.update with "grid": {"labelSize": …} of another size; null or the default need nothing. A saved layout.update isn't told which element it changes, so any textSize but null requires it there. A saved layout.import whose text has such an element requires it as well.

Projects with a legend that fits its box by shrinking its text or adding columns, that leaves its layer names off, or that has more than three columns (fit, show_layer_names, columns on a legend element) require layout-legend-fit, so an older reader refuses them instead of drawing the legend at its size, its names shown and in three columns, and saving it again without them. Saved layout.addElement and layout.update commands that set one require it too; "fit": "manual", "showLayerNames": true, three columns or fewer, null, and a scale bar's own fit values need nothing. A saved layout.import whose text has such a legend requires it as well, and a layout file (.rgislayout) with one lists it in its header.

Projects with a legend that gives a class its own text (class_labels on a legend element) require layout-legend-class-labels, so an older reader refuses them instead of drawing the layer's labels and saving the legend again without its own (#3187). Saved layout.addElement and layout.update commands whose classLabels give a text require it too; null, a blank text and an empty object need nothing. A saved layout.import whose text has such a legend requires it as well, and a layout file (.rgislayout) with one lists it in its header.

Projects with a legend that has a subtitle (subtitle on a legend element) require layout-legend-subtitle, so an older reader refuses them instead of drawing no subtitle and saving the legend again without it (#3324). Saved layout.addElement and layout.update commands whose subtitle is text require it too; "" and null need nothing. A saved layout.import or report.existingTemplate carrying such a legend requires it as well, and a layout file (.rgislayout) with one lists it in its header.

Projects with a legend whose line and polygon patches aren't at their default size (patch_width other than 16 or patch_height other than 9 on a legend element) require layout-legend-patch-size, so an older reader refuses them instead of drawing the patches at the default and saving the legend again without the size (#3559). Saved layout.addElement and layout.update commands whose patchWidth or patchHeight is a number other than the default require it too; null and the defaults need nothing. A saved layout.import or report.existingTemplate carrying such a legend requires it as well, and a layout file (.rgislayout) with one lists it in its header.

Projects with a legend that nests a layer's sizes ("sizes": "nested" on a legend element) require layout-legend-nested-sizes, so an older reader refuses them instead of drawing rows and saving the legend again without the setting (#3347). Saved layout.addElement and layout.update commands with that value require it too; "rows" and null need nothing. A saved layout.import or report.existingTemplate carrying such a legend requires it as well, and a layout file (.rgislayout) with one lists it in its header.

Projects with a map frame that outlines more than one other frame (more_extents on a map frame element) require layout-extent-indicators, so an older reader refuses them instead of drawing the first outline and saving the frame again without the others (#3394). Saved layout.addElement commands that add an extent indicator require it too, since an older reader replaces the frame's indicator instead of adding one, as do saved layout.update commands whose extentIndicator gives of or "remove": true; its colour, its width and false need nothing. A saved layout.import or report.existingTemplate carrying such a frame requires it as well, and a layout file (.rgislayout) with one lists it in its header.

Projects with a map frame that numbers its extent indicators (extent_numbers on a map frame element) require layout-extent-numbers, so an older reader refuses them instead of drawing the outlines without their numbers and saving the frame again without the setting (#3394). Saved layout.update commands whose extentNumbers is true require it too; false and null need nothing. A saved layout.import or report.existingTemplate carrying such a frame requires it as well, as does a saved project.openText whose project has one, and a layout file (.rgislayout) with one lists it in its header.

Projects with a legend that shows feature counts (show_counts on a legend element) require layout-legend-counts, so an older reader refuses them instead of drawing no numbers and saving the legend again without the setting (#3237). Saved layout.addElement and layout.update commands with "showCounts": true require it too; false and null need nothing. A saved layout.import or report.existingTemplate carrying such a legend requires it as well, and a layout file (.rgislayout) with one lists it in its header.

Projects with a legend that orders its layers itself (layer_order on a legend element) require layout-legend-order, so an older reader refuses them instead of listing the layers as the map draws them and saving the legend again without its order (#3279). Saved layout.addElement and layout.update commands whose layerOrder names a layer require it too; null and an empty list need nothing. A saved layout.import or report.existingTemplate carrying such a legend requires it as well, and a layout file (.rgislayout) with one lists it in its header.

Projects with a legend that says where its columns start (column_breaks on a legend element) require layout-legend-column-breaks, so an older reader refuses them instead of sharing the rows out itself and saving the legend again without its breaks (#3445). Saved layout.addElement and layout.update commands whose columnBreaks names a layer require it too; null and an empty list need nothing. A saved layout.import or report.existingTemplate carrying such a legend requires it as well, and a layout file (.rgislayout) with one lists it in its header.

Projects with a legend in one row (one_row on a legend element) require layout-legend-one-row, so an older reader refuses them instead of drawing its rows in one column and saving the legend again without its row. Saved layout.addElement and layout.update commands whose oneRow is true require it too; false and null need nothing. A saved layout.import, report.existingTemplate or project.openText carrying such a legend requires it as well, and a layout file (.rgislayout) with one lists it in its header.

Projects with a layout picture that remembers the file it was read from (source on a picture element) require layout-picture-source, so an older reader refuses them instead of drawing the word Picture for a picture with no image and saving it again without its file. A saved layout.update that gives a picture an image or a path requires it too, since an older reader ignores both; layout.addElement with a path needs nothing (an older reader adds the same picture), and null needs nothing. A saved layout.import or report.existingTemplate whose text has such a picture requires it as well, and a layout file (.rgislayout) with one lists it in its header. A source that is blank, an address, over 4096 bytes, without a file name, or holding control or direction characters isn't kept, so it needs nothing.

Projects with a scale bar that has subdivisions, divisions before zero, labels below, a unit label of its own or placed elsewhere, decimals or a fit other than the defaults (subdivisions, divisions_before_zero, label_position, unit_label, unit_label_position, decimals, fit on a scale bar element) require layout-scale-bar-details, so an older reader refuses them instead of drawing a plain bar and saving it again without them. Saved layout.addElement and layout.update commands that set one require it too, since an older reader ignores the keys; giving the defaults, "decimals": "auto" or "unitLabel": null, needs nothing. Decimals fixed at any number, 0 included, are a detail. A chart takes decimals too: a saved layout.update can't tell whose they are, so a number there requires both this and layout-chart-look, while a layout.addElement says which kind it adds. A saved layout.import whose text has such a bar requires it as well, and a layout file (.rgislayout) with such a bar lists it in its header, so an older reader refuses the file too. A scale bar's text size isn't one of its details: it requires layout-text-size, as above.

Projects with a layout whose page isn't white (paper on the layout, #2855) require layout-page-color, so an older reader refuses them instead of opening the page white and saving it again without its colour. A saved layout.page that gives a color other than white requires it too; null or "#FFFFFF" need nothing. A saved layout.import whose text has a coloured page requires it as well. A translucent page colour, which only a hand-edited file holds, is read as it looks on white paper (a clear one is the white page) and counted with the page settings the project says it repaired.

Projects with a layout text that holds a layer statistic ({count:Layer}, {sum:Layer:field}, {mean:…}, {min:…} or {max:…}, #2853) require layout-text-statistics, so an older reader refuses them by name instead of printing the token as written. A saved layout.addElement or layout.update whose text holds one requires it too, as does a saved layout.publication whose title, subtitle, note, sources, reference, author or headings do, and a saved layout.import whose text has such a text, or a saved report.existingTemplate that reads one. A presentation's map page draws its title over its map frame, where a statistic is filled in, so a saved presentation with one in a map page's title requires it too, and so does a saved presentation.mapPage or presentation.updatePage whose title holds one, or a saved presentation.import whose text has such a map page (a blank page's text is drawn with no map frame, so no figure fills in there). Other braces ({scale}, {foo}, {count:}) need nothing. Files read by path are not looked into, as for every other layout capability, and a presentation file (.rgispres) has no header to list a capability in, so an older reader opens one with the token printed as written.

Projects, map files and layer files with a layer or table held in a coordinate system of its own (Dataset::held_in: a file's system, kept since #2580) save its features in that system, exactly, with held_in beside them, and require native-coordinates: an older reader would read those coordinates as longitude/latitude, and one that saved the project again would lose its system and its exact coordinates. That holds for one with no features too (a template's layers), whose system an older reader would also save away. A layer or table in longitude/latitude, or a window onto a streamed source, is saved as before and requires nothing (#2032 C2d).

A coordinate system read from WKT is saved with its PROJ definition, which older readers read, and its WKT beside it (wkt), which this release reads first. Projects, map files and layer files require crs-wkt when a saved system's definition doesn't place points as its WKT does (within a centimetre, at its centre and a few degrees around it): angles in grads, a datum transformation the definition can't hold, or no definition. An older reader refuses those instead of misplacing the layer. Others need nothing: an older reader opens them by the definition and, saving them again, drops only the WKT.

A saved layout.publication that leaves out or sets up a part of the sheet (grid or scaleBar as "none" or an object that gives something, or northArrow as any object, #3094) requires layout-publication-parts, so an older reader refuses it instead of making the default sheet or failing on the object. null, a grid or scaleBar of {}, and the north arrow given as the text "auto", "always" or "none" need nothing.

A saved layout.publication that leaves out or sets up its legend (legend as "none" or an object that gives something, #3095) requires layout-publication-legend, so an older reader refuses it instead of making the default legend. null, a legend of {}, a blank title and an empty exclude need nothing.

A saved layout.publication that gives its extent in the map's coordinate system (crs, #3322) requires layout-publication-crs, so an older reader refuses it instead of reading the extent as degrees. A crs of null needs nothing.

New dependencies

A proposal for a dependency answers:

  • Does it build for wasm32-unknown-unknown, or does it sit behind a native-only feature?
  • Does deny.toml allow its licence?
  • What does it add to build time and package size, measured, with only the features we need?
  • What does it do better than the code we have, shown by tests (accuracy, malformed input, the browser)?

The release quality pass

One maintainer takes the release quality pass for each release and says so in the version-bump pull request. Each point left for the pass is fixed, filed as an issue, or dropped with a reply on its comment; none carries into a second release unrecorded.