2.0.0 Beta 0
Pre-releaseJimple is now about ~10 years old! So it's time to have a 2.0 version =)
In this version, I worked on many improvements to the project:
New website!
I've worked a bit to implement a nice website documenting Jimple completely! You can see that on https://fjorgemota.github.io/jimple
It also has some nice interactive examples you may want to test ;)
TypeScript support
It now has full TypeScript support, meaning you can pass an interface specifying what services/parameters you'll use to the container and have full auto-complete AND type validation directly on your text editor.
You can see that working directly on the website: https://fjorgemota.github.io/jimple/#typescript
ES6 Proxy support
We're in 2025 now, and both browsers as well as Node.js improved a LOT! So, I've decided to implement support for ES6 Proxies, meaning you can get rid of the .get() and .set() (well, except for TypeScript, unfortunately..) calls and use properties directly in the code!
Check how that works directly on the website: https://fjorgemota.github.io/jimple/#proxy-mode
Unfortunately, this means we don't support veeeery old browsers, which is about ~3.89% of the market according to Can I Use: https://caniuse.com/proxy
New dist files
Jimple is now built using microbundle, the same tool that builds Preact! This means that instead of building a single UMD file, we build a UMD file, a Modern file (for modern browsers!), an ES6 Module file, and also a CommonJS file. You don't need to do anything to import any of these files, as it should be picked automatically by your bundler while you use it. :)
New tests
The code now uses vitest to test everything, instead of mocha/chai/karma. The test setup should be much simpler for developing Jimple. :)
Help us test it!
This is a beta release so we can make sure everything works well, especially the new TypeScript types. Please report any issues so we can release the next version soon. ;)
You can install it by using: npm install --save jimple@2.0.0-beta.0
Thanks!