Giter Site home page Giter Site logo

v2 Release Prep about phpdotenv HOT 21 CLOSED

vlucas avatar vlucas commented on May 2, 2024
v2 Release Prep

from phpdotenv.

Comments (21)

vlucas avatar vlucas commented on May 2, 2024

ping @GrahamCampbell @stanlemon

from phpdotenv.

kelvinj avatar kelvinj commented on May 2, 2024

I would like to change the variable nesting to match the bash-style syntax instead of the current PHP-style syntax.

That's my preference too.

I would also like to remove support for spaced values that are not quoted.

there shouldn't be any features of phpdotenv that will break bash evaluation of the .env file.

That's a sensible goal and a reasonable time to make that change.

You'd also need to prevent spaces around the = sign.

Perhaps we should also require double quotes? Is that going too far?

Not if the goal is bash compatibility.

I'm πŸ‘ on all this.

from phpdotenv.

stanlemon avatar stanlemon commented on May 2, 2024

Sounds great, thanks for your continued work on this project!

from phpdotenv.

sagikazarmark avatar sagikazarmark commented on May 2, 2024

Any schedule when the new version will be released?

from phpdotenv.

vlucas avatar vlucas commented on May 2, 2024

There is no current timeline - I just want to make sure everything is right before the release.

from phpdotenv.

sagikazarmark avatar sagikazarmark commented on May 2, 2024

πŸ‘

from phpdotenv.

vlucas avatar vlucas commented on May 2, 2024

Just updated this today, and am awaiting test results for an initial v2 release.

from phpdotenv.

sagikazarmark avatar sagikazarmark commented on May 2, 2024

I am already using v2 with success.

from phpdotenv.

vlucas avatar vlucas commented on May 2, 2024

Make sure everything still works with the new stricter rule set on .env files ;)

from phpdotenv.

sagikazarmark avatar sagikazarmark commented on May 2, 2024

Everything is working fine. I am using simple .env loader with ${NESTED} variables.

from phpdotenv.

vlucas avatar vlucas commented on May 2, 2024

Perfect. It also passed all the tests, so I guess we're ready for an initial release!

from phpdotenv.

kelvinj avatar kelvinj commented on May 2, 2024

Yay!

I've been running on the latest v2 and all good for me.

from phpdotenv.

kelvinj avatar kelvinj commented on May 2, 2024

FYI there's not mention in the readme of the dotenv() helper method.

from phpdotenv.

kelvinj avatar kelvinj commented on May 2, 2024

Nor the alternative loaders. πŸ˜ƒ

from phpdotenv.

vlucas avatar vlucas commented on May 2, 2024

Very true. Those should at least be in there with a mention.

from phpdotenv.

kelvinj avatar kelvinj commented on May 2, 2024

It'd be great to get a v2 out the door and then try and get it into Laravel 5, which I think it being released in beta this week.

Purely selfish… I have a project that I'm upgrading to L5 and I want to use v2 with it, or rather, not have to rework it back into v1. :)

from phpdotenv.

GrahamCampbell avatar GrahamCampbell commented on May 2, 2024

It'd be great to get a v2 out the door and then try and get it into Laravel 5

It's too late for 5.0, it'll be going into 5.1. The final 5.0.0 is released tomorrow or the day after if we hit any issues.

from phpdotenv.

kelvinj avatar kelvinj commented on May 2, 2024

@GrahamCampbell Gotcha, cheers.

from phpdotenv.

GrahamCampbell avatar GrahamCampbell commented on May 2, 2024

What's holding the 2.0 release btw? Anything I can help with?

from phpdotenv.

sagikazarmark avatar sagikazarmark commented on May 2, 2024

Does that mean release is coming?

from phpdotenv.

vlucas avatar vlucas commented on May 2, 2024

It means the release is going to be a bit different - see #77 for info. I figured we didn't need 2 tickets for this.

from phpdotenv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.