0.9.4 released

In this release:

  • Slashes in page names are no no longer URL encoded (in the URL)
  • task and item Objects now have a parent attribute when nested, and inherit their ancestors’ tags in itags — see Objects#item for an example.
  • When a page changed on disk, it now does a diff-based reload, largely retaining local changes, edit history and cursor position (by jcgurango)
  • The default generated SETTINGS uses yaml again until more plugs are updated to support Space Config
  • Markdown preview now has a print button that appears on hover (by Ruibin Xing)
  • Some more iterations on the Schema feature (still experimental)
14 Likes

I know it is experimental, but did the Schema Validation updates change how nested property validation was handled?

Example that was working in 0.9.2:

---
project:
    active: true
    status: IN-PROGRESS
---

Schema Validation:

schema.tag.project:
  properties:
    project.type: array
    project.active.type: boolean
    project.status.type: string
  required:
  - project
  - project.active
  - project.status

Now I get the following error:
Error: strict mode: unknown keyword: "active" . Removing tag until this is resolved.

Hi,

I’ve tried 0.9.4 and it looks like there might be a slight regression since 0.9.2: it stopped showing “linked by not created” pages when creating new links, and I really liked that. :slight_smile:

You have to reindex your space once to get this back: Space: Reindex

Oh, thank you. That helped. I’ll make a note. :slight_smile:

Note: you really just have to do this once after the upgrade, it will remain up to date after that.

1 Like

I’m not sure why your schema worked before, perhaps it failed silently. This is what it should look like instead (I just tested this locally and it seems to work):

```space-config
schema.tag.project:
  properties:
    project:
      type: object
      properties:
        active.type: boolean
        status.type: string
      required:
      - active
      - status
  required:
  - project
```
1 Like