Comments (12)
Hello,
I have the same issue, adding a "dev-master" dependency in our project is very stressful :)
I saw a version in the file
@version 1.2
So I guess you can tag it "v1.2".
Anyway, thanks for your good work, this library is very helpful !
from forceutf8.
+1
from forceutf8.
+1. Targeting master makes me feel shaky ;). Good lib anyway!
from forceutf8.
+1. And please follow the semantic versioning guidelines which make it a lot easier for fellow developers to depend on your library.
from forceutf8.
+1
from forceutf8.
Thanks for the advice. I will as soon as I can.
from forceutf8.
I created this release: https://github.com/neitanod/forceutf8/releases/tag/v1.4
As well as a branch to make fixes to versions v1.*: https://github.com/neitanod/forceutf8/tree/v1
Soon I will release v2.0 wich adds a dependency (iconv) to deal with some Win1252 special chars that v1 can't handle. For now those improvements are on the master branch.
I'm new to Composer. Can anyone give me a hand on how should the json be adapted to the new release? @jibriss, @obukhov, @MaxGfeller, @el-seirh, anyone? :)
Also, does anybody know how the Packagist entry should be updated?
from forceutf8.
I think you don't need to update anything in the json of the project.
To make your package on Packagist getting updated:
"Existing packages without auto-updating (GitHub/BitBucket hook) will be crawled once a day for updates. " (see https://packagist.org/about)
We as users then only have to change our "require" in the composer.json to:
{
"require": {
"neitanod/forceutf8": "1.*"
}
}
Also make sure that you follow the semantic versioning, as @MaxGfeller pointed out (e.g. "v1.0.0").
I hope that's all. Good luck and thanks again for your work ;)
from forceutf8.
As an alternative I think you can also click "Force update" when you login into Packagist directly.
But the best way would of course be to go here and check the section "GitHub Service Hook". This should explain all the details on how to set up the hook on GitHub.
from forceutf8.
I know that there's no need to change the json of the project, but I would like to update the README that explains how to include it, showing an example of the json of the user.
About Packagist... I'm not the maintainer of that entry, so I don't exactly know what to do. I am trying to contact Nidelson, the maintainer.
from forceutf8.
So yeah, all you have to change in the README is
{
"require": {
"neitanod/forceutf8": "1.*"
}
}
to make people use your major version 1 (since bigger MAJOR versions wouldn't be backwards compatible according to semantic versioning).
from forceutf8.
About packagist: I guess you will just have to wait for the daily update if you are not the owner since for the auto-update hook on GitHub you require the API token from packagist.
from forceutf8.
Related Issues (20)
- Still not resolving some non UTF-8 '\xC3'
- Removing Polish characters HOT 3
- Abandoned Package ?! HOT 9
- Latin-2 support (ISO 8859-2) HOT 2
- Problem with Ù character HOT 4
- utf symbols converted to questionmarks HOT 5
- License file/composer entry HOT 1
- Encoding em/en-dash HOT 3
- is it possible to support unicode format txt file?
- no support for source encoding UTF16 (LE/BE) HOT 1
- Not all words are converted HOT 2
- Consider making this a website HOT 1
- UTF8 encoding issue where curly single apostrophe being converted as? HOT 4
- HTML-ENTITIES not converted HOT 1
- PHP 7.4 deprecations. HOT 1
- PHP future deprecation warning HOT 2
- How do you use this? HOT 2
- Didn't work with some languages for example CZECH HOT 4
- Deprecations in PHP8 HOT 1
- Emojis not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from forceutf8.