Comments (6)
Possible fixes:
- Create code that replicates the 1.x API to the 2.0 version.
This way we can show a deprecation errors in the website (if someone monitors them) and gracefully remove the 1.x API at some later point - We can create a new repository for 2.x
This would be better, as we could have a link from the current Gtihub page to the 2.0 version repository (like UglifyJS project), and let the users upgrade at some point if they feel the need to do so. This would also make sure the old websites never break.
from ga-lite.
i would have assumed most people are using cdnjs https://cdnjs.com/libraries/ga-lite. so breaking APIs should only effect them when they explicitly upgrade
from ga-lite.
but using latest on jsDelivr people should expect the occasional api breaks and handle those. ie this is not your problem
from ga-lite.
I believe you are safe in this case. Because your current /latest/ problem applies to our old URL format that is not getting updated anymore.
The new version you are going to release will be available only on the new /npm/ endpoint. e.g. https://cdn.jsdelivr.net/npm/[email protected]/dist/ga-lite.min.js
So the damage should be non-existent or very limited.
from ga-lite.
but using latest on jsDelivr people should expect the occasional api breaks and handle those. ie this is not your problem
That depends - the latest
link was previously in the README as the recommended way and most people are just going to copy the link you put in the docs, so it is partially a responsibility of projects authors too.
However, as @jimaek correctly pointed out, the old link won't get new versions anymore, which solves your problem in this case.
from ga-lite.
Alright, thank you for your updates. Closing this issue, as the old URL will not be affected.
from ga-lite.
Related Issues (20)
- Support for the new Google Analytics 4 tag HOT 9
- Use keepalive flag with fetch
- Capture ga() function calls and re-route them through galite() HOT 5
- Add note to README about using preconnect/preload to improve google page speed HOT 7
- ESM version for modern browsers HOT 10
- Universal Analytics (GA3) and GA4 same time HOT 2
- Illegal Invocation error due to lack of navigator.sendBeacon binding HOT 1
- Self Referral Traffic
- NPM bundle not including commands directory HOT 1
- Customizable endpoint URL and User Language HOT 2
- Instructions on using esm version to readme HOT 4
- SyntaxError Unexpected token = HOT 2
- Yarn run build not working HOT 4
- XMLHttpRequest on main thread is deprecated HOT 2
- Are Conversion Tags Possible & Phone Number Tags HOT 4
- Disableing of ga-lite through cookie HOT 4
- SSR issue introduced HOT 5
- It should be mentioned that ga-lite doesn't use cookies HOT 3
- Stop working on Chrome 85+ for somehow HOT 6
- Test coverage for SSR / node.js compatibility 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 ga-lite.