- Last updated: 2024-11-10T17:11:51Z
- Generator: thi.ng/monopub
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
Note: Unlisted patch versions only involve non-code or otherwise excluded changes and/or version bumps of transitive dependencies.
1.1.59 (2024-02-22)
- update object destructuring in all pkgs & examples (f36aeb0)
1.1.0 (2023-03-22)
- add save/restore commands (317f8e0)
- add/update command types
- add SAVE/RESTORE to store/restore pen levels
- update AxiDraw.draw() to restore state after one-off pen config
- update DipOpts & dip() (52d8924)
- rename
down
=>downDelay
,up
=>upDelay
- add
down
/up
level opts - update dip() impl to store/restore pen state if using custom up/down levels for dipping
- rename
- add palette command seq gens (0e453c1)
- add linearPalette() & radialPalette() and config options
- update pkg export maps
- add global clipping bounds option (a99a58e)
- add AxiDrawOpts.clip
- add support for paper sizes, home offset (c44510f)
- update AxiDrawOpts.bounds to accept paper sizes (@thi.ng/units quantities)
- add AxiDrawOpts.home
- update AxiDraw ctor & move/sendMove methods
- add AxiDraw.setHome()
- update pkg deps
- remove obsolete clamping (50978ba)
- update linearPalette()
- update bounds handling/clamping (7850ed6)
- precalc scale factor & bounds in ctor
1.0.0 (2023-03-19)
- add/update command presets (610f873)
- BREAKING CHANGE: update DrawCommands and cmd presets
- update MoveXYCommand to use
"M"
- add MoveRelCommand (using
"m"
) - add/update AxiDraw.moveTo()/moveRelative()
- migrate command presets to commands.ts
- refactor parametric command type presets as functions:
- PEN(), UP(), DOWN(), MOVE(), MOVE_REL(), WAIT(), COMMENT()
- add DIP() command sequence gen
- update MoveXYCommand to use
- add command fns, add COMMENT cmd (0d64b55)
- add MOVE(), WAIT(), COMMENT()
- add CommentCommand
- update AxiDraw.draw() to log comments
- add disconnect() (af93177)
- add disconnect() for ISerial & AxiDraw
- update MockSerial impl
- update commands, docs & pkg exports (1324cb8)
- update dip(), update imports. restructure /src (b108760)
- add DipOpts, extend dip() functionality
- move dip() to own file dip.ts
- move complete() to commands.ts
- move registrationMark() to own file registration.ts
- update all imports
- update pkg exports map
0.5.0 (2023-02-05)
- add speedUp config, rename speed => speedDown (197d610)
- add @thi.ng/date dependency (bd35a9e) required by axidraw.ts
0.4.0 (2023-01-10)
- also send "reset" cmd in .reset() (30fe365)
0.3.0 (2022-12-29)
- add draw metrics (0ff015c)
- add Metrics interface
- update AxiDraw.draw() to record metrics
- update .moveTo() to return delay & distance
- add serial port abstraction & impls (c774da1)
- add SerialConnection adapter
- add
SERIAL_PORT
default impl (actual serial port) - add
MOCK_SERIAL
& MockSerial impl for testing - update AxiDrawOpts & AxiDraw to use adapter only
- add registrationMark() util, fix imports (e05e99d)
- add Metrics.penCommands, fix nested metrics handling (a7149cd)
- add counter for pen up/down commands
- add start/stop cmd metrics to current tally
- update "no-browser" pkg handling (0e84f1b)
0.2.0 (2022-12-10)
- major updates/additions (eb41c28)
- extract polyline() as standalone fn
- add complete() syntax sugar
- update UP/DOWN commands to accept opt. pen level/position
- add RESET command
- extract various draw commands into separate methods, simplify draw()
- update draw() w/ FSM to pause/resume/cancel processing
- add AxiDrawState FSM enum
- add AxiDrawControl class, use as default controller
- update AxiDrawOpts w/ new options
- update connect() to throw error if unsuccessful
- add SIGINT signal handler to handle Ctrl+C
- update .draw() to auto-wrap command seq (60aaad2)
- add PolylineOpts, update polyline() (c8a271f)
- fix polyline(), only apply custom speed for drawing (c43b6f5)
- update draw calls to disable cmd wrapping (4cd5e53)
- fix waiting for start/stop/home commands (42bf4eb)
- remove obsolete UP command (and delay) in polyline() (f71c64b)