What’s new

What changed in the framework and the CLI, newest first, with the page that explains each change. Releases are tagged on git.splent.io and published on PyPI. Your product takes a release by pinning it under [tool.splent.runtime], which product:build writes.

Table of contents

  1. splent_framework
    1. Not released yet
    2. 1.33
    3. 1.30
    4. 1.29
    5. 1.28
    6. 1.27
    7. 1.26
    8. 1.25
    9. 1.24
    10. 1.23
    11. 1.22
    12. 1.21
  2. splent_cli
    1. Not released yet
    2. 1.63
    3. 1.54
    4. 1.50
    5. 1.49
    6. 1.48
    7. 1.47
    8. 1.46
    9. 1.45
    10. 1.44
    11. 1.43
    12. 1.42
    13. 1.41
    14. 1.40
    15. 1.39
    16. 1.38
    17. 1.37

splent_framework

Not released yet

  • Cheap password hashes in tests. The framework’s fixtures make werkzeug hash with pbkdf2:sha256:1 in the test process. See Fixtures.
  • MARIADB_TEST_HOSTNAME, a database server for the tests alone. See Test environment.
  • SPLENT_APP_DIR, the folder of the workspace the product is checked out in, when it is not called like the product. See Environment variables.

1.33

1.30

  • Storage per feature. Each feature keeps its files in a folder of its own. See Storage.
  • HTTP APIs. problem+json errors, cursor pages, ETag and deprecation headers, and accepted() for work that runs later. See HTTP APIs.
  • Background tasks report their progress, and run_isolated runs heavy work in a child process with a time and memory limit. See Background tasks.
  • A shared rate limit for every feature, and form_guard for public forms. See Rate limits and forms.
  • Safe fetching of an address someone else chose, with a total time limit. See Fetching URLs.
  • Search fields, facets and sorts one feature adds to another’s. See Search.
  • Content helpers such as unique_slug, summary(), page_of() and pager(), and a sitemap built from what features register. See Content helpers.
  • The site’s own address and time zone, with site_root(), absolute_url(), site_name() and local_now(). See The site.
  • feature_cache, the product’s Redis or each process’s memory. See Cache.
  • Every template escapes, and | safe trusts only markup. See Template system.
  • Icons, empty states and page behaviours (icon(), empty_state, data-confirm, data-copy, data-reveal) on every shell.
  • optional_module and optional_attr, for a feature the product may not have.

1.29

  • An editable product’s version is its checkout’s. See The product’s version.
  • The framework names what a feature does, not which feature does it, for sessions and task queues. See Framework defaults.

1.28

1.27

  • register_menu_match lights another feature’s menu entry on your screens. See The current entry.
  • A list without choices can select a node of the feature model. See Letting a value select features.
  • A model of a feature the app does not load cannot break every query. See Database.

1.26

1.25

  • The audit API, record_event and register_audit_recorder. See Audit and reports.
  • report_degraded, request_id and readiness listeners.

1.24

1.23

1.22

1.21


splent_cli

Not released yet

  • What a folder is comes from what it holds, never from its name. A feature is one by its [tool.splent.contract], a product by its [tool.splent] features, a product line by its metadata.toml. See What each folder is.
  • A product in a folder of another name. SPLENT_APP is the product’s name and SPLENT_APP_DIR its folder; product:select takes either and writes both. Containers, images and Compose projects get a name Docker takes. See A product in a folder of another name.
  • workspace:status shows the products, features and product lines of the workspace, and which products use each feature, editable or pinned. See workspace:status.
  • A pinned feature is tested at the version the product pins, even when the workspace holds a working copy of it. --with names a working copy to test, found by what it holds. See Which copy is tested.
  • product:ui-audit uses several browsers at once, as many as the grid’s Chrome node offers, which a new product’s development compose sets from this machine (SPLENT_BROWSER_SESSIONS). It measures each page once less, and the report reads as before. --sessions uses fewer. See Several browsers at once.
  • product:test-profile runs the product’s tests and shows where their time goes, per feature, test and fixture, and how much is password hashing, sleeping, the network or the database, with what to do about each. See product:test-profile.
  • The tests’ own database server. A new product’s development compose has <product>_db_test, in memory and without durable commits, and the tests use it through MARIADB_TEST_HOSTNAME. See Test environment.
  • product:upgrade upgrades a product’s features and keeps only what the running product passes with: it installs, migrates, validates and runs the tests for the whole plan, then for one upgrade at a time when the plan fails, and brings the product back when nothing passes. See product:upgrade.
  • feature:upgrade takes tags PyPI does not serve, checking them through their dependencies, keeps the version requirements of every contract, and validates the planned product in every phase before it changes anything. --pypi-only plans from PyPI alone. See feature:upgrade.
  • workspace:sync brings the whole workspace up to date: it fast-forwards every checkout, the framework and the CLI included, and clones the features, product lines and products of the marketplace the workspace lacks. What it cannot update safely it leaves alone and reports. See workspace:sync.
  • feature:pull updates like workspace:sync. A feature with uncommitted changes or local commits is skipped and reported instead of failing, no product needs to be selected, and --dry-run shows what is behind. See feature:pull.
  • product:drift --check exits 1 when a SPLENT-owned file drifted, so a CI job can stop on it. See Failing a CI job on drift.
  • A failing product workflow opens an issue. splent-validate.yml and splent-upgrade.yml end with an alert job that opens an issue on the product’s repository while the workflow fails on main and closes it when it passes again. Bring it to an existing product with product:sync-template --ci. See When a workflow fails.

1.63

  • feature:release lists the feature in the marketplace when you are signed in, and marketplace:index reads those listings. No pull request to the index. See Listing in the marketplace.

1.54

  • product:ui-audit opens every page in a real browser, at five widths and in both themes, and fails on what leaves the screen, is cut off or covered, text too faint to read and pictures that fade away. product:test runs it when the product asks. See product:ui-audit.
  • A command’s name has one colon. feature:hook-add, feature:hook-remove, feature:frontend-init and product:frontend-audit replace the names with two, which keep working.

1.50

  • SQL and XSS sinks. A command reads a feature’s sources for them, product:validate checks them in an eighth phase, and feature:release refuses a feature that has one.
  • The product’s storage in one volume, migrated at start.
  • feature:contract reads the framework’s optional_module and optional_attr as optional dependencies.

1.49

  • feature:release refuses a revision id longer than 32 characters. See Migrations.
  • feature:contract makes a link under has_endpoint an optional dependency. See Optional dependencies.
  • The neutral app finds its platform by what each piece does. See The platform.
  • feature:translate works on any working copy. See feature:translate.
  • The CLI writes from its own templates, never a checkout in the workspace. See The CLI.

1.48

1.47

1.46

1.45

1.44

1.43

1.42

  • A product’s own commands, splent product:<name>. See product:commands.
  • [tool.splent.test] env for a product’s own tests. See product:test.

1.41

1.40

1.39

  • product:validate checks parameters in a sixth phase. See Phase 6.
  • A breaking schema change needs a major version. See Parameters.

1.38

  • A feature’s tests run in a neutral app when the product does not declare it. See The neutral app.

1.37

  • product:test runs the product’s own tests.
  • check:vendor finds Keenthemes code. See check:vendor.
  • The start migrates once, under a database lock. See db:upgrade.
  • clear:uploads empties the protected uploads. See clear:uploads.

Back to top

splent. Distributed by an LGPL license v3. Contact us: drorganvidez@us.es