Faker.js: Upcoming Release `5.0.0` Pending

Created on 25 Sep 2018  路  22Comments  路  Source: Marak/faker.js

Hello all. New v5.0.0 of faker.js will be released soon.

Below is an approximate list of resolved issues and pull requests which have landed in master since our last major release

If anyone has any objections / concerns / questions please respond soon so we can address these issues before release. We anticipate not having any major API changes or major breaking issues.


New API Methods

Added faker.date.soon https://github.com/Marak/faker.js/pull/487

Added aba routing number https://github.com/Marak/faker.js/pull/423

Added method faker.random.float https://github.com/Marak/faker.js/pull/530

Added addess.nearbyGPSCoordinate method https://github.com/Marak/faker.js/pull/378

Added commerce.creditCardNumber https://github.com/Marak/faker.js/pull/382

Added git faker module https://github.com/Marak/faker.js/pull/662

Locality Updates

Added South African za Locale https://github.com/Marak/faker.js/pull/517

Added nl_BE locale https://github.com/Marak/faker.js/pull/529/

Added fa locality https://github.com/Marak/faker.js/pull/391

Added ro locality https://github.com/Marak/faker.js/pull/327

Added ar locality ( partial ) https://github.com/Marak/faker.js/pull/505

Added pt_PT locality https://github.com/Marak/faker.js/pull/714

Updated to 500 US Census names for en locality https://github.com/Marak/faker.js/pull/360

Added a few female names ( sv locale ) https://github.com/Marak/faker.js/pull/397

Wrong cell phone format for pl locale https://github.com/Marak/faker.js/pull/655

Added address.zipCodeByState method https://github.com/Marak/faker.js/pull/600

Added ru locale hacker directory https://github.com/Marak/faker.js/pull/476

API Changes

random.alphaNumeric now accepts count as a argument https://github.com/Marak/faker.js/pull/363

API Fixes

internet.userAgent missing random seed https://github.com/Marak/faker.js/issues/521

commerce.price can no longer default to 0 https://github.com/Marak/faker.js/pull/446

Generation of float numbers https://github.com/Marak/faker.js/issues/401 https://github.com/Marak/faker.js/issues/478

Added an explict faker.setLocale method to resolve ES6 import issue https://github.com/Marak/faker.js/pull/488

this missing in password generator https://github.com/Marak/faker.js/pull/386

Distribution

Update bundled jquery for demo https://github.com/Marak/faker.js/issues/489

Most helpful comment

Also waiting for this release for quite a while. Can we get an RC or at least a branch to point at?

All 22 comments

Please, for everyone and anyone watching faker.js issues, please try to take some time to review the latest updates in master branch ( stated above ) to see if anything is not working as you might expect.

This is also a good time to speak up and let us know if there is an unresolved issue or un-merged Pull Request you'd like to see resolved.

How to install it via npm beta package?
I have to generate normal male/female user with 4 separate fields:
first, last and middle name and a label = first+last+middlename
https://github.com/Marak/faker.js/pull/713

We use faker.js to generate users in locale ru
This generates invalid user with fistName in en and lastName in ru locale
This user cannot be used further due to validation checks
This brokes test set so we have to use 4.1.0 version

Just to let you know we tested Faker using the master branch on all our repos and it works great :+1:

Or maybe just a pre-release on GitHub like 5.0.0-rc1 which will be pushed to NPM too.

Thank you for testing @j0k3r

A release candidate is a good idea. I'll see what I can do. We are starting to get close to the new version being ready.

Hi, I've added test for my first comment
for wrong locale internet.userName https://github.com/Marak/faker.js/pull/715
and fixed https://github.com/Marak/faker.js/pull/713

faker.random.arrayElements was also added from pull #366 over a year ago.

I believe faker.unique is also in there as well.

Hi,

Any idea when will version 5 be released? I am using faker.js in a Adobe XD Plugin i'm making and I could use the additional features and data.

Same for random.hexaDecimal added on Jun 2017. Any progress for a (pre-)release?

Thanks

Would love a pre-release for the new address.nearbyGPSCoordinate. Any updates?

Also waiting for this release for quite a while. Can we get an RC or at least a branch to point at?

same for address.zipCodeByState.

Please release!

_plz_

Can I put a dollar in a box somewhere?

Is this still happening? 6 months is a long time

Where did the author go?
It's been a while. I'm waiting on the faker.number.float() and all the other great stuff.
Would be great if we could get a RC.

I'd really like to be putting more hours in but it's a lot of work with no pay.

I'm hoping I can put in more hours this month and get a release out.

If we can get few more sponsors on https://opencollective.com/fakerjs I can devote more time to the project.

Just became a backer and I encourage everyone to do so. It's a like a cup of coffee per month for a great library. Come on you guys and gals

@Marak do let us know if we can help in making this release possible.
Considering there has been no objection in this issue - as there any blockers for an RC release ?

If not, can we help (in terms of developing effort or so) in any way for a release to be put into npm ?

For anyone waiting on this, you can also add the github master branch as your dependency:

package.json

    "faker": "Marak/faker.js",

I hit the https://github.com/Marak/faker.js/issues/639 issue after trying to use it based on the documentation.

Following @pbassut's lead I am also now a backer. Totally worth it, I use faker.js loads in my tests.

@Marak, time is also a finite resource in my world, but do reach out with things I can do to help move the next release along.

@jonrimmer I've deleted your comment and removed your ability to contribute to the project.

I am not responsible for managing your contribution expectations or the conditions to which you may or may not contribute.

Was this page helpful?
0 / 5 - 0 ratings