Skip to content

chore: release 8.3.9 - #70

Merged
cesarcoatl merged 2 commits into
8.3from
release/8.3.9
Aug 26, 2026
Merged

chore: release 8.3.9#70
cesarcoatl merged 2 commits into
8.3from
release/8.3.9

Conversation

@cesarcoatl

@cesarcoatl cesarcoatl commented Aug 26, 2026

Copy link
Copy Markdown
Member
  • chore(release): prepare for 8.3.9
  • refactor(system): remove parameters from historian functions

Summary by Sourcery

Release version 8.3.9 and align historian query interfaces with the current API.

Enhancements:

  • Remove obsolete parameters from historian point query APIs and their type stubs.

Documentation:

  • Update README links to the Ignition 8.3.9 SDK documentation.

Chores:

  • Bump the package version to 8.3.9 and update its build identifier.

- browse: remove snapshotTime
- queryAggregatedPoints: fillPoints, includeBounds and excludeObservations
- queryRawPoints: includeBounds and excludeObservations

See: https://docs.inductiveautomation.com/docs/8.3/new-in-this-version#new-in-839
@sourcery-ai

sourcery-ai Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Prepares the package for the 8.3.9 release and simplifies historian query interfaces by removing deprecated parameters consistently from implementations, documentation, and type stubs.

File-Level Changes

Change Details Files
Release metadata and documentation are updated for version 8.3.9.
  • Bump the package version and build identifier.
  • Update Ignition SDK documentation links from 8.3.8 to 8.3.9.
README.md
src/system/__version__.py
Historian query APIs remove legacy optional parameters from runtime implementations and type stubs.
  • Remove fillModes, includeBounds, and excludeObservations from aggregated-point queries.
  • Remove includeBounds and excludeObservations from raw-point queries.
  • Align forwarding calls, docstrings, and stub signatures with the reduced APIs.
src/system/historian/__init__.py
stubs/stubs/system/historian/__init__.pyi

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 2 issues

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="src/system/__version__.py" line_range="4" />
<code_context>
-__version__ = "8.3.8"
-__build__ = "2026071409"
+__version__ = "8.3.9"
+__build__ = "2026082511"
</code_context>
<issue_to_address>
**issue (broader_impact):** The package metadata still declares version 8.3.8 in `setup.cfg`, while the runtime `__version__` is changed to 8.3.9, so building the main package produces an 8.3.8 distribution despite reporting 8.3.9 at runtime. The stubs package metadata in `stubs/pyproject.toml` and the release configuration in `.cz.toml` likewise remain at 8.3.8.

**Triggers:** When the package or stubs are built or published from this commit.

**Suggested fix:** Update every packaging and release-version source, including `setup.cfg`, `stubs/pyproject.toml`, and `.cz.toml`, to 8.3.9.
</issue_to_address>

### Comment 2
<location path="stubs/stubs/system/historian/__init__.pyi" line_range="20" />
<code_context>
     returnSize: int = ...,
-    includeBounds: bool = ...,
-    excludeObservations: bool = ...,
 ) -> BasicDataset: ...
 def queryAnnotations(
     paths: List[Union[str, unicode]],
</code_context>
<issue_to_address>
**issue (bug_risk):** The repository contains a second `system/historian.pyi` stub that still declares the removed `fillModes`, `includeBounds`, and `excludeObservations` parameters, so type checking can expose a stale historian interface that disagrees with the updated implementation and package stub.

**Triggers:** When a type checker resolves `system.historian` through the top-level `historian.pyi` module stub rather than the updated package stub.

**Suggested fix:** Remove the obsolete parameters from `stubs/stubs/system/historian.pyi` as well, or remove the duplicate conflicting stub file if it is not intended to be distributed.
</issue_to_address>

Sourcery assessment

Approval pending. 2 findings to address first.

Blocking findings: src/system/__version__.py:4, stubs/stubs/system/historian/__init__.pyi:20


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Comment thread src/system/__version__.py
__version__ = "8.3.8"
__build__ = "2026071409"
__version__ = "8.3.9"
__build__ = "2026082511"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (broader_impact): The package metadata still declares version 8.3.8 in setup.cfg, while the runtime __version__ is changed to 8.3.9, so building the main package produces an 8.3.8 distribution despite reporting 8.3.9 at runtime. The stubs package metadata in stubs/pyproject.toml and the release configuration in .cz.toml likewise remain at 8.3.8.

Triggers: When the package or stubs are built or published from this commit.

Suggested fix: Update every packaging and release-version source, including setup.cfg, stubs/pyproject.toml, and .cz.toml, to 8.3.9.

returnSize: int = ...,
includeBounds: bool = ...,
excludeObservations: bool = ...,
) -> BasicDataset: ...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (bug_risk): The repository contains a second system/historian.pyi stub that still declares the removed fillModes, includeBounds, and excludeObservations parameters, so type checking can expose a stale historian interface that disagrees with the updated implementation and package stub.

Triggers: When a type checker resolves system.historian through the top-level historian.pyi module stub rather than the updated package stub.

Suggested fix: Remove the obsolete parameters from stubs/stubs/system/historian.pyi as well, or remove the duplicate conflicting stub file if it is not intended to be distributed.

@cesarcoatl
cesarcoatl merged commit 2ecca00 into 8.3 Aug 26, 2026
2 checks passed
@cesarcoatl
cesarcoatl deleted the release/8.3.9 branch August 26, 2026 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant