Skip to content

Change Log

v0.2.0 (2026-11-25)

Beta release

NetBox Scripts v0.2.0 is a beta for testing and is not recommended for production use. Behavior, defaults and APIs can change before a stable release. It requires NetBox v4.7.5 or a later v4.7 release. Read the Upgrading from v0.1.0 section below before upgrading. Known bugs are tracked as open bug reports.

Enhancements

  • #24 - Add a read-only page for each stored revision file, with a preview of its source
  • #31 - Add REST actions to reconcile a Project and to validate and activate its revisions
  • #33 - Allow a Data Source Project to use the whole Data Source as its root, and migrate built-in Custom Scripts at a source's root into one such Project
  • #80 - Document when NetBox records object changes and queues object-change events for committed Script runs
  • #81 - Add an optional Scripts list view grouped by Project, saved for each user
  • #84 - Explain the migration steps and their results on the migration pages, and show a completed verification's result apart from its Job status

Bug Fixes

  • #130 - Prevent Project bulk imports from overwriting changes made while waiting for a lock
  • #135 - Distinguish source rejected before storage from failed validation in Source state
  • #136 - Correct the Source state shown for reused source awaiting activation, and offer its revision first under Activate
  • #147 - Stop a Job that times out during a stored-file read and report the timeout, rather than a storage failure
  • #151 - Prevent unnecessary Job failures when a Project or revision is deleted during reconciliation, Script File refresh or validation
  • #159 - Fail a run whose transaction can no longer commit, rather than completing it and queuing its events
  • #164 - Remove duplicate periods from Project outcomes in the activation Job log
  • #165 - Keep runtime cache and storage paths out of Repoint references warnings for schedules it cannot recreate
  • #177 - Show a migration pass's Job, inventory findings and verification result only to users who can view that Job
  • #178 - Show Not staged on the Migration page only for keys no Project uses
  • #179 - Identify revisions by digest and ID, with their Script File count, on activation confirmations
  • #183 - Stop the Repoint references pass when a Script import times out, rather than continuing schedule replay
  • #187 - Stop reporting invalid module paths as storage failures on the Run page and in Repoint references
  • #189 - Show and link the most recent closed migration run on the Migration page once cleanup closes the migration
  • #190 - Report a Project deleted during Activate Projects as no longer existing rather than as a storage error
  • #191 - Prevent a Project deletion from failing when a revision is staged while it waits for the Project lock
  • #201 - Restore change logging and object-change events for migrated schedules that have an owner, including those recreated by v0.1.0

Other Changes

  • #63 - Preserve migration warnings when a migration pass later fails
  • #192 - Align commit, pull request title and branch conventions with NetBox

Upgrading from v0.1.0

Upgrading from v0.1.0 is supported. Follow the normal upgrade procedure.

Known Issues

  • Known bugs are listed as open bug reports on GitHub.
  • With NetBox Branching earlier than v1.2.3, a Script run requested over REST logs "Running without the request processor ActiveBranchContextManager, it could not start". Upgrade NetBox Branching to v1.2.3 or later.
  • The migration workflow has not yet been run on a live installation whose workers share queues with other work. Rehearse it on a copy first.

Compared with NetBox's built-in Custom Scripts, some functions are not available yet. See Limitations.


v0.1.0 (2026-11-12)

Beta release

NetBox Scripts v0.1.0 is a beta for testing and is not recommended for production use. Behavior, defaults and APIs can change before a stable release. It requires NetBox v4.7.5 or a later v4.7 release. Read the Upgrading from v0.0.1 section below before upgrading. Known bugs are tracked as open bug reports.

Enhancements

  • #38 - Add worked examples of event-driven Scripts to the Event Rules guide
  • #39 - Add examples of object-selection fields to the authoring guide
  • #40 - Document caching an external lookup between Script runs
  • #137 - Document that Project revisions do not preserve symbolic links or device files

Bug Fixes

  • #1 - Recreate the schedule of a built-in run cancelled by migration cutover when its stale task reappears, since NetBox v4.7.5 no longer runs it
  • #2 - Keep migration cutover open while built-in Custom Script Jobs are waiting or running, so with NetBox v4.7.5 a recurring successor queued as it completes is not missed
  • #3 - Prevent a cancelled run from ending as Errored after committing its changes, fixed by NetBox v4.7.5
  • #4 - Report waiting or running built-in runs as blocking in migration verification rather than as historical Jobs
  • #5 - Prevent Repair Scripts from reactivating an older revision during a concurrent activation or deactivation
  • #6 - Read each Data Source directory in one query, so with NetBox v4.7.5 each reconciled revision holds one complete synchronization
  • #7 - Give each occurrence of a recurring run its own copy of its inputs
  • #8 - Restage the Project when a Script File is enabled or disabled on its edit page or through REST
  • #9 - Prevent deadlocks between activation and Script bulk edits
  • #10 - Fix recovery from a stale Running Job that blocks migration cutover after its worker stops
  • #11 - Name the Running Job that holds back an interrupted migration pass, on the Migration page and in its refusal
  • #12 - Fix an unhandled error when a waiting Job is deleted during migration cutover
  • #13 - Accept and validate a reused revision left in Staging or Storage failed once its source verifies as stored
  • #14 - Stop cleanup from asking to repeat the completed reference step, and name the manual step that releases a module
  • #15 - Send the notification for a Job cancelled by an interrupted cutover once the pass resumes
  • #16 - Describe FileVar multipart uploads in the REST run action's schema
  • #17 - Stop reporting exceptions from a Script's own constructor or run form as source-loading failures
  • #18 - Report a runtime cache root that cannot be inspected with the plugin's error rather than a raw permission error
  • #19 - Identify each affected schedule by its Job ID in migration verification
  • #20 - Report in Job logs when a validation is queued again after its lease expired
  • #21 - Keep the synchronization registration count when a cutover pass resumes
  • #22 - Prevent a directory named "(root)" from sharing the top-level heading on the Script Files tab
  • #62 - Report failed validation in reconciliation logs rather than as a storage failure
  • #64 - Fix cutover failing on waiting built-in Jobs with an empty queue name
  • #65 - Keep the migration open while a retained module still has an unfinished built-in run
  • #66 - Prevent REST updates from deadlocking with activation or uploads on NetBox v4.7.4 and later
  • #67 - Report the active revision as the newest source after reusing earlier source, rather than a retired revision
  • #73 - Allow FileVar uploads to share names with REST run parameters
  • #74 - Apply the Script's commit default to multipart REST runs that omit commit
  • #75 - Report network and file errors raised by a running Script as execution failures rather than source access failures
  • #76 - Advertise only the media types the upload and Script File selection actions accept in the REST schema
  • #77 - Prevent failed REST uploads from exposing internal error details
  • #79 - Stop the cleanup confirmation from treating retained Job history as a blocker
  • #82 - Restrict object variables on the run form and REST run action to objects the user can view
  • #83 - Preserve every value of a repeated query parameter in Script run links
  • #85 - Restore the object selector and Quick add dialogs on the Script Run page
  • #88 - Prevent the Script Run page from showing storage backend error text
  • #96 - Reject runtime cache paths reached through untrusted symbolic links
  • #99 - Prevent migration from recreating a recurring run whose deleted Job returns
  • #100 - Repoint only finished Job history, so unfinished built-in runs stay visible to migration checks
  • #112 - Prevent Project bulk edits from overwriting changes made while waiting for a lock
  • #114 - Enforce permissions and ownership of runtime cache Project directories
  • #118 - Prevent failed activation, repair and deactivation from showing internal storage error details
  • #119 - Prevent revision validation failures from exposing storage backend paths
  • #120 - Identify permissions by ID in migration warnings and verification
  • #121 - Report a run's changes as committed and queue its events when a post-commit callback fails
  • #122 - Report a run whose processing fails after its changes commit as committed rather than unfinished
  • #131 - Prevent migration activation outcomes from including internal storage error details
  • #132 - Stop marking a removed source path as awaiting activation on the Revision Files tab
  • #133 - Prevent readable runtime cache lock files from blocking Script loading
  • #134 - Identify Scripts by Project and module in migration verification
  • #138 - Prevent revision imports from running bytecode outside the verified cache tree when PYTHONPYCACHEPREFIX is set
  • #140 - Keep storage backend paths out of reconciliation, Script File refresh and Script run Job logs
  • #148 - Prevent concurrent Script imports from failing with "dictionary changed size during iteration"
  • #150 - Keep storage keys and full revision digests out of errors for missing or damaged stored revisions
  • #152 - Deliver Event Rule actions for changes committed by runcustomscript runs
  • #161 - Limit the object inputs of schedules recreated by migration to objects their owners can view

Other Changes

  • #45 - Isolate Redis-dependent tests when the suite runs in parallel
  • #49 - Align UI test sessions across the NetBox version matrix
  • #58 - Fix the stale-copy Script File API test on NetBox v4.7.4
  • #68 - Correct the release checklist's tagging and publishing steps
  • #123 - Raise the minimum NetBox version to v4.7.5

Upgrading from v0.0.1

Installations of v0.0.1 upgrade in place, which replaces the v0.0.1 notes' statement that the beta has no upgrade path. The database schema is unchanged, so migrate has nothing to apply, and stored source, configuration and the runtime cache layout are unchanged too. Back up the database, configuration and source storage before upgrading.

  • Upgrade NetBox to v4.7.5 or a later v4.7 release first (#123). NetBox v4.7.4 and earlier refuse to load this release.
  • Runtime cache (#96, #114, #133). A Project directory that other users can write, for example one created under a group-writable umask, is now refused, and so is a directory or symbolic link on the cache path that belongs to an account other than NetBox's or root. Lock files become private on their next use, and one this process cannot open or make private stops its revision from loading. If other local accounts can traverse the cache, stop NetBox's processes, remove the existing .<digest>.lock files and start them again, since a changed mode cannot revoke a descriptor already open. See Runtime cache for each remedy.
  • PYTHONPYCACHEPREFIX (#138). If it was set, remove its mirror of runtime_cache_root, which holds compiled copies of revision code.
  • Recurring schedules (#7). A recurring run queued before the upgrade keeps any changes its earlier occurrences made to its inputs. Recreate such schedules.
  • A migration in progress (#2, #65, #100, #161). Steps it has not completed resume under stricter checks, and completed steps are not reopened. While a built-in Job is waiting or running, an unfinished cutover or Job history step stays open and cleanup keeps its module, and Verify reports such a Job as blocking. An unfinished cutover retries a schedule whose queue task could not be read while that Job still waits, and one still missing its task keeps the step open, see Missing queue tasks. A run v0.0.1 already cancelled because its input could not be read still needs to be recreated by hand. Repoint references skips, with a warning, a schedule with an object input its owner cannot view, rather than recreating it. A waiting or running Job that v0.0.1's Job history step already moved is outside these checks, so look for one on each migrated Script's Jobs tab before cleanup.
  • Text recorded by v0.0.1 (#77, #119, #131, #140, #150). Job logs and Job data, revision failure reasons and migration journals can name storage backend paths, and for a missing or damaged revision its storage key and digest. NetBox removes old Jobs per JOB_RETENTION, never when it is 0. A revision's failure reason keeps the text until the revision is validated again. Migration journals keep it.
  • Changed behavior (#8, #74, #82). Enabling or disabling a Script File also needs the Project's change permission, and REST answers 403 without it. A multipart REST run that omits commit follows the Script's default instead of running dry. Object fields on the run form and the REST run action accept only objects the user can view.

Known Issues

  • Known bugs are listed as open bug reports on GitHub.
  • With NetBox Branching earlier than v1.2.3, a Script run requested over REST logs "Running without the request processor ActiveBranchContextManager, it could not start". Upgrade NetBox Branching to v1.2.3 or later.
  • The migration workflow has not yet been run on a live installation whose workers share queues with other work. Rehearse it on a copy first.

Compared with NetBox's built-in Custom Scripts, some functions are not available yet. See Limitations.


v0.0.1 (2026-09-25)

  • Initial release.

Alpha release

NetBox Scripts v0.0.1 is an alpha for testing and is not recommended for production use. Behavior, defaults and APIs can change before the beta.

  • There is no upgrade path from this alpha to the beta. The beta replaces the alpha's database schema, so plan to remove the alpha before installing it. Projects, revisions and run history created with the alpha do not carry over.
  • Rehearse the migration from NetBox's built-in Custom Scripts on a copy. The migration is one-way, and removing the plugin restores nothing. Once you run the alpha's cutover, restoring the backup taken before it is the only clean way to migrate again with the beta.
  • Known bugs are tracked as open bug reports.

See Features for supported features and limitations, and Installation for setup. Read Migration before moving from NetBox's built-in Custom Scripts.