Releases: geoman-io/leaflet-geoman
2.19.3
What's Changed
- chore(deps): bump the dev-dependencies group with 2 updates by @dependabot[bot] in #1631
- chore(deps): bump the production-dependencies group with 4 updates by @dependabot[bot] in #1634
- chore(deps): bump the dev-dependencies group with 2 updates by @dependabot[bot] in #1633
- chore(deps): bump qs from 6.14.1 to 6.14.2 by @dependabot[bot] in #1635
- chore(deps): bump the dev-dependencies group with 2 updates by @dependabot[bot] in #1636
- chore(deps): bump systeminformation from 5.30.7 to 5.31.1 by @dependabot[bot] in #1637
- chore(deps): bump rollup from 4.57.1 to 4.59.0 by @dependabot[bot] in #1638
- chore(deps): bump picomatch by @dependabot[bot] in #1641
- chore(deps): bump lodash from 4.17.23 to 4.18.1 by @dependabot[bot] in #1643
- fix(types): add source and custom properties to event handler types by @mvanhorn in #1646
New Contributors
Full Changelog: v2.19.2...v2.19.3
What's Changed
- chore(deps): bump the dev-dependencies group with 2 updates by @dependabot[bot] in #1631
- chore(deps): bump the production-dependencies group with 4 updates by @dependabot[bot] in #1634
- chore(deps): bump the dev-dependencies group with 2 updates by @dependabot[bot] in #1633
- chore(deps): bump qs from 6.14.1 to 6.14.2 by @dependabot[bot] in #1635
- chore(deps): bump the dev-dependencies group with 2 updates by @dependabot[bot] in #1636
- chore(deps): bump systeminformation from 5.30.7 to 5.31.1 by @dependabot[bot] in #1637
- chore(deps): bump rollup from 4.57.1 to 4.59.0 by @dependabot[bot] in #1638
- chore(deps): bump picomatch by @dependabot[bot] in #1641
- chore(deps): bump lodash from 4.17.23 to 4.18.1 by @dependabot[bot] in #1643
- fix(types): add source and custom properties to event handler types by @mvanhorn in #1646
New Contributors
Full Changelog: v2.19.2...v2.19.3
2.19.2
What's Changed
- Update TypeScript definitions to match implementation by @mscno in #1626
- Add touch-friendly marker placement hints by @mscno in #1627
- Allow polygon completion by self-snapping when snappable is false by @mscno in #1628
- test: add E2E coverage for touch hint feature by @mscno in #1630
- Replace ESLint and Prettier with oxlint and oxfmt by @mscno in #1629
Full Changelog: v2.19.1...v2.19.2
2.19.1
What's Changed
- chore(deps): bump lodash from 4.17.21 to 4.17.23 by @dependabot[bot] in #1620
- fix: improved demo html by @mscno in #1613
Full Changelog: v2.19.0...v2.19.1
2.19.0
What's Changed
- Fix for missing border radiuses by @Toutouwai in #1561
- Fixes removing empty text with click on control by @Falke-Design in #1570
- Prevent malformed HTML resulting from SVG file by @JonathanWbn in #1577
- Prevent the creation of an additional Marker when dragging a Marker i… by @tfitzsim in #1569
- After editing a vertex, alt-coordinate should be kept by @Falke-Design in #1578
- unmounting custom controls by @DedaDev in #1575
- Fix vertex dragging with markerlimit by @Falke-Design in #1579
- Fix Typescript (pathOptions and optional options) and update pro version types by @Falke-Design in #1580
- Fix Measurement in type definition by @Falke-Design in #1581
- Feat/upgrade deps by @mscno in #1599
- Fix event listener for hint marker display by @Schlepptop in #1604
- bump turf to 7x by @mscno in #1600
- chore: bump dependencies by @mscno in #1605
- chore: bump deps, add unit testing with Vitest, fix setLang for ISO 639-3 by @mscno in #1606
- chore(ci): bump actions/cache from 4 to 5 by @dependabot[bot] in #1607
- chore(ci): bump actions/checkout from 4 to 6 by @dependabot[bot] in #1608
- chore(ci): bump actions/setup-node from 4 to 6 by @dependabot[bot] in #1610
- chore(ci): bump softprops/action-gh-release from 1 to 2 by @dependabot[bot] in #1609
- feat: add exitModeOnEscape option to exit active modes via Escape key by @mscno in #1612
New Contributors
- @Toutouwai made their first contribution in #1561
- @JonathanWbn made their first contribution in #1577
- @tfitzsim made their first contribution in #1569
- @DedaDev made their first contribution in #1575
- @Schlepptop made their first contribution in #1604
Full Changelog: v2.18.3...v2.19.0
2.18.3
2.18.2
Improve CI release scripts
Full Changelog: v2.18.1...v2.18.2
2.18.1
What's Changed
- Fix: Circle outer-marker snapping didn't change radius by @Falke-Design in #1549
Full Changelog: v2.18.0...v2.18.1
2.18.0
What's Changed
- fixes setLang to handle navigator.language formats (such as "fr-FR") by @mscno in #1499
- Fix missing type definition by @m208 in #1514
- Fix for resizeableCircle #1516 by @DoiMayank in #1518
- Fix bug in snapping when polyline has only one coordinate by @Falke-Design in #1526
- Upgrade Codebase by @Falke-Design in #1533
- Fix moving center marker of circle when snapping is disabled by @Falke-Design in #1532
- fix: Make sure text layer's text is center by @zzxming in #1509
- Allow removal of holes in polygons while maintaining the minimum vertex count of the geometry by @Tobikblom in #1475
- Cleanup temp layers after editing / removing by @Falke-Design in #1534
- Show HintMarker at the last position if continueDrawing is enabled by @Falke-Design in #1536
- Only check self-intersection when allowSelfIntersection is false by @Falke-Design in #1537
- Fixes: While drawing the crosshair cursor is always actvie by @Falke-Design in #1538
- Add new option to disable vertex snapping by @Falke-Design in #1539
- Fix Text test by @Falke-Design in #1540
New Contributors
- @m208 made their first contribution in #1514
- @DoiMayank made their first contribution in #1518
- @zzxming made their first contribution in #1509
- @Tobikblom made their first contribution in #1475
Full Changelog: v2.17.0...v2.18.0
2.17.0
What's Changed
- Updates esbuild to 8.56, prettier to 3.2.4 and fixes lint config (1444) and swap to esbuild by @mscno in #1445
- Add translation of "rotateButton" in languages that lack translation of "rotateButton" by @xiyuvi in #1442
- Add Kyrgyz language support by @Falke-Design in #1448
- After disabling & enabling of button, don't call disable on the draw layer. by @Falke-Design in #1424
- fix global keyboard and window listeners are not removed after the map is destroyed by @plainheart in #1434
- Improve esbuild bundle script to watch css changes and output sourcemaps by @mscno in #1451
- Snap by priority to all shapes in a radius of 5px instead of to the nearest by @Falke-Design in #1454
- Minor: Force rotateEnabled() to always return a boolean. by @strfx in #1455
- Additional Custom Control Methods by @TurtIeSocks in #1295
- Prevent drawing of rectangle where all corners have the same position by @Falke-Design in #1470
- Update translations pt_br and add translations pt_pt by @leoneljdias in #1466
- Add fallback to english for translations by @Falke-Design in #1461
- Prevent opening popup on ignored layers while drawing by @Falke-Design in #1471
- Add sourcemaps to dist (#1480) by @mscno in #1483
- Remove CSS :focus of marker-icon style to fix jumping while zooming by @Falke-Design in #1488
- Backport Pro changes into OSS by @Falke-Design in #1490
New Contributors
- @xiyuvi made their first contribution in #1442
- @plainheart made their first contribution in #1434
- @leoneljdias made their first contribution in #1466
Full Changelog: 2.15.0...v2.17.0
2.16.0
!! Breaking Changes !!
This is only relevant for projects using very old versions of babel/webpack loaders
This version introduces new build tools in the library build toolchain. More specifically we have swapped webpack for eslint. This has improved our build speeds and made the build pipeline simpler and easier to maintain going forward.
However the move to esbuild has also caused the library build assets (minified js files) to be compiled using a more modern version of ECMAScript. The current build files now use the optional chaining ?. syntax and this can cause issues with projects using older versions of webpack/babel or similar loaders.
If you face issues with upgrading to version v2.16.0 we suggest that you upgrade your own loaders and build toolchain to a version compatible with modern ECMAScript syntax.
Minor Changes
- Add Kyrgyz translation: #1448
Patches
- Update translation for rotation button title: #1442
- Fix handling of drawing modes after disabling a control button: #1424
- Unbind global listeners after the map is removed: #1434
- Sort snapping layers by priority in a radius of 5px: #1454
- Force rotateEnabled() to always return a boolean: #1455
Chores
- Updates esbuild to 8.56, prettier to 3.2.4 and fixes lint config (1444) and swap to esbuild by @mscno in #1445
Credits
Huge thanks to @Falke-Design, @xiyuvi, @strfx and @plainheart for helping!
New Contributors
- @mscno made their first contribution in #1445
- @xiyuvi made their first contribution in #1442
- @plainheart made their first contribution in #1434
Full Changelog: 2.15.0...2.16.0