Skip to content

@antelopejs/dms-mailing v0.7.1

Latest

Choose a tag to compare

@Upd4ting Upd4ting released this 24 Oct 10:31
· 10 commits to main since this release

Upgrade notes

  • Runs on @antelopejs/dms >=0.11.0, @antelopejs/interface-dms >=0.9.0, @antelopejs/dms-frontend >=0.9.0 <0.10.0, @antelopejs/interface-data-api >=0.4.0 (#69). Upgrade together with dms 0.11 and dms-frontend 0.9.
  • Breaking: the database module must enforce unique indexes (#68). A template's slug is a unique index (@antelopejs/interface-database >=0.1.11, @antelopejs/interface-database-decorators >=0.1.10): use @antelopejs/mongodb ≥ 1.5.0 or @antelopejs/postgres ≥ 0.2.2. RethinkDB refuses this schema. The mailing_template_slugs table (slug claims) is gone; creating or duplicating a template on a taken slug answers 409 $dms_mailing.errors.duplicate_slug.
  • Breaking: declared templates and categories are written once (#66). An existing slug or category id is kept, whatever the code declares next; declaredHash, pendingDeclaredHash, declarationSeedRevision and json_declared_categories are no longer written. No migration: reset the database.
  • Breaking: the database ready gate is removed (#65). Call DeclareTemplate, DeclareTemplateCategory, DeclareSender and ImportSends from a Hook.TENANT_BEING_PROVISIONED handler.
  • A declared template is created already published as version 1, in one write: concurrent declarations of one slug answer one created and kept for the others, all at version 1 (#70).

compare changes

🚀 Enhancements

  • settings: Offer the module default on the settings fields that have one (#67)

🩹 Fixes

  • declarations: Create a declared template already published, in one write (#70)

💅 Refactors

  • declarations: Drop the database ready gate (#65)
  • declarations: Write declared templates and categories once (#66)
  • templates: A unique slug index instead of slug claims (#68)

📦 Build

  • deps: Run on dms 0.11, interface-dms 0.9 and dms-frontend 0.9 (#69)

🏡 Chore

  • release: @antelopejs/interface-dms-mailing v0.9.1 (4b09056)

❤️ Contributors