Skip to content

Latest commit

 

History

History
1167 lines (654 loc) · 40.5 KB

CHANGELOG.md

File metadata and controls

1167 lines (654 loc) · 40.5 KB

v0.20.6 - 17 Sep 2024

What's Changed

New

  • add waypoint routing #473

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.20.5...v0.20.6

Changes

v0.20.5 - 13 Sep 2024

What's Changed

New

  • Better build cli #471

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.20.4...v0.20.5

Changes

v0.20.4 - 12 Sep 2024

What's Changed

Bug Fixes

  • fix layout-cache not honoring overwrite-existing #470
  • fix apply_bbox for LayerInfo objects #469

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.20.3...v0.20.4

Changes

v0.20.3 - 06 Sep 2024

What's Changed

Bug Fixes

  • fix add_port using arg call instead of kwarg call #466

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.20.2...v0.20.3

Changes

v0.20.2 - 05 Sep 2024

What's Changed

Bug Fixes

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.20.1...v0.20.2

Changes

v0.20.1 - 01 Sep 2024

What's Changed

New

  • add config option for custom show functions #461

Bug Fixes

  • fix generic route not passing routing width to placer_function #463
  • fix errors for kf run not finding modules. Change syntax #462

Documentation

  • add config option for custom show functions #461

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.20.0...v0.20.1

Changes

v0.20.0 - 29 Aug 2024

What's Changed

New

  • clean up route_bundle and add a generic version #456

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.19.2...v0.20.0

Changes

v0.19.2 - 29 Aug 2024

What's Changed

Bug Fixes

  • fix errors in enclosures and relax some port layer constraints #460

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.19.1...v0.19.2

Changes

v0.19.1 - 26 Aug 2024

What's Changed

Bug Fixes

  • relax to in Port and Ports when finding layers #459
  • fix #452 #454
  • fix load_layout_options #453

Other changes

  • Fixed another oror output #455

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.19.0...v0.19.1

Changes

v0.19.0 - 14 Aug 2024

What's Changed

Breaking

  • Improve layers so that they can be passed easily by LayerInfo and not only by index #439

New

  • Improve layers so that they can be passed easily by LayerInfo and not only by index #439

Bug Fixes

  • better instance default name using trans instead of .x #450
  • fix write_context_info #448
  • Add missing space in KLayout version warning #447
  • ensure cell decorated functions return component #443
  • fix c.flatten(merge=True) deleting texts #441
  • Adjust AttributeError text in optical routing for taper and bend #438

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.18.4...v0.19.0

Changes

v0.18.4 - 23 Jul 2024

What's Changed

Bug Fixes

  • fix the other case of model_dump #436

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.18.3...v0.18.4

Changes

v0.18.3 - 23 Jul 2024

What's Changed

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.18.2...v0.18.3

Changes

v0.18.2 - 23 Jul 2024

What's Changed

New

  • add packing functions for Instances and KCells #431
  • Add InstanceGroup #430

Bug Fixes

  • fix _port #435
  • fix add_ports in case port.kcl is not ports.kcl #434
  • fix error message #432

Other changes

  • Fixed double or print statement #428

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.18.1...v0.18.2

Changes

v0.18.1 - 17 Jul 2024

What's Changed

Bug Fixes

  • Fix KCLayout.read(..., register_cells=True) #426

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.18.0...v0.18.1

Changes

v0.18.0 - 16 Jul 2024

What's Changed

New

  • Add name debugging config #421
  • make OpticalManhattanRoute better #418

Bug Fixes

Dependency Updates

  • update klayout and pre-commit #419

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.17.8...v0.18.0

Changes

v0.17.8 - 27 Jun 2024

What's Changed

Bug Fixes

  • fix kclayout nested cells and ports/metainfo issues #414

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.17.7...v0.17.8

Changes

v0.17.7 - 27 Jun 2024

What's Changed

New

  • Add check for klayout/klive version vs kfactory #411

Bug Fixes

  • fix hierarchy of yaml parser and add test #413
  • fix l2n extraction and add test #412

Documentation

  • fix l2n extraction and add test #412

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.17.6...v0.17.7

Changes

v0.17.6 - 27 Jun 2024

What's Changed

New

  • Use tempfile if called from IPython #405
  • Routing indirect fixes #409

Bug Fixes

  • fix connection issue caring about mirror when it should not #403
  • fix indirect routing #402

Documentation

  • Routing indirect fixes #409
  • fix connection issue caring about mirror when it should not #403

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.17.5...v0.17.6

Changes

v0.17.5 - 16 Jun 2024

What's Changed

New

  • add display_kcell display_type #396

Bug Fixes

  • works with partials #399
  • full test suite for smart routing and error fixes #398
  • fix basename usage in cell decorator #400

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.17.4...v0.17.5

Changes

v0.17.4 - 12 Jun 2024

What's Changed

New

  • add contains to settings/units/info #395

Bug Fixes

  • fix routing errors and add a better test #397
  • fix connect when using port objects on self #393

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.17.3...v0.17.4

Changes

v0.17.3 - 10 Jun 2024

What's Changed

Bug Fixes

  • fix erroneous start for route_loosely #390

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.17.2...v0.17.3

Changes

v0.17.2 - 10 Jun 2024

What's Changed

New

  • Add functional check_ports to @cell decorators #389

Bug Fixes

  • fix routing issues with bounding boxes #388
  • fix cases in bundle routing #387

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.17.1...v0.17.2

Changes

v0.17.1 - 08 Jun 2024

What's Changed

New

  • add to_um and to_dbu into KCLayout #380
  • add func.__name__ for partials #378

Bug Fixes

  • fix plot with vinsts #385
  • pass flags to connect #384
  • Fix dcplx_trans setter on Port #383
  • Fix cells duplicated by having settings and info #379

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.17.0...v0.17.1

Changes

v0.17.0 - 05 Jun 2024

What's Changed

Breaking

  • Drop rec_dicts flag and make it default to use rec dict inspection #375

Bug Fixes

  • Improve and fix enclosure_tiled for KCellEnclosure and LayerEnclosure #374

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.16.1...v0.17.0

Changes

v0.16.1 - 02 Jun 2024

What's Changed

New

  • Improve logger #368

Bug Fixes

  • fix locked cell error #367

Documentation

  • Improve logger #368

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.16.0...v0.16.1

Changes

v0.16.0 - 02 Jun 2024

What's Changed

Breaking

  • mirror and dmirror M90 by default #350

New

  • Add overwrite_existing and layout_cache options to the cell decorator #362
  • Better error prints #366
  • Add length and length_straights to OpticalAllAngleRoute #361
  • Add all easy access properties to VKCell and VInstance #360
  • Add lyrdb option to plot #359
  • Improve all-angle route_bundle to allow no backbone #353
  • Add hash to long automatic cell name #346
  • mirror and dmirror M90 by default #350

Bug Fixes

  • fix dy for VInstance #365
  • typo #364
  • fix virtual cell show hierarchy error #358
  • Fix VKCell Setting Units #355
  • fix typo #351
  • Improve drotate #349

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.15.2...v0.16.0

Changes

v0.15.2 - 29 May 2024

What's Changed

Bug Fixes

  • fix global config settings only being set on first import #345

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.15.1...v0.15.2

Changes

v0.15.1 - 29 May 2024

What's Changed

New

  • Add multi option to fill and fix bugs #344
  • add route_width to optical.route #342
  • Add enum for handling check_instances #341
  • add center to SizeInfo #340

Bug Fixes

  • Add multi option to fill and fix bugs #344
  • fix basename and function_name metainfo #343

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.15.0...v0.15.1

Changes

v0.15.0 - 27 May 2024

What's Changed

Breaking

  • Change to d{key} instead of d.{key} #339

New

  • Add route_smart and route_bundle port sort #335

Bug Fixes

  • Fix metaformat #338
  • Fix single bundle case for route_bundle #337
  • Fix route_bundle requiring a non-empty list of bounding boxes #336

Documentation

  • Change to d{key} instead of d.{key} #339

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.14.0...v0.15.0

Changes

v0.14.0 - 24 May 2024

What's Changed

New

  • Add global flags for connection to not carry over rotation or angle #332
  • Separate function name #331
  • allow new conf fields #325

Bug Fixes

  • Fix all angle bundle router #334
  • fix add port #326

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.13.3...v0.14.0

Changes

v0.13.3 - 21 May 2024

What's Changed

New

  • add clear_kcells #324
  • add write configs and connection behavior #323
  • add instance.size_info #317

Bug Fixes

  • ports in instance #316

Documentation

  • rename allow_width_mismatch #319

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.13.2...v0.13.3

Changes

v0.13.2 - 15 May 2024

What's Changed

New

  • Improve fill tiled with row/column vectors #314

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.13.1...v0.13.2

Changes

v0.13.1 - 15 May 2024

What's Changed

Bug Fixes

  • fix grid instance array not properly setting up the array #310

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.13.0...v0.13.1

Changes

v0.13.0 - 07 May 2024

What's Changed

New

  • Improve VKCell/VInstance #305
  • allow_different_port_widths for electrical routing #307
  • add minimum_straight #304
  • add inside flag to route_loopback #303
  • Add optional type for settings to KCell to annotate units of parameters #302
  • Add indirect routing of endpoints #301
  • Allow dicts in info #293
  • Add smart routing #295
  • Add (ly)rdb and l2n to show #296
  • Add filter orientation #291
  • print ports in um #289
  • return uminstance with moving references #287
  • Add post process #273
  • serialize settings #285
  • Fix routing issues #284
  • Add copy_polar to Port #282

Bug Fixes

  • pprint_ports add missing type switch #306
  • Fix route_smart ignoring bounding boxes at the end of the routes #309
  • Fix passing port_type to route_single #298
  • fix flatten #300
  • fix typos #292
  • fix invert for route_manhattan #288
  • Fix routing issues #284
  • Fix proxy KCells #278
  • fix manahattan router terminating routing too early #275

Documentation

  • Implement protocols for routing functions #280

Dependency Updates

  • Ruff formatting #279

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.12.3...v0.13.0

Changes

v0.12.3 - 06 Mar 2024

What's Changed

Bug Fixes

  • Fix KCellEnclosure and rename bbox_per_layer to bbox #270

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.12.2...v0.12.3

Changes

v0.12.2 - 06 Mar 2024

What's Changed

Bug Fixes

  • Fix initialization of KCLayout.constants #269
  • Fix factories for euler and taper #268
  • fix KCLayout not allowing constants in the constructor #267

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.12.0...v0.12.2

Changes

v0.12.0 - 01 Mar 2024

What's Changed

Breaking

  • Refactor cells classes into functions with protocols #263

New

  • Move @vcell to KCLayout #264
  • Add 'additional_info' to constructor for standard cells #262

Documentation

  • Refactor cells classes into functions with protocols #263

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.11.4...v0.12.0

Changes

v0.11.4 - 28 Feb 2024

What's Changed

New

  • Add automatic registering of KCell-functions to the KCLayout.factories #261

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.11.3...v0.11.4

Changes

v0.11.3 - 27 Feb 2024

What's Changed

New

  • KCLayout cell decorator #260
  • Implement Grid #255
  • Add port access for instance arrays and pretty print for ports #252

Bug Fixes

  • Fix tiling border problems #256

Documentation

  • KCLayout cell decorator #260

Dependency Updates

  • update min klayout version #254

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.11.2...v0.11.3

Changes

v0.11.2 - 17 Feb 2024

What's Changed

New

  • Add top_kcell(s) functions and fix Instance creation #251
  • Allow inheritance from standard cells #249
  • Improve minkowski algorithms for violation fixing #248

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.11.1...v0.11.2

Changes

v0.11.1 - 08 Feb 2024

What's Changed

Bug Fixes

  • Fix Layout read trying to update ports on locked cells #244

Dependency Updates

  • Update ruff and lsp configs #243

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.11.0...v0.11.1

Changes

v0.11.0 - 02 Feb 2024

What's Changed

New

Other changes

  • Version numbers #242

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.10.3...v0.11.0

Changes

v0.10.3 - 12 Jan 2024

What's Changed

New

  • add x,y center for Cell and UMKCell #237
  • allow tuples in info and settings #231

Other changes

  • Implement clean #240
  • Layerstack #177
  • some adjustments for layerstack #238

Dependency Updates

  • Bump actions/setup-python from 4 to 5 #235
  • Bump actions/upload-pages-artifact from 2 to 3 #234
  • Bump actions/deploy-pages from 2 to 4 #233

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.10.2...v0.10.3

Changes

Fixed

  • Fix no_warn being ignored in transform

Changes

Added

  • Added center to rotate to allow rotating around a center point
  • Added rec_dict to @cell decorator to allow for recursive dictionaries
  • Added functionality to @cell to allow a user defined cache
  • Added invert to route_manhattan and allow routing.optical.route to add routing_kwargs to the routing function
  • add Instance.mirror Instance.center

Changed

  • Renamed -> and allow passing kwargs to set attributes of the object
  • Renamed function_cache -> cache
  • rename autorename_ports to auto_rename_ports
  • rename port position to center

Fixed

  • add Instance setter and getter for center #190
  • Fixed typo enclosure_mape -> enclosure_map #211

Changes

v0.10.0 - 16 Jun 2024

What's Changed

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.9.3...v0.10.0

Changes

v0.9.3 - 16 Jun 2024

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.9.2...v0.9.3

Changes

v0.9.1 - 16 Jun 2024

What's Changed

Full Changelog: https://github.com/gdsfactory/kfactory/compare/v0.9.0...v0.9.1

Changes

v0.9.0 - 25 Sep 2023

Added

  • Added to be set by decorator #180
  • Added contains to port and eq #182
  • Add PDK capabilities to KCLayout #171
  • Added KCell.connectivity_chek to check for port alignments and overlaps
  • Added a cli based on typer to allow running of functions (taking int/float/str args) and allow upload/update of gdatasea edafiles

Fixed

  • Fixed throw a critical log message on negative width and angles and convert them to positive ones #183

Changes

v0.8.0 - 14 Jun 2023

v0.8.0 - 2023-06-14

Added

  • KCells now store (and retrieve) Ports and settings/info in/from GDS #106
  • Added docs section about loguru config #138
  • Added docs section about gdsfactory differences #140
  • Add Netlist extraction based on klayout.db.Netlist #147
  • Added UMKCell to allow addressing some parts in um #158
  • Added snapping of ports to cell decorator #159

Changed

  • KCell.create_inst doesn't take DCellInstArray args anymore, use KCell.d.create_inst instead #158
  • Updated the Pdk to pydantic 2.0 PR
  • renamed waveguide -> straight PR

Fixed

  • Fixed incompatibility of Pdk and technology with mypy #108
  • Fixed keep_mirror flag #143
  • Fixed (ix)90° bends second port off-grid #153
  • Fixed circular and euler bends having complex ports in the x*90° cases #159

Changes

v0.7.5 - 01 Jun 2023

v0.7.5 - 2023-06-01

Added

  • Added mirror_x/mirror_y to Instance, xmin/xmax/ymin/ymax getter & setter to Instance, xmin/xmax/ymin/ymax getter to KCell, polygon_from_array, dpolygon_from_arry #92
  • Document settings/config better #138
  • Added docs for people familiar with gdsfactory #140

Fixed

  • Fixed missing changelog in docs #136
  • Fixed add_port ignore keep_mirror flag #143
  • Fixed changelog and changelog.d links

Changes

v0.7.4 - 29 May 2023

0.7.4 - 2023-05-29

Added

  • add tbump and towncrier for changelog and bumping #129

Fixed

  • enable non manhattan bend ports, and document how to get rid of gaps #131

Changes

0.6.0 (v0.6.0) - 18 Apr 2023

kcell.py

  • KCell and Instance don´t inherit from kdb.Cell / kdb.Instance anymore. They should still transparently proxy to them
  • Ports automatically convert um <-> dbu
    • no more DPort/DCplxPort/ICplxPort

Changes

  • KCell and CplxKCell are now properly copying their instances when copied using dup KLayout/klayout#1300

Changes

  • CplxKCell:

    • Use DCplxPort by default. These ports can have arbitrary angle and are micrometer based Any other port will be silently converted to DCplxPort
  • library -> klib: Rename kf.library -> kf.klib, kf.KCell.library -> kf.KCell.klib, kf.kcell.library -> kf.KCell.klib in order to not confuse with the KLayout library and shadow it.

    Put deprecation warning and remove in 0.5.0

  • autocell

    • move cache from cachetools.Cache[int,Any] to a dictionary {}
    • deprecate cache maxsize for 0.5.0: this is not necessary as a dictionary has infinite size and cache eviction is unwanted

Changes