v0.46 Release: One Platform, Many Organizations
Updated November 21, 2026 for v0.46.8 through v0.46.11, and November 22 for v0.46.12 through v0.46.17.
Until now, one Smarter platform served one organization well. Every account on it was an island. The only thing two accounts could share was what the Smarter account published to everyone. Whether a person could sign in at all depended on a subscription service that wasn’t public.
v0.46, now at v0.46.17, changes both. Inside a platform, accounts now form a tree, so a company and its departments, or a hosting provider and its customers, can each run their own corner of one platform and share exactly what they choose. Outside it, Smarter Account Manager, the service that decides who has an active subscription, is now open source under the AGPL, like Smarter itself. Together they make Smarter a complete multi-tenant solution that a large organization or a hosting provider can run on its own infrastructure.
| Feature | What it does |
|---|---|
| Account Manager | The open-source subscription service that a multi-tenant Smarter platform asks, at every sign-in, whether to let a user in. |
| Account hierarchy | Accounts form a tree, and each one decides which part of the tree may read its resources. |
| Account administrators | A person can administer one department without becoming staff, a superuser, or the administrator of anything else. |
| Users in manifests | A User manifest lists every account the person belongs to, and which of them they administer. |
| owners.yaml | One repository of manifests can declare a whole organization, each folder owned by the department it belongs to. |
| Orchestration runs | Orchestrators now run, in four strategies, across the assistants of several departments. |
| User-defined settings | An operator can set any Django setting from a DJANGO_* variable or a YAML file, and it supersedes Smarter’s own value. |
| Resource types off | Each family of resources can be turned off, so a platform offers only the kinds it needs. |
| Settings by layer | Every environment variable now names the platform, subsystem or app that reads it. |
| A self-contained Helm chart | The published chart installs Smarter from a values file, without Smarter’s own deploy workflow. |
| A scoped Django admin | Account administrators see their own accounts’ rows, and deletes go through the same checks as smarter delete. |
Smarter Account Manager is open source
Smarter can run in three ways. A hosted platform belongs to one customer, and a managed platform is one that someone runs for them. A multi-tenant platform serves many customers at once, and that is the one that needs a gatekeeper. When a user signs in, with a password, Google or GitHub, the platform has to know whether that person’s organization is paying for access.
That gatekeeper is Account Manager, a Django service that runs beside Smarter on the same Kubernetes cluster. It keeps the business side of a platform, which Smarter itself leaves out on purpose. That means customer accounts, contacts, payment methods through Stripe, subscriptions and the platforms each subscription covers, and the records that usage billing is built on (LLM prices, token charges and daily billing records). Until today its code was private. Anyone could run Smarter, but only The Smarter Project could run a multi-tenant Smarter.
It is now public, at github.com/smarter-sh/account-manager, under the GNU Affero General Public License v3, the same license as Smarter. A university that gives every faculty its own space, a company with dozens of business units, or a hosting provider that sells Smarter to its own customers can now run the whole stack.
What a platform asks
When multi-tenant authentication is on, the platform makes one call per sign-in.
curl https://api.am.<your-domain>/accounts/subscription-status/ \
-H 'Authorization: Platform <the platform key>' \
-H 'X-Client-Username: <username>' \
-H 'X-Client-Email: <email>'
Account Manager answers 200, with only active, plan_type and end_date, when the user belongs to an active multi-tenant subscription, and 403 otherwise. Smarter caches the answer. Superusers are always let in, and if Account Manager can’t be reached, the platform lets the user in rather than lock everyone out over a network blip.
Made ready to publish
Opening the code meant first making it worth reading. Most of the work since v0.46.6 went there.
- Platform keys. Each platform now proves who it is with a key that Account Manager issues (
manage.py create_platform_api_key --host <platform>, shown once,--rotateto replace it). Account Manager stores only a SHA-512 digest of it and compares keys in constant time. - Users matched by username and email together. The same username on two platforms belongs to two people, and now only the right one is the subscriber.
- Scoped answers. Only a multi-tenant subscription that is active and current, on the platform that asks, admits a user. An unknown user and an unsubscribed one get the same 403, so usernames can’t be probed.
- An old shortcut is gone. Earlier versions accepted an account number in an
X-API-KEYheader as proof of being that account’s administrator. Account numbers aren’t secret. Smarter never sent that header, and Account Manager no longer accepts it. - A test suite that runs. The tests had never run in CI, and half of them failed. Now 508 tests pass, coverage is 99.8 percent, and every pull request runs them in the full Docker Compose stack.
- Built like Smarter. Python 3.14, Django 6, MariaDB, the same hardened image (non-root, read-only code), and a Helm chart that uses its own database on the MariaDB server that Smarter’s chart already runs. No credential appears in a pod spec.
- No more duplicate welcome emails. Smarter welcomes its users, so Account Manager no longer sends its own copy.
The account hierarchy, organizations inside one platform
Earlier releases had no relation between accounts. A department’s assistant could use a database Connection only if the department owned it, so every new account got its own copy of every Secret and Connection, and an IT department had no way to run shared services for the rest of the company without publishing them to every account on the platform.
Now each account names its parent, and separately chooses a shareScope, itself or one of its ancestors, whose whole subtree may then read its resources. The tree describes the organization. The share scope describes who sees what. Here, IT shares with everyone in Stackademy Corp, and with no one outside it.
apiVersion: smarter.sh/v1
kind: Account
metadata:
name: stackademy_it
accountNumber: "2718-2818-0001"
description: >-
Stackademy's IT department, which runs the services that the whole company uses.
version: 1.0.0
spec:
config:
companyName: Stackademy IT
parent: "2718-2818-0000"
shareScope: "2718-2818-0000"
smarter apply -f stackademy-it.yaml
- Read, never write. Sharing lets other accounts read and use a resource. Only its owners change it.
- Down the tree only. A company can’t read its departments’ resources just because it is their parent. A department that shares nothing stays private, as HR usually should.
- Nearest name wins. When a SqlPlugin names its Connection, or an LLMClient its Guardrail, Smarter looks in the owner’s own resources, then their account’s, then the nearest account that shares with it. A department can override a shared resource by giving its own the same name.
- Nothing changes until you use it. An account without a parent sits directly under the Smarter account, which still shares its Providers, Guardrails and examples with everyone. Every user reads exactly what they read before.
- Only a superuser may apply an Account manifest, so moving an account in the tree is always a platform operator’s decision.
Account administrators
Being an account’s administrator used to mean being staff, a flag on the user rather than on their membership. In an organization of many accounts that doesn’t work. A chief financial officer who runs Accounting would also administer HR, and would reach the Django admin site too.
Each membership now carries its own is_account_admin role. A department head manages every resource in their department and nothing in the other accounts they belong to. They can create API keys, apply and delete manifests, and manage the department’s users, without access to the Django admin site and without being able to make anyone staff. The web console shows them an Account Admin badge.
People in manifests
A User manifest put its user in exactly one account, the applier’s. Now spec.accounts lists every account a person belongs to.
spec:
config:
email: cfo@example.com
firstName: Avery
lastName: Example
isActive: true
accounts:
- accountNumber: "2718-2818-0003" # Accounting, which they administer
isAccountAdmin: true
- accountNumber: "2718-2818-0002" # HR, as a member
Applying it adds missing memberships and updates the others. It never removes one, because leaving an account deletes everything the person owns there, which is too much for a deleted line. A manifest never holds a password either. spec.config.passwordSecret names a Secret instead, and only a superuser may set it.
A whole organization in one repository
A repository loaded by load_from_github used to land in a single account. An owners.yaml at its root now says which user, in which account, owns each folder, so one repository can hold a company’s accounts, people, shared Connections and each department’s assistants, each in its rightful place.
owners:
- path: departments/it
username: tomas_hartigan
accountNumber: "2718-2818-0001"
- path: departments/hr
username: avery_ivanova
accountNumber: "2718-2818-0002"
The Stackademy example project is now built this way, with six accounts and their staff, and the Organizing for AI case study walks through it.
Security
Building a hierarchy meant closing every path that crossed it.
- A staff user now administers only the accounts they belong to. Before, a staff user of one customer account could have used a User manifest to add themselves to another account as its administrator.
initialize_accountand Smarter’s automatic account administrator no longer make a customer’s administrator a superuser, who could read every other customer’s resources. A migration demotes the superusers those paths already made.- An account administrator can’t change a user who belongs to another account, or change anyone’s staff status.
- Name resolution searches only the resource owner’s own account tree, never everything its user happens to be able to read, so a plugin written by the chief executive doesn’t let HR read what the chief executive can.
Orchestrators now run
v0.15 introduced the Orchestrator as a manifest that could be applied but not run. Now it runs, and the account hierarchy is what makes it useful. Each department’s assistant answers from its own data, in its own account, and the department that answers pays for its tokens.
apiVersion: smarter.sh/v1
kind: Orchestrator
metadata:
name: stackademy_quarterly_board_pack
description: The executives' quarterly board pack, from the departments' own assistants.
version: 1.0.0
spec:
config:
strategy: parallel
maxIterations: 5
isActive: true
harnesses:
- llmClientName: stackademy_hr_assistant
accountNumber: "2718-2818-0002"
role: executor
executionOrder: 0
- llmClientName: stackademy_accounting_assistant
accountNumber: "2718-2818-0003"
role: executor
executionOrder: 1
- llmClientName: stackademy_board_pack
role: summarizer
executionOrder: 2
Start a run with POST /api/v1/orchestrators/<id>/runs/ and an objective. It answers 202, runs in the background, and GET /api/v1/orchestrators/<id>/runs/<run_id>/ returns its steps and, once it succeeds, its result. The web console starts and follows runs from the Orchestrator’s page.
- Four strategies.
sequentialpasses each answer to the next harness.parallelasks every harness at once. Inrouter, one harness picks which of the others should answer. Insupervisor, a planner asks the others questions, one at a time, until it has the answer. Asummarizercan write the final answer after any of them. - Harnesses in other accounts. A harness’s optional
accountNumbernames the account of its LLMClient, which the Orchestrator’s owner must be able to read. - Each step is a normal prompt. It uses its LLMClient’s tools, guardrails and budgets, as that LLMClient’s owner.
maxIterationsbounds the run, and a budget that has run out stops the step it would charge. - No back door. Only a user who may read every harness’s LLMClient can start a run, and anyone else gets 403 without learning which one they lacked. Only the user who started a run can read it, since its result may hold what they can see in other accounts.
- A signal at every step. Since v0.46.10 a run sends
orchestration_run_queued,orchestration_run_started,orchestration_step_finishedafter each step, andorchestration_run_finishedwith its final status and result. Code of your own can receive them, for example to notify the user who started a run or to meter its steps, instead of polling the run’s status.
Override any Django setting
Earlier releases offered one way to change a Django setting without changing Smarter’s code, a DJANGO_<SETTING> environment variable. It didn’t work reliably. Each environment’s settings module ran after the variables were applied, so anything it set undid them. DJANGO_SESSION_COOKIE_SECURE=false, for example, was quietly replaced in every AWS environment. There was also no way to write a nested setting such as LOGGING or CACHES.
v0.46.10 adds user-defined settings. On Kubernetes, each one is a DJANGO_* entry under env in the Helm chart’s values, beside every other variable. (v0.46.10 and v0.46.11 had a separate djangoSettings value, which v0.46.14 removed.)
env:
DJANGO_SESSION_COOKIE_AGE: "3600"
DJANGO_ADMINS: '["ops@example.com"]'
For local development, the same settings can also go in a YAML file, user-settings/settings.yaml, which Docker Compose mounts read-only into the app, worker and beat containers. user-settings/settings.example.yaml shows every kind of value, each with its environment variable form, such as DJANGO_SESSION_COOKIE_AGE=3600.
- They win. From lowest to highest priority, Smarter’s
base.py, the AWS settings, the environment’s own module, the settings file, thenDJANGO_*variables. - Values keep their type. A variable’s text is read as the type of the setting it replaces, Smarter’s value or else Django’s default, so a list setting reads JSON or comma-separated items. A value of the wrong type stops Django with an error that names the variable, instead of being ignored.
- Typos are caught. A file that isn’t a YAML mapping, or a key that isn’t an upper case setting name, stops Django. A name that neither Django nor Smarter defines is set with a warning, in case it belongs to a package of your own.
- Safe for passwords. The chart writes them to the platform’s Kubernetes Secret, not a ConfigMap, and the log names each setting it applies, never its value. A changed setting rolls the pods.
A user setting is a hammer. It replaces Smarter’s whole value, however carefully that value was computed for the environment, and a list or dictionary is replaced, not merged. Only the type is checked, never the meaning. Prefer a SMARTER_* setting where one exists, and try a change in a test environment first.
📖 User-defined Django settings documentation
Turn off the resource types you don’t need
Only Proxies and Vectorstores could be turned off before, and only by unmounting some of their urls. A platform for a course that teaches only LLMClients and Secrets still showed students Guardrails, Orchestrators, MCPClients and the rest. Since v0.46.12, every family of resources has a flag of its own, and every flag defaults to true.
SMARTER_APP_GUARDRAIL_ENABLE=false
SMARTER_APP_ORCHESTRATOR_ENABLE=false
SMARTER_APP_MCPCLIENT_ENABLE=false
There are twelve, for Connections, Guardrails, LLMClients, LLMHosts, LLMTools (plugins and Extensions), MCPClients, Orchestrators, Providers, Proxies, Secrets, VectorSearches and Vectorstores. Accounts, users, budgets, API keys and prompts have none, because the platform doesn’t work without them.
- Off means off everywhere. The type’s console pages, web console API and REST API answer 404, and the sidebar leaves out its link.
- Manifests are refused with a reason.
smarter applyof a type that is off answers 400 and names the variable that turns it on, andsmarter validatereports adisabled_kinderror. - Initialization still works.
initialize_platformskips the example manifests of a type that is off, instead of failing. - Inconsistent flags are flagged.
manage.py checkwarns when an enabled type refers to one that is off, such as LLMClients whose plugins need LLMTools (smarter.W003). With--database default, it also warns about a type that is off and still has rows in the database (smarter.W004).
Settings named by who reads them
Smarter’s configuration had grown without a naming scheme. SMARTER_ROOT_DOMAIN, SMARTER_OPENAI_API_KEY, SMARTER_ENABLE_PROXY, MYSQL_HOST and NAMESPACE sat side by side, and the name said nothing about which part of the platform read it. Some were validated and masked in the log, and some were read straight from the environment. Since v0.46.14, every variable names the layer that owns it.
SMARTER_PLATFORM_*for the platform as a whole, such asSMARTER_PLATFORM_ROOT_DOMAIN, andSMARTER_PLATFORM_BRANDING_*for the product name, description and links, which were hard-coded before.SMARTER_SUBSYSTEM_*for the shared services, such asSMARTER_SUBSYSTEM_SQL_HOST(MySQL became SQL, since MariaDB and other engines work too) andSMARTER_SUBSYSTEM_K8S_NAMESPACE.SMARTER_APP_<APP>_*for one app, such asSMARTER_APP_PROVIDER_OPENAI_API_KEYand the flags above. Tavily and Brave Search are tools, not providers, so their keys areSMARTER_APP_LLMTOOL_*_API_KEY.DJANGO_*for Django settings, as described above.
Every Smarter setting is now read only under its prefixed name, and validated when the pods start. The few that keep the names other tools use are AWS_*, GITHUB_TOKEN and DJANGO_SECRET_KEY. API keys are masked wherever they are logged, and each app logs the variables it reads at startup, with secrets shown only as set or not set. A static AWS access key pair now logs a warning that IAM roles for service accounts are the safer setup.
Old names are not read. See Upgrading, below.
The Helm chart installs on its own
The published chart couldn’t deploy Smarter by itself. Only the deploy action in Smarter’s own repository knew how to read the Kubernetes Secrets that smarter-infrastructure creates and turn them into Helm values, so deploying anywhere else meant forking the repository and editing its workflow. Since v0.46.16, helm install with a values file is enough.
- The chart reads the infrastructure’s Secrets itself. The database, admin, secret key and email Secrets are looked up in the release’s namespace, and a Secret that doesn’t exist is skipped, so the chart also works on a cluster that smarter-infrastructure didn’t build.
- Derived values are derived. The settings module, the Celery broker, the namespace and the S3 bucket follow from the release and the environment, unless you set them.
- Placeholders stay out of the pods. A
SET-MEplaceholder left in the values used to reach the platform as a real value. Now it is left out, and Smarter’s default applies. - A fresh install waits for its database. On an install, each Deployment’s pods wait in an init container until the database is migrated, instead of answering 500 and crash-looping until the init Job finishes.
- Initialization runs once. A failed step of
initialize_platformused to rerun the whole command up to seven times, sending its email, uploading the static files and prompting the example LLMClients each time. The init Job now fails at once with the step’s own error. - Migrations use the new release’s settings. The pre-upgrade migrate Job read the previous release’s settings, so a release that renamed a setting failed before it migrated. It now reads a hook Secret built from the new values.
📖 Smarter on Kubernetes documentation
The Django admin, scoped to each account
Account administrators can open the Django admin, but in v0.46.11 they saw an empty index, because every list was for superusers only. Deletes made there skipped the dependency checks that smarter delete applies, so a Guardrail that an LLMClient used could be deleted anyway. Since v0.46.12, the admin works the way its permissions say.
- Staff see their own accounts. Lists of owned resources show the rows of the accounts the user belongs to. Rows that can’t be tied to one account, such as charges, are for superusers only.
- Deletes go through the manifest brokers. The delete page refuses while other resources depend on the one being deleted, and a successful delete invalidates caches and writes a journal entry, as
smarter deletedoes. - Export as manifests. Every list of resources has an action that downloads the selected rows as YAML manifests, one file or a zip, with Secret values redacted.
- Every list has a search box, and lists that grow with use, such as the journal and prompt history, can be browsed by date. Django’s own log of admin changes is shown, read-only, to superusers.
- App names read properly, in the user’s language. “Smarter Llmclient” and “Smarter PROXY” are now Smarter LLMClient and Smarter Proxy.
Security
- The page header was written onto the one admin site object that every request shares, so under concurrent requests one user’s name could appear in another user’s header. Each request now has its own.
- Opening the lists to staff exposed rows that weren’t scoped, and those were fixed before release. The journal showed every account’s prompts, and custom domains, their DNS records, LLMClient API keys and provider models showed every account’s rows. Each is now limited to the user’s own accounts.
API errors say whose fault they are
Until v0.46.8, the REST API and the web console’s clone, delete and rename actions answered almost every failure with 400 Bad Request and the exception’s own text. A dropped database connection was blamed on the client, and the text could name tables, constraints and file paths.
Now an error the client caused and can correct, such as an invalid manifest, a duplicate name or a delete of a resource that others still refer to, answers 400 with a message written for the client. Anything else answers 500 with a fixed message, e.g. “An unknown error occurred while deleting the ConnectionBase”, and the details go to the log. A client that retried on 400 should now retry on 500 instead. Batch user creation no longer echoes the submitted passwords in its response.
Fixes and operations
- Migrations run before new pods take traffic. A new Helm Job,
smarter-job-migrate, migrates the database in a pre-upgrade hook. Before, new pods could serve requests for a few minutes against a schema that didn’t have their columns yet, which is what happened during the v0.46.0 rollout. A failed migration now stops the upgrade, and the old pods keep serving. - Prompt history no longer grows forever. A daily task deletes chat history older than
SMARTER_PROMPT_HISTORY_MAX_AGEdays (default 90), and the sessions it leaves empty. - The journal is lighter and more useful. Entries are written in Celery, off the request, and repeated content, such as a long conversation’s earlier turns, is stored once. Entries now keep the request body, and the Django admin shows each prompt and its reply. Unused journal data is pruned.
- Chat session keys are masked in every log line that used to show them in full, including the uvicorn access log.
- Joining an account makes it your default right away, rather than whenever a cache expired.
- Re-applying a plugin owned by someone other than its account’s administrator no longer fails with a duplicate.
- Manifests are parsed one way. The old manifest loader is gone, and every manifest is parsed and validated by its kind’s Pydantic model.
- Mailchimp is removed. Its settings, secrets and Helm values are no longer read.
- A Content Security Policy, in report-only mode. The platform sent none before. Every inline script now carries the request’s nonce, and browsers report violations to a new
/csp-report/endpoint, which logs each distinct one once an hour without the page’s tokens, signed urls or script samples. Browsers block nothing yet. smarter-console 1.1.13 removes the inline stylesheet handlers that an enforced policy would have blocked. - The session cookie is HttpOnly, so JavaScript can no longer read it.
manage.py check --deploychecks security again. Django looks for its security and CSRF middleware by dotted path, so it missed Smarter’s subclasses and skipped every check of HSTS, SSL redirects and secure cookies. A new system check runs Django’s own checks against the subclasses.- Requests for unknown hosts are cheaper. The security middleware now runs before the session and authentication middleware, so a request for a host Smarter doesn’t serve, mostly from bots, gets its 400 without touching the database.
- Users’ prompts stay out of the console log. The openai SDK’s DEBUG records hold the whole chat request, and they reached the log that the web console streams in DEBUG mode. openai, langchain, urllib3, redis and five other libraries now log at WARNING. The uvicorn access log drops the client’s address, which behind the ingress was the ingress’s own.
- Each log line names its origin once. The logger now writes the dotted name of the code that logged a message, so names no longer go stale after a rename or appear twice. Each signaled event, such as a deploy, a secret edit or a failed API request, is logged once, by its receiver, and four signals that nothing received now have receivers.
- An account setting no longer deactivates a model. When a provider refuses a model because of how the account is configured, such as Together AI’s 403 for third-party data sharing, model verification now treats the check as inconclusive, as it already did for an account without credit. Other 403s still deactivate the model.
- Unique constraints, the Django 6 way. 32 models move from
unique_togetherto namedUniqueConstraints. - Dependencies match the code. Packages the code imports, such as cryptography, redis and httpx, are declared rather than installed as other packages’ dependencies, and eight that nothing imported are removed. django-celery-beat is removed too. Beat schedules are defined in code, so its admin pages edited schedules that nothing read.
- Your console language is remembered. A language chosen in the user menu fell back to the browser’s own whenever the browser closed, because the language cookie lasted only for the session. It now lasts a year and is stored in your profile, so it follows you to another device.
- The welcome dialog shows once. Its Show at startup box came ticked, so closing it as it came opened it again at every sign-in. The box now comes unticked.
- The web app manifest comes from the platform. It was served from the static files CDN, which the Content Security Policy reported, and installing the console as an app opened the CDN’s root. It is now served from the platform’s own origin. A follow-up fix in v0.46.14 stopped the api and deployed LLMClient hosts, which don’t serve the manifest, from answering 500 on their error and endpoint pages.
- No more
staff_user.initialize_platformcreated an example administrator named staff_user, with the platform admin’s password, in every environment, and reset that password on every deployment. It no longer does. CSRF_COOKIE_SECUREis on in AWS environments. Django now trusts theX-Forwarded-Protoheader that the ingress sets, so it knows which requests came in over HTTPS. This closes the security.W016 deployment warning that v0.46.11 reported.- Quoted values work. A quoted line in
.envis read without its quotes again. - Every log line names its origin, now really. About 130 modules still logged without the dotted origin described above. They all use Smarter’s logger now.
- Importing the settings no longer calls AWS. A table of AWS services made a live
describe_regionscall on every import. The list of regions is now static. - The deploy action matches the chart’s schema. It wrote two boolean settings as strings, which Helm rejected, and a new test checks every value it writes against the chart’s schema on each pull request.
- Smaller fixes.
merge_duplicate_usersno longer fails on a database that still records django-celery-beat’s migrations, and anonymous schema requests for SmarterAuthToken no longer write warnings.
Upgrading
- Rename your environment variables. v0.46.14 renamed nearly every variable (see Settings named by who reads them), and old names are not read. Rename them in
.envand in any Helm values override, following.env.exampleand the chart’svalues.yaml. Smarter settings that were written without the prefix, such asDEBUG_MODE,DEVELOPER_MODEandENVIRONMENT, now need it (SMARTER_DEBUG_MODE). The GitHub token is read only fromGITHUB_TOKEN, notGH_TOKENorGITHUB_API_TOKEN. - Move
djangoSettingsintoenv. If you used v0.46.10’sdjangoSettingsvalue, write each setting as aDJANGO_*entry underenvinstead. - Delete
staff_user. Platforms that raninitialize_platformbefore v0.46.15 still have it, with the admin’s password. Delete or deactivate it in the Django admin. - Users see the welcome dialog once more, and choose their console language once more before it is kept in their profile.
- Prompt history is pruned. The first daily run deletes all chat history older than 90 days. To keep more, set
SMARTER_PROMPT_HISTORY_MAX_AGEbefore you deploy. - Customer superusers are demoted. A migration removes superuser status from every user outside the Smarter account. They keep staff status and administer each account they belong to, but can no longer read other accounts or see the platform’s infrastructure pages.
- Multi-tenant platforms need a platform key. Run
manage.py create_platform_api_key --host <your-smarter>in Account Manager, and set the key it prints asSMARTER_ACCOUNT_MANAGER_API_KEYon the platform, under the chart’senv. Once every platform sends its key, turn on Account Manager’srequire_platform_keywaffle switch. Until then, requests without a key are still answered. - Mailchimp secrets can go.
MAILCHIMP_API_KEYandMAILCHIMP_LIST_IDare no longer read and can be deleted. - Nothing else to do for sharing. The new account fields need no backfill, and the Smarter account keeps sharing with everyone.
DJANGO_*variables now take effect. Check any that you set, because a value that used to be overridden or ignored now applies. A value of the wrong type stops Django, and a variable for a setting that neither Django nor Smarter defines is no longer guessed to be a list or a date, so write a JSON list instead.- Remove
DJANGO_DEFAULT_FILE_STORAGEwherever you set it. It has had no effect since Django 5.1, and Smarter no longer reads it. - The unique-constraint migrations check for duplicates first. On a healthy database they change nothing. If an earlier migration failed halfway and left duplicate rows, they stop before any schema change and name the model, the columns and the row ids. Remove the duplicates by hand and migrate again.
- django-celery-beat’s tables remain in existing databases, and you can drop them by hand.
What’s next
The web console shows account administrators a badge today, but still decides whether to show its administrative controls from staff status. Next, it will show them to an account’s administrators too. v0.46.18 renames user-defined settings to overrides, since the deployment sets them and no user of the platform can. The local user-settings/ directory becomes overrides/, and SMARTER_USER_SETTINGS_FILE becomes SMARTER_OVERRIDES_FILE. Account Manager’s Helm chart will pass the platform key for you, and its billing records will be wired to the usage that Smarter already measures. Once its reports are clean, the Content Security Policy will move from report-only to enforced.
The full list of changes is in the changelog. To try the release, start with the documentation, or browse the code of Smarter and Account Manager on GitHub.
