Skip to content

Pre-Release 3.0.0a4 #317

@Argmaster

Description

@Argmaster

PyGerber version 3.0.0a4 will continue incremental changes on top of 3.0.0a3.
There are still some breaking changes to be introduced (see list below). I will try to squish them into this release, then we can start beta development phase.

Changelog:

  • Relaxed pyparsing dependency requirements to allow for use of 3.2 and above for
    supported Python versions.
  • Relaxed numpy dependency requirements to allow for use of 2.x and above for
    supported Python versions.
  • Relaxed pydantic dependency requirements to allow for use of 2.x and above for
    supported Python versions.
  • Relaxed pillow dependency requirements to allow for use of 8.x and above for
    supported Python versions.
  • Relaxed click dependency requirements to allow for use of 8.x and above for
    supported Python versions.
  • Relaxed Python version requirement to allow for use of 3.8 and above.
  • Removed pygerber.sequence_tools module.
  • Removed pygerber.frozen_general_model module.
  • Removed pygerber.gerber.linter.diagnostic module.
  • Removed pygerber.warnings module.
  • Updated documentation links to point to stable release documentation.
  • Renamed GerberX3Builder.add_trace() to GerberX3Builder.add_line_trace() to be consistent with GerberX3Builder.add_clockwise_arc_trace() and GerberX3Builder.add_counter_clockwise_arc_trace().
  • Added support for Altium implied leading zeros omitted. Contributed by @sjgallagher2 in Add support for Altium implied leading zeros omitted #340.
  • Added arc drawing in GerberX3Builder.
  • Added region statement generation to GerberX3Builder.
  • Added Gerber to PNG, JPEG, TIFF, BMP, WEBP and SVG conversion commands to CLI.
  • Added Gerber format command to CLI.
  • Extended documentation.

Done in this release:

  • Update command line interface to use new tools
    • Trash the old desing
    • Implement with new APIs
    • Add tests
  • Move unit tests to test/unit/
  • Remove sequence_tools.py
  • Remove frozen general model class
  • Add test for __main__.py
  • Move E2E formatter tests out of test/gerberx3/test_formatter.py
  • Use svglib + reportlab for SVG dumping as PNG files
  • Separate E2E and Unit tests in CI
  • Add arc drawing to AST builder
  • Add Gerber Json projects support
  • Add automatic checking against reference files to E2E tests

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestmaintenanceIssue related to maintenance of PyGerber project

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions