Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stable Release 2.0 #454

Closed
timpur opened this issue Dec 20, 2017 · 14 comments
Closed

Stable Release 2.0 #454

timpur opened this issue Dec 20, 2017 · 14 comments

Comments

@timpur
Copy link
Contributor

timpur commented Dec 20, 2017

How do we feel about current Dev being released as stable, in the near future?

Anyone have bugs but havent reported it ?

@timpur timpur added this to the v2.1.0 milestone Dec 20, 2017
@timpur timpur changed the title Stable Release 2.0 Stable Release 2.1 Dec 20, 2017
@timpur timpur added the release label Dec 20, 2017
@homieiot homieiot deleted a comment from tripflex Dec 22, 2017
@timpur timpur modified the milestones: v2.1.0, v2.2 Dec 22, 2017
@timpur timpur changed the title Stable Release 2.1 Stable Release 2.0 Jan 2, 2018
@timpur timpur modified the milestones: v2.1.0, v2.0.0 Jan 2, 2018
@timpur
Copy link
Contributor Author

timpur commented Mar 12, 2018

Who wants to help write up some release notes?

Im ready for this to happen.

@marvinroger @tripflex @euphi and anyone else?

@euphi
Copy link
Member

euphi commented Mar 12, 2018

The documentation is in a very good state so there is no need for long release notes.

So I would just write that the beta has been proven as stable and there is more exciting stuff to come with releases 2.1 and 3.0.

The most important new features have already been summarized in the release notes for beta.1, so they can be used as base for the release notes.

What do you think about some small "press release", so Homie-ESP8266 may get some advertisement? Such a release could be send to some maker magezine / technical news portals!?

@bodiroga
Copy link
Collaborator

Hi @timpur!

Great to see that you are going to release Homie-ESP8266 2.0 as a stable version!

One question though, is this (#485) problem fixed in the 2.0 branch? I know that you have fixed it in your 2.1 branch, but is there any option to backport it to the 2.0 branch?

For new and inexperienced users using the web ui to configure the device is a much more pleasant experiencience and we should offer it as an option. Every documentation page talks about this method and was the prefered one, so please, keep it in the 2.0 stable version 🙏

Thanks you so much for your work!

@timpur
Copy link
Contributor Author

timpur commented Mar 12, 2018

I think you have a good point there actually, I think I will merge the bug fixes (that make sense) back to 2.0

@timpur
Copy link
Contributor Author

timpur commented Mar 12, 2018

I shall do these things over the week and, we should be ready this weekend.

@bodiroga
Copy link
Collaborator

Awesome! Thanks for taking my comment into account 👍

I will help debugging before the final release, keep up with the good job!

@timpur
Copy link
Contributor Author

timpur commented Mar 18, 2018

merged some issues #501 back to 2.0 from 2.1

@bodiroga can you check the CORS issue #446
@Gulaschcowboy can you test #477

Thanks guys.

@bodiroga
Copy link
Collaborator

Hi @timpur!

I have deleted the previously installed homie-esp-2.1 library, downloaded the "develop" branch as a .zip file, imported it to my Arduino IDE, reflashed the NodeMCU and... it works! The configuration page make its job, so I can confirm that the CORS issue is resolved 👍

Thank you so much for the effort!

@timpur
Copy link
Contributor Author

timpur commented Mar 19, 2018

Thank you for testing :)

@bodiroga
Copy link
Collaborator

Good morning again @timpur!

This is not very important, but I'm not sure if you could clean the different warning messages that appear in the compilation stage before the final version. It is just an aesthetic thing, nothing serious 😉

Here you have what I get when compiling a Homie sketch:

/home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie.cpp: In constructor 'HomieInternals::HomieClass::HomieClass()':
/home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie.cpp:13:30: warning: 'BUILTIN_LED' is deprecated (declared at /home/aitor/.arduino15/packages/esp8266/hardware/esp8266/2.4.1/variants/nodemcu/../generic/common.h:78) [-Wdeprecated-declarations]
Interface::get().led.pin = BUILTIN_LED;
^
/home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Logger.cpp: In member function 'virtual size_t HomieInternals::Logger::write(uint8_t)':
/home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Logger.cpp:20:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Logger.cpp: In member function 'virtual size_t HomieInternals::Logger::write(const uint8_t*, size_t)':
/home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Logger.cpp:24:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Timer.cpp: In member function 'uint32_t HomieInternals::Timer::getInterval()':
/home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Timer.cpp:20:12: warning: statement has no effect [-Wunused-value]
_interval;
^
/home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Timer.cpp:21:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Boot/BootConfig.cpp: In member function 'void HomieInternals::BootConfig::_proxyHttpRequest(AsyncWebServerRequest*)':
/home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Boot/BootConfig.cpp:285:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < request->headers(); i++) {
^
/home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Boot/BootConfig.cpp: In member function 'void HomieInternals::BootConfig::_onDeviceInfoRequest(AsyncWebServerRequest*)':
/home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Boot/BootConfig.cpp:339:32: warning: comparison with string literal results in unspecified behaviour [-Waddress]
if (iSetting->getType() != "unknown") {
^
/home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Boot/BootConfig.cpp: In static member function 'static void HomieInternals::BootConfig::__parsePost(AsyncWebServerRequest*, uint8_t*, size_t, size_t, size_t)':
/home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Boot/BootConfig.cpp:425:41: warning: pointer of type 'void ' used in arithmetic [-Wpointer-arith]
void
buff = request->_tempObject + index;
^
/home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Boot/BootConfig.cpp:428:43: warning: pointer of type 'void ' used in arithmetic [-Wpointer-arith]
void
buff = request->_tempObject + total;
^
/home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Boot/BootConfig.cpp: At global scope:
/home/aitor/Arduino/libraries/homie-esp8266-develop/src/Homie/Boot/BootConfig.cpp:433:21: warning: 'const String ConfigJSONError(String)' defined but not used [-Wunused-function]
static const String ConfigJSONError(const String error) {

Low priority feature request, take your time! Thank you!

@timpur
Copy link
Contributor Author

timpur commented Mar 19, 2018

@bodiroga can you test my dev branch for warnings ?
https://github.com/timpur/homie-esp8266/tree/develop

@bodiroga
Copy link
Collaborator

Perfect @timpur, no more warning messages! You are really fast!

@timpur
Copy link
Contributor Author

timpur commented Mar 19, 2018

Again thanks for testing.

@stritti
Copy link
Collaborator

stritti commented May 7, 2019

@bodiroga could we close this issue?

@timpur timpur closed this as completed May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants