Skip to content

Commit 0377bff

Browse files
committed
Preparing for release
1 parent 4917fdb commit 0377bff

5 files changed

Lines changed: 39 additions & 4 deletions

File tree

.editorconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ trim_trailing_whitespace = true
88

99
[*.{ts,mts,cts,js,mjs}]
1010
indent_style = space
11-
indent_size = 4
11+
indent_size = 2
1212

1313
[*.json]
1414
indent_style = space
15-
indent_size = 4
15+
indent_size = 2
1616

1717
[*.md]
1818
trim_trailing_whitespace = false

changelog.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Changelog: @dagrejs/graphlib (v3.0.0+)
2+
3+
Major Improvements & Modernization
4+
Organization Migration: Transitioned package ownership to the @dagrejs scope for long-term community maintenance.
5+
6+
Toolchain Overhaul: * Replaced JSHint with ESLint for modern syntax support and stricter code quality.
7+
8+
Removed legacy build tools including Karma, Browserify, and Bower.
9+
10+
TypeScript Enhancements: * Significant updates to index.d.ts to improve IntelliSense and type safety.
11+
12+
Refined generic type definitions for Graph, Node, and Edge objects.
13+
14+
Fixes & Refactoring
15+
Formatting Standardization: Resolved the conflict between .eslintrc and .editorconfig to enforce a consistent 2-space indentation across the codebase.
16+
17+
Dependency Audit: Cleared high-severity security vulnerabilities by updating core devDependencies via Dependabot.
18+
19+
Project Structure: Cleaned up the root directory by removing deprecated configuration files (bower.json, karma.conf.js).
20+
21+
Breaking Changes
22+
Bower Support Dropped: Official support for Bower has been removed. Users are encouraged to migrate to npm or yarn.
23+
24+
Development Workflow: Developers contributing to the library must now use npm run lint (ESLint) instead of the previous JSHint commands.

lib/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const version = '4.0.0-pre';
1+
export const version = '4.0.0';

package-lock.json

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dagrejs/graphlib",
3-
"version": "4.0.0-pre",
3+
"version": "4.0.0",
44
"description": "A directed and undirected multi-graph library",
55
"author": "Chris Pettitt <cpettitt@gmail.com>",
66
"contributors": [

0 commit comments

Comments
 (0)