github atom36942/atom v31.0.0
Atom 31.0.0

one hour ago

Upgrade (projects must change):

  • log_api is a small request log now, so drop it before deploying (Atom recreates it at startup; only request logs are lost): DROP TABLE log_api; on the log database (master, unless a project moved it). A row holds codes instead of text: api_id (the route's config_api id; /info names it), method and response_type (smallint, named in /info's int_mapping), status_code, response_time_ms, ip_address (inet), error, request_id. The query string, headers and bodies are kept only with config_is_log_api_detail (off by default). Only config_api routes are logged: config_is_log_api_all is gone (delete it from .env or config_extend.py). /my/api-usage answers {api_id, api, count}.

  • One path, one method: startup stops when a path is registered with two methods; give each action its own path (/user/user-read, /user/user-delete). None of the known projects has one.

  • Queue names: func_producer, func_run_broker and func_consumer_run take broker= and task= (were queue= and channel=); ?queue= on /my/object-create and /my/object-update is ?broker=; func_consumer_channels is func_consumer_tasks; config_queue_services is config_queue_brokers.

  • users.gender is a smallint (1 Male, 2 Female, in /info's int_mapping; was text): startup converts the column, which works only while its values are empty or 1/2.

  • The Analytics page is gone: its users, roles and permissions are Monitor's Users tab (/page/analytics answers 404). GET /admin/monitor?view= is users (default), log_api, database, memory or app; requests, errors, background, redis and hours are gone, group=day|week|month picks the users timeline.

  • Monitor: five tabs. Users (totals, users created per day, week or month, roles, API permissions; every figure opens its users with the filter shown), Log API (traffic of the last 24 hours with methods, status codes, busiest, slowest and failing APIs, requests per day over the 7 days the log keeps), Database (the project's master only; Connections is the whole server's), Memory and App. Every bar shows its number; one table look everywhere.

  • PgWeb: Database info and Database health are about the database in the URL; Health ends with the databases on the same server. Plain tables, no stripes, More > Refresh reloads either view.

  • Message: the left panel is the Inbox (latest conversation per user); a users button starts a new conversation; DELETE /my/message-delete-thread deletes one conversation.

  • My profile: Account and Profile tabs in the dialog header; new optional users columns (postal code, language, time zone, currency, picture, website and social links) with pick lists for country, currency, language and time zone (config_options, from files/).

  • Pages: API page cleanup (plain table heads, short titles, short empty states), every search box's × is red, floating login labels, no cross-page links.

Don't miss a new atom release

NewReleases is sending notifications on new releases.