classnames
A simple utility for conditionally joining classNames together
2.5.1
127M downloads/mo
#1549 most downloaded on npm
JedWatson/classnames
What this package is like to depend on
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 2.8 years
This project publishes no release notes
the list below is its commits, not an announcement
Nothing withdrawn
no release was ever pulled
12 years old
30 releases · first in 2014
0 releases in the last 12 months
see the full history below
Release timeline
30 releases · Nov 2014 to Dec 2023Releases
latest 30-
2.5.129 Dec 2023Commits, not release notes
This project publishes no release notes. Between
v2.5.0andv2.5.1there were 4 commits, 4 of them substantive:- Add GitHub provenance for publishing (#345)
- Bump to the latest version (#347)
- Remove benchmarks from workspace (#350)
- Prepare for release of version 2.5.1 (#351)
-
2.5.028 Dec 2023Commits, not release notes
This project publishes no release notes. Between
v2.4.0andv2.5.0there were 6 commits, 5 of them substantive:- Bump
classnamesto the latest version (#340) - Restore ability to pass TypeScript
interface(#341) - Add
exportsfield to package (#342) - Fix URL for GIT repository in package (#343)
- Prepare for release of version 2.5.0 (#344)
- Bump
-
2.4.026 Dec 2023Commits, not release notes
This project publishes no release notes. Between
v2.3.3andv2.4.0there were 14 commits, 14 of them substantive:- Refactor workflows with various enhancements (#325)
- Replace Mocha with Node.js' built-in test runner (#326)
- Convert tests to use modern JavaScript (#327)
- Remove
bower.jsonfrom.npmignore(#328) - Replace
dtslintwithtsd(#330) - Move benchmarks into dedicated NPM workspace (#329)
- Add Dependabot configuration for NPM dependencies (#331)
- Replace Browserify with Rollup (#332)
- Use modern JavaScript syntax for benchmarks (#333)
- Replace
benchmarkwithtinybench(#334) - Run benchmarks on CI (#335)
- Bump
classnamesto the latest version (#337) - Use string concatenation to increase performance (#336)
- Prepare for release of version 2.4.0 (#338)
-
2.3.325 Dec 2023Commits, not release notes
This project publishes no release notes. Between
v2.3.2andv2.3.3there were 14 commits, 13 of them substantive:- remove unused variable (#286)
- Fix CI not running for main (#287)
- add additional types tests (#284)
- Update README examples to use functional components (#303)
- Update README with new shields.io badges (#304)
- Fix shields.io badges links in README
- Fix LICENSE badge
- Delete bower.json (#306)
- add utm_campaign
- Support default export and UMD (#301)
- (Typescript) Allow
ReadonlyArrays as valid classNames parameters (#307) - Replace jargon in README.md (#322)
- Prepare for release of version 2.3.3 (#308)
-
2.3.213 Sep 2022Commits, not release notes
This project publishes no release notes. Between
v2.3.1andv2.3.2there were 37 commits, 27 of them substantive:- add nodejs test workflow
- Remove Travis CI
- stable, lts are not supported
- use setup-node@v2
- add fail-fast for version debugging
- remove Travis badge
- add GitHub actions badge
- Updating changelog for 2.3.1
- Fix misconfigured 'fail-fast' option
- Add Node version 16 to test matrix
- TypeScript <3.7 support by self-reference type rewrite
- ArgumentArray should also be in generic type
- ArgumentArray in Argument Type should not have an array symbol
- Bugfix - Class names being returned as [object Object]
- Revert "Bugfix - Class names being returned as [object Object]"
- Add TypeScript tests using dtslint
- move dts tests to tests/
- Add description to the function TS definition (#261)
- Fix TypeScript types (#276)
- Fix toString as '[Object object]' in a vm (#281)
…and 7 more.
-
2.3.102 Apr 2021Commits, not release notes
This project publishes no release notes. Between
v2.3.0andv2.3.1there were 9 commits, 6 of them substantive:- Remove named exports from type definitions
- Fix value types
- Bump browserify devDependency
- Export default for dedupe
- Fix bind types
- Bump browserify devDependency (cont)
-
2.3.001 Apr 2021Commits, not release notes
This project publishes no release notes. Between
v2.2.6andv2.3.0there were 58 commits, 33 of them substantive:- Add TypeScript declaration.
- Update TypeScript definitions to match DefinitelyTyped, and include bind.d.ts
- Switch to default export
- Bump copyright year to 2018
- Added support for
toString()method in objects - remove npm install from travis file
- Added more nodejs versions to the build
- added
toString()handling to dedupe version - potential perf improve
- remove deprecated Node versions
- fix case for inherited toString()
- add typescript contributor copyright notice
- exported concealed types in TypeScript declaration file
- Substitute deprecated React.createClass
- Upgrade outdated dependencies, add package-lock files
- Remove --save option as it isn't required anymore
- No need to create an interface, just export a function type;
- Default and named exports, directly - no need to declare local var and then export them;
- Stacked install variants into single
bashblock. - Added few more badges to pose a bit =)
…and 13 more.
-
2.2.608 Jun 2018Commits, not release notes
This project publishes no release notes. Between
v2.2.5andv2.2.6there were 31 commits, 19 of them substantive:- travis: drop iojs, add stable node
- Added better install method in readme
- test configs: use standard testing pattern
- Adding "supported by Thinkmill" badge
- Fix link to Thinkmill
- ES Module Export
- Exclude bower.json and docs from npm package
- Add Yarn and package manager links to README
- Fix capitalization and add links for platforms
- Fix capitalization of JavaScript
- Clarify description of object-argument behavior
- Add missing backticks around className
- Remove unnecessary quotes around object key
- Bump copyright year to 2017
- Added benchmarks for browsers
- expanded test to explicitly state assumptions about handling of all types of truthy and falsy property values
- Fix issue with arrays
- avoid extra isArray calls
- Adding es module fix to bind and dedupe
-
2.2.502 May 2016Commits, not release notes
This project publishes no release notes. Between
v2.2.4andv2.2.5there were 4 commits, 2 of them substantive:- improve dedupe perf
- Updating changelog
-
2.2.425 Apr 2016Nothing published for this version
-
2.2.305 Jan 2016Nothing published for this version
-
2.2.204 Jan 2016Nothing published for this version
-
2.2.126 Nov 2015Nothing published for this version
-
2.2.018 Oct 2015Nothing published for this version
-
2.1.530 Sep 2015Nothing published for this version
-
2.1.430 Sep 2015Nothing published for this version
-
2.1.302 Jul 2015Nothing published for this version
-
2.1.228 May 2015Nothing published for this version
-
2.1.106 May 2015Nothing published for this version
-
2.1.005 May 2015Nothing published for this version
-
2.0.003 May 2015Nothing published for this version
-
1.2.228 Apr 2015Nothing published for this version
-
1.2.122 Apr 2015Nothing published for this version
-
1.2.017 Mar 2015Nothing published for this version
-
1.1.417 Feb 2015Nothing published for this version
-
1.1.315 Feb 2015Nothing published for this version
-
1.1.214 Feb 2015Nothing published for this version
-
1.1.108 Feb 2015Nothing published for this version
-
1.1.002 Feb 2015Nothing published for this version
-
1.0.005 Nov 2014Nothing published for this version