Skip to content

Inventatory v0.1.6

Choose a tag to compare

@github-actions github-actions released this 16 Oct 11:53
· 391 commits to main since this release

Highlights

  • TME is a second supplier. Add a part from TME, refresh TME details on stock, and look up shortage lines on TME. Set up TME in Settings.
  • EasyEDA BOM import. Import an EasyEDA export in Projects, then press c to confirm each stock match.
  • Labels print the same text whichever supplier sent the part.
  • Before you upgrade: the first time this version opens a database, it upgrades the database. Earlier versions cannot open the upgraded file.

Added

  • Stock: a part added by hand can take its details from DigiKey or TME. Enter the part number in SKU, then choose
    Vendor in the form. The vendors that answer are shown side by side, and the part keeps the vendor you choose.
  • Projects: EasyEDA BOM exports can be imported. Name, Value, Comment, Designator, Footprint and Quantity are read.
    Supplier Part and Manufacturer Part are used to find stock when the export includes them.
  • Projects: press c to confirm the stock part shown for a line. A line that waits for confirmation is shown as Check.
  • Settings: a TME category takes the TME token and application secret, and the storefront country, language and currency.
    Test checks the credentials. Refresh inventory data adds TME details to stock items that have a TME symbol, or a part
    number that TME lists exactly once.
  • Stock: TME parts show their parameters, package, datasheet, product page, stock and lowest price, as DigiKey parts do.
    Press l for the TME product page of a part.
  • Stock: the item form has a TME part field.
  • History: a filter for TME commits.
  • Projects: a shortage line is also looked up on TME when DigiKey has no part for it or is not configured. A part TME
    cannot order is never suggested.

Changed

  • Scanner: a scan adds or finds a part only from the main code of a DigiKey bag or a TME bag. Any other code is refused
    with a message, and the part is added by hand. DigiKey and TME bags need the Scan R1 firmware that sends their
    identifiers; a scan from older firmware is refused.
  • Refresh: each part is refreshed only from the vendor it came from. A part from DigiKey is not looked up at TME, and
    a part from TME is not looked up at DigiKey.
  • The inventory database is upgraded to format 2 the first time this version opens it. Earlier versions cannot open the
    upgraded file.
  • Linux: the release runs on any x86-64 distribution with glibc 2.34 or newer, not only Ubuntu 24.04. It is tested on Ubuntu 22.04, Debian 12, AlmaLinux 9 and Fedora 44.
  • Linux: the installer checks that the program starts before it installs or updates it, and reports the reason when it does not.
  • Projects: a line is matched to stock without asking only when a stock part carries the line's part number, or when
    exactly one stock part fits its value and package. When several parts fit equally, the line waits for you to choose.
    Earlier versions chose one of them silently.
  • Projects: a moves to the next matching part without saving it. Press c to confirm the part shown.
  • Projects: a confirmation is saved against the stock part as it was when you confirmed it. If that part's details
    change, the line waits for you to confirm again. Projects saved by earlier versions need one confirmation per line.
  • Projects: a suggestion that does not fit its line is marked "check before ordering". The shopping list names the
    supplier of each suggested part, in Suggested part, Supplier and Suggestion check columns.
  • CSV export: the manufacturer part number and the TME part are added as the last two columns.
  • Import: the file picker offers CSV and text exports (.csv, .tsv, .txt).

Fixed

  • Scan: a DigiKey bag creates a part with its DigiKey part number. Earlier versions stored the manufacturer part number
    in its place.
  • Scan: a DigiKey or TME part is looked up only at the vendor it came from, so its details are not overwritten by
    another vendor's record.
  • Scan: a label for a new part prints after DigiKey or TME has supplied its details. Earlier versions printed it at once,
    so the label showed only "Unsorted" and the scanned name. When neither supplier finds the part, no label prints.
  • Labels: a part still named by its supplier's description prints its part number instead. A new part's label shows
    the rack slot it was placed in. A fuse label shows its maximum voltage, maximum current and power, as well as its rating.
  • Labels: a TME resistance prints its ohm sign once. An asymmetric tolerance prints as its two limits (-20/+80%).
    A diode label shows whether it is a Schottky or a standard diode before its surge rating. A transistor label shows
    its polarity or channel, its gain and its power. A microcontroller label shows its core, clock and memory.
    A label caption uses the symbol a part's name gives (VF for a forward voltage), so long names no longer fill a tile.
    An LED's operating voltage is shown as its forward voltage.
  • Labels: an LED's colour is the colour of its light. A label no longer shows the lens colour in its place, and an LED shows
    its colour, forward voltage, intensity and viewing angle, the same from DigiKey and TME.
  • Labels: no caption is cut short. A long caption uses a short form (INTENSITY, Z, DCR), or its tile is left off.
  • Labels: a colour starts with a capital letter, so TME's "green" prints as Green.
  • Labels: a value prints the same way whichever supplier sent it. Volts, amps, watts and ohms use one scale and no
    space before the unit (0.25W from one supplier and 250 mW from another both print 250mW). Capacitance stays in µF,
    so 4700µF is not written as 4.7mF.
  • Labels: a long manufacturer name prints its first word (Panasonic Industry prints Panasonic), not the full name in
    smaller type.
  • Labels: a radial or axial part shows its body diameter (Ø5mm) instead of its lead style, and the same package has the
    same name from every supplier: DO41 and DO-204AL print DO-41, and TSOT26 prints TSOT-23-6.
  • Labels: a package or size too long for its line shows its first word or its footprint (6.6x5.1mm). It is never cut
    off with dots.
  • Labels: a part without a specific label layout shows its figures by what they measure (colour, voltage, current,
    power, frequency, temperature), not in the order its supplier lists them. A tolerance is never printed as a frequency.
  • Labels: a supply range marked DC (± 2.25 to 20V DC) prints without the DC, so it fits its tile. A minimum and a
    maximum print as one range (3.8 to 32V).
  • Labels: a timer or other IC is no longer taken for a crystal because its type mentions an oscillator.
  • Stock: when a DigiKey or TME record is merged, a parameter is overwritten only by the parameter of the same name. A
    mounting type no longer replaces a part's type, and a lens colour no longer replaces an LED's colour.
  • Racks: a sensor, a microcontroller or a part that lists its interfaces is no longer placed by those words in its
    specification list. An LED is an indicator even when TME lists it as a diode type.
  • TME: a record whose resistance, capacitance or inductance disagrees with the stored part is not merged, and the
    refresh reports it. A part number listed by several makers is matched to the part's own maker, and a part number is
    matched without its punctuation, as DigiKey matches it.
  • Projects: a part number matches a whole word of a stock name, so LM358 no longer matches LM3585.
  • Projects: footprints named like EasyEDA's (R0402, C0402_NEW) and IPC names (CAPC1608X90N) match stock of the same package.
  • Projects: finishing a build checks the stock first. If a part changed or has fewer units than the build takes, nothing
    is taken out, and the message names the part. Stock is no longer reduced below zero without a message.
  • Projects: the amounts taken during a build stay with their lines when the list is re-sorted.
  • Projects: a restock never adds units to a part the line has not confirmed.
  • Projects: a BOM without a value column reports a BOM problem, not a DigiKey one.
  • Update wizard: the release notes panel is sized to its text instead of always filling the width of the screen.